-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Error compiling at "Building CXX object CMakeFiles/dlib_.dir/src/dlib.cpp.o" #109
Comments
I mainly develop in that version of ubuntu and haven't seen this error.
Have you tried with the latest sources in github?
|
I just tried building from this repo's master.zip and got the same result. These lines from CMakeError.log might be relevant:
I definitely have these installed:
I wonder if there are other dependencies I'm missing. |
That would be a problem :)
Can you compile the regular C++ examples?
|
phtreads != pthread |
I think my problem was insufficient RAM. That will teach me for cheaping out on my hosting. I've added a 1GB swapfile and am currently compiling to see if that's sufficient (have already made it past the error above). Edit: 1GB was not enough, but with 4GB it successfully compiled and is running now. |
Cool :) |
-- Build files have been written to: /home/odroid/srsLTE/build its not going beyong 34% can anyone pls help out. |
I have my local PC with 16gb ram. So certainly i have enough space but... sudo python3 setup.py install --no DLIB_USE_CUDA include <pyconfig.h>
compilation terminated. can't go beyond this and can't understand the problem. Also tried to install it for CUDA but that also didn't worked. |
This thread was very useful for me! I had the same "cheapoing" problem :) |
I'm trying to compile dlib's Python interface fresh on Ubuntu 14.04 LTS via command line, but can't get past the error below. (Dropping DLIB_NO_GUI_SUPPORT causes the build to fail earlier in the process.) As far as I know my software is all up-to-date (notwithstanding being an outdated version of Ubuntu).
The last thing I did before attempting this installation was install OpenCV in a virtualenv using this guide: http://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/
The installation fails regardless of whether I run it in the virtualenv, via pip, or in /examples/ with cmake directly.
user@local:~/dlib-18.18# python setup.py install --yes DLIB_NO_GUI_SUPPORT
The text was updated successfully, but these errors were encountered: