-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilling error with clang++ #101
Comments
The issue seems to be the linker, maybe not all the libraries that the code depends on were installed? It's hard to tell without knowing what the code can't link to (as the error indicates you can use |
I have installed all the depends in Wiki, but it still doesn't work.
|
It seems like the Thanks, |
Got it, thanks for your help. |
[ 97%] Linking CXX executable ../../bin/soci_oracle_test_static i got this error when compiling soci with oracle on solaris 11.7 |
This does not seem to be an OpenFace issue, as it does not use a libocci library, it might be related to something else you are linking to. |
This issue evolved? |
Same issue in Ubuntu 16.04 with OpenCV 3.4.0 installed without any errors. Please help. |
Can you provide more details about the issue? |
In my case I am linking that form: /usr/gcc/4.8/bin/g++ -o dist/Debug/GNU-Solaris-Sparc/occitest build/Debug/GNU-Solaris-Sparc/main.o -L/home/f780333/paineldaemon/lib -L/home/f780333/paineldaemon/lib/instantclient_11_2 -R'/home/f780333/paineldaemon/lib' -R'/home/f780333/paineldaemon/lib/instantclient_11_2' -locci -lclntsh -m64 -lrt -liostream -lCrun The -liostream and -lCrun was inserted to resolve similar problems, and I had have to create a symbolic link with bellow commands: ln -s /usr/lib/sparcv9/libiostream.so.1 libiostream.so But now I have this other symbols problem: ld: warning: symbol 'clog' has differing types: |
My OS is Ubuntu 16.04. I followed the installation guide and changed
-stdlib=libc++
, which had caused error while building, into-stdlib=libstdc++
. Here is my command.cmake -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_CXX_FLAGS="-std=c++11 -stdlib=libstdc++ -I/usr/include/libcxxabi" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libstdc++ -lc++abi" -D CMAKE_BUILD_TYPE=RELEASE .. && cmake -j3
But I got the following error message in the final step and I don't know how to fix it:
The text was updated successfully, but these errors were encountered: