Cannot install [Linux mint] - compiler issue

1 reply [Last post]
Qwert
User offline. Last seen 9 years 26 weeks ago. Offline
Joined: 2013-09-12
Posts: 3

Hello,

I want to compile the newest version of hedgewars. But I'm getting the following error messages:

Quote:

user@user-MS-7388:~/Downloads/hedgewars-src-0.9.19.3 > cmake .
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/g++" is not able to compile a simple test
program.

It fails with the following output:

Change Dir: /home/user/Downloads/hedgewars-src-0.9.19.3/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec155029672/fast"

/usr/bin/make -f CMakeFiles/cmTryCompileExec155029672.dir/build.make
CMakeFiles/cmTryCompileExec155029672.dir/build

make[1]: Betrete Verzeichnis
'/home/user/Downloads/hedgewars-src-0.9.19.3/CMakeFiles/CMakeTmp'

/usr/bin/cmake -E cmake_progress_report
/home/user/Downloads/hedgewars-src-0.9.19.3/CMakeFiles/CMakeTmp/CMakeFiles
1

Building CXX object
CMakeFiles/cmTryCompileExec155029672.dir/testCXXCompiler.cxx.o

/usr/bin/g++ flags -o
CMakeFiles/cmTryCompileExec155029672.dir/testCXXCompiler.cxx.o -c
/home/user/Downloads/hedgewars-src-0.9.19.3/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

g++: Fehler: flags: Datei oder Verzeichnis nicht gefunden

make[1]: ***
[CMakeFiles/cmTryCompileExec155029672.dir/testCXXCompiler.cxx.o] Fehler 1

make[1]: Verlasse Verzeichnis
'/home/user/Downloads/hedgewars-src-0.9.19.3/CMakeFiles/CMakeTmp'

make: *** [cmTryCompileExec155029672/fast] Fehler 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)

-- Configuring incomplete, errors occurred!

I don't know what's wrong with my system configuration..

Can anyone help me please?

Thanks in advance!

nemo
nemo's picture
User offline. Last seen 23 weeks 4 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Since you're using linux mint you could probably just use the prebuilt packages we have available for ubuntu.
http://packages.ubuntu.com/raring-backports/hedgewars
http://packages.ubuntu.com/raring-backports/hedgewars-data
http://packages.ubuntu.com/saucy/hedgewars
http://packages.ubuntu.com/saucy/hedgewars-data

Your error seems pretty generic and high level to me, g++ can't compile a simple test program?

You probably need to get support from your distro.

But anyway, feel free to try running through our build instructions here, if you like:
http://code.google.com/p/hedgewars/wiki/BuildingOnLinux

Maybe you're missing some package.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]