Created
June 29, 2015 13:42
-
-
Save Sumith1896/9f28b617aedc919cabb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sumith@sumith-Lenovo-Z50-70:~/github/csympy$ git clean -dfx | |
Removing build-clang/ | |
sumith@sumith-Lenovo-Z50-70:~/github/csympy$ mkdir build-clang | |
sumith@sumith-Lenovo-Z50-70:~/github/csympy$ cd build-clang/ | |
sumith@sumith-Lenovo-Z50-70:~/github/csympy/build-clang$ CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++" cmake ../ | |
-- The C compiler identification is Clang 3.3.0 | |
-- The CXX compiler identification is Clang 3.3.0 | |
-- Check for working C compiler: /home/sumith/anaconda/bin/clang | |
-- Check for working C compiler: /home/sumith/anaconda/bin/clang -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /home/sumith/anaconda/bin/clang++ | |
-- Check for working CXX compiler: /home/sumith/anaconda/bin/clang++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so;/usr/local/lib/libgmp.so | |
CMake Error at CMakeLists.txt:59 (message): | |
GMP library being linked is not supported by CMAKE_CXX_COMPILER used. | |
Recompile GMP with C++ support using /home/sumith/anaconda/bin/clang++, | |
remove CMakeCache.txt and try again. | |
Error Log : | |
Change Dir: /home/sumith/github/csympy/build-clang/cxx/CMakeFiles/CMakeTmp | |
Run Build Command:/usr/bin/make "cmTryCompileExec110719280/fast" | |
/usr/bin/make -f CMakeFiles/cmTryCompileExec110719280.dir/build.make | |
CMakeFiles/cmTryCompileExec110719280.dir/build | |
make[1]: Entering directory | |
`/home/sumith/github/csympy/build-clang/cxx/CMakeFiles/CMakeTmp' | |
/usr/bin/cmake -E cmake_progress_report | |
/home/sumith/github/csympy/build-clang/cxx/CMakeFiles/CMakeTmp/CMakeFiles 1 | |
Building CXX object | |
CMakeFiles/cmTryCompileExec110719280.dir/checkgmpxx.cpp.o | |
/home/sumith/anaconda/bin/clang++ -stdlib=libc++ -std=c++11 -Wall -Wextra | |
-fPIC -O3 -march=native -ffast-math -funroll-loops -Wno-unused-parameter -o | |
CMakeFiles/cmTryCompileExec110719280.dir/checkgmpxx.cpp.o -c | |
/home/sumith/github/csympy/cmake/checkgmpxx.cpp | |
Linking CXX executable cmTryCompileExec110719280 | |
/usr/bin/cmake -E cmake_link_script | |
CMakeFiles/cmTryCompileExec110719280.dir/link.txt --verbose=1 | |
/home/sumith/anaconda/bin/clang++ -stdlib=libc++ -std=c++11 -Wall -Wextra | |
-fPIC -O3 -march=native -ffast-math -funroll-loops -Wno-unused-parameter | |
CMakeFiles/cmTryCompileExec110719280.dir/checkgmpxx.cpp.o -o | |
cmTryCompileExec110719280 -rdynamic -lgmpxx /usr/local/lib/libgmp.so | |
-Wl,-rpath,/usr/local/lib | |
CMakeFiles/cmTryCompileExec110719280.dir/checkgmpxx.cpp.o: In function | |
`main': | |
/home/sumith/github/csympy/cmake/checkgmpxx.cpp:(.text+0x21): undefined | |
reference to `operator<<(std::__1::basic_ostream<char, | |
std::__1::char_traits<char> >&, __mpz_struct const*)' | |
clang: error: linker command failed with exit code 1 (use -v to see | |
invocation) | |
make[1]: *** [cmTryCompileExec110719280] Error 1 | |
make[1]: Leaving directory | |
`/home/sumith/github/csympy/build-clang/cxx/CMakeFiles/CMakeTmp' | |
make: *** [cmTryCompileExec110719280/fast] Error 2 | |
-- Configuring incomplete, errors occurred! | |
See also "/home/sumith/github/csympy/build-clang/CMakeFiles/CMakeOutput.log". | |
sumith@sumith-Lenovo-Z50-70:~/github/csympy/build-clang$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment