Compiling on Centos7, Fedora22 FAILS

18 views
Skip to first unread message

bort...@gmail.com

unread,
Jul 16, 2015, 7:26:56 AM7/16/15
to oaco...@googlegroups.com
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.

bort...@gmail.com

unread,
Jul 16, 2015, 8:18:49 AM7/16/15
to oaco...@googlegroups.com, bort...@gmail.com
I have now tried on the latest Ubuntu 15 and got the same error.

my steps are the following on Ubuntu

apt-get install cppunit libcppunit gcc g++ clang-3.5
rm -f CMakeCache.txt
smake .
cd 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:76: recipe for target 'all' failed
make: *** [all] Error 2

What are your systems where you guys know that it is compilable for sure?

Bart Vandewoestyne

unread,
Jul 23, 2015, 12:43:05 PM7/23/15
to oaco...@googlegroups.com
Have you tried installing the libc++-dev package?

sudo apt-get install libc++-dev

Please let us know if this solves the problem.

Regards,
Bart
> --
> You received this message because you are subscribed to the Google Groups
> "oaconvert" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to oaconvert+...@googlegroups.com.
> To post to this group, send email to oaco...@googlegroups.com.
> Visit this group at http://groups.google.com/group/oaconvert.
> For more options, visit https://groups.google.com/d/optout.

Boris Tékaty

unread,
Jul 28, 2015, 10:25:56 AM7/28/15
to oaco...@googlegroups.com

I have dropped it since I found another app that did what i wanted.

Hälsningar/Regards
Boris Tékaty
Sent from my phone

You received this message because you are subscribed to a topic in the Google Groups "oaconvert" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/oaconvert/5udwdoEMdKU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to oaconvert+...@googlegroups.com.

Bart Vandewoestyne

unread,
Jul 29, 2015, 6:46:21 AM7/29/15
to oaco...@googlegroups.com
I'm just curious... can you tell us what you want to do and what app
you are now using?

Regards,
Bart

bort...@gmail.com

unread,
Aug 6, 2015, 6:26:37 AM8/6/15
to oaconvert
Yes of course.

My purpose was to have an airspace of some of EU countries. What I found was a Android app called XCTrack that has airspaces and maps of the whole world. Everything was ready, just download them from the app settings menu. Hope it helps.

Regards
/Boris
Reply all
Reply to author
Forward
0 new messages