You are not logged in.
I'm trying to install a Market Tool for EVE Online called Evernus. ( www.evernus.com )
The tool is cross platform, but created using clang which I don't have much experience with. I also know next to nothing about compiler flags or linking. This is probably a fairly simple problem of just needing to know what flags to use or format to put them in. Any assistance would be appreciated.
Here's the setup:
Arch Linux x86_64
Kernel 4.1.2-2-ARCH
cmake = 3.2.3
clang = 3.6.2
libc++3.6.2-1
QT = 5.5.0
boost = 1.58.0-2
Cloned from bitbucket using:
hg clone https://bitbucket.org/krojew/evernus
cmake as directed in the guide:
CC=clang CXX=clang++ cmake -G "Unix Makefiles"
make completes building to 100% then fails with
Linking CXX executable evernus
/usr/bin/ld: CMakeFiles/evernus.dir/TypeAggregatedDetailsWidget.cpp.o: undefined reference to symbol '_ZNSt12length_errorD2Ev@@GLIBCXX_3.4.15'
/usr/lib/libstdc++.so.6: error adding symbols: DSO Missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/evernus.dir/build.make:9745: recipe for target 'evernus' failed
make[2]: *** [evernus] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/evernus.dir/all' failed
make[1]: *** [CMakeFiles/evernus.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
I've also tried with the following cmake flags,
-D_CMAKE_TOOLCHAIN_PREFIX=llvm-
-DCMAKE_CXX_FLAGS="-stdlib=libc++"
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++"
All have the same error. It seems that it's not using libc++ perhaps, but I can't seem to figure out how to fix that. How do I force this to use libc++ instead of libstdc++?
[SOLVED] with the assistance from https://bbs.archlinux.org/viewtopic.php?id=200584.
Last edited by SkepticalMystic (2015-08-03 21:05:15)
Offline