Open joaodafonseca opened 6 years ago
what version of Xcode / command line tools / macOS are you using?
Xcode - 9.3.1 command line tools - not sure how to check this :( macOS - 10.13.2
command Line Tools: Xcode 9.3.1 (9E501)
Hmm. I think it is an Xcode 9.3 issue. I haven't tested it with that (and dlib cmake scripts may not yet be compatible). Can you try compiling dlib alone:
$ curl -LO http://dlib.net/files/dlib-19.11.tar.bz2
$ tar xvf dlib-19.11.tar.bz2
$ cd dlib-19.11
$ mkdir build
$ cd build/
$ cmake ..
If you get the same error as you were getting with the bootstrap script, you need to downgrade to Xcode 9.2 or raise the issue with the dlib repository, as it expects AppleClang
as the compiler name, ideally submitting a PR to include the new Clang
identifier in the cmake scripts.
Yes getting the same error. I will try to downgrade Xcode and will let you know
OK. Good to know. Keep me posted.
Downgrading xCode to 9.2 doesn't really help, still having the same problem :(
What does running xcode-select --print-path
give you?
/Applications/Xcode.app/Contents/Developer
I'd recommend posting an issue here:
https://github.com/davisking/dlib/issues
Post the results of running:
$ curl -LO http://dlib.net/files/dlib-19.11.tar.bz2
$ tar xvf dlib-19.11.tar.bz2
$ cd dlib-19.11
$ mkdir build
$ cd build/
$ cmake ..
ok will do thanks for help. I'll keep you posted..
@bakercp would be possible for you to send me a zip file with the files that are supposed to be inside the libs/dlib folder? I think the only problem I'm getting here is to install the dlib files.
So yeah I managed to run the examples by manually downloading flib and place the lib files in libs/dlib. Also found a compiled file "libdlib.a" that is needed in the ofxFacetracker2 addon. After that all examples run. It's not solution but a workaround for now.
I've got a different error during the bootstrap.sh execution, but running
$ curl -LO http://dlib.net/files/dlib-19.11.tar.bz2
$ tar xvf dlib-19.11.tar.bz2
$ cd dlib-19.11
$ mkdir build
$ cd build/
$ cmake ..
works. This is what I get after running bootstrap.sh:
Any hints? (@bakercp , @joaodafonseca )
Thanks
Hi all,
while running the script i get the following error:
Any clue what could be the problem? Thanks in advance, J