I tried to compile on Centof7 and then on Fedora22 both are failing in the same manner.
When I run make in the src directory I first get this
Scanning dependencies of target airspace
[ 5%] Building CXX object src/CMakeFiles/airspace.dir/Airspace.cpp.o
/bin/sh: /usr/bin/clang++-3.5: No such file or directory
src/CMakeFiles/airspace.dir/build.make:54: recipe for target 'src/CMakeFiles/airspace.dir/Airspace.cpp.o' failed
make[2]: *** [src/CMakeFiles/airspace.dir/Airspace.cpp.o] Error 127
CMakeFiles/Makefile2:108: recipe for target 'src/CMakeFiles/airspace.dir/all' failed
make[1]: *** [src/CMakeFiles/airspace.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2
I have clang 3.5 installed but it is called just clang++...which I verify like this
[root@localhost src]# /usr/bin/clang -v
clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/5.1.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/5.1.1
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/5.1.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Then to go further I create a symlink like this
ln -s /usr/bin/clang++ /usr/bin/clang++-3.5
and then when I run make again I get this one
[root@localhost src]# make
[ 5%] Building CXX object src/CMakeFiles/airspace.dir/Airspace.cpp.o
/root/oaconvert/src/Airspace.cpp:20:10: fatal error: 'cassert' file not found
#include <cassert>
^
1 error generated.
src/CMakeFiles/airspace.dir/build.make:54: recipe for target 'src/CMakeFiles/airspace.dir/Airspace.cpp.o' failed
make[2]: *** [src/CMakeFiles/airspace.dir/Airspace.cpp.o] Error 1
CMakeFiles/Makefile2:108: recipe for target 'src/CMakeFiles/airspace.dir/all' failed
make[1]: *** [src/CMakeFiles/airspace.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2
When I google for it I find this which sounds pretty nasty bug
Ao has anyone succeeded in compiling on CentOS or Fedora?
I will now try on the latest Ubuntu.