Coder Social home page Coder Social logo

Comments (15)

bakercp avatar bakercp commented on June 16, 2024

what version of Xcode / command line tools / macOS are you using?

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

Xcode - 9.3.1
command line tools - not sure how to check this :(
macOS - 10.13.2

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

command Line Tools: Xcode 9.3.1 (9E501)

from ofxdlib.

bakercp avatar bakercp commented on June 16, 2024

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.

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

Yes getting the same error. I will try to downgrade Xcode and will let you know

from ofxdlib.

bakercp avatar bakercp commented on June 16, 2024

OK. Good to know. Keep me posted.

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

Downgrading xCode to 9.2 doesn't really help, still having the same problem :(

from ofxdlib.

bakercp avatar bakercp commented on June 16, 2024

What does running xcode-select --print-path give you?

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

/Applications/Xcode.app/Contents/Developer

from ofxdlib.

bakercp avatar bakercp commented on June 16, 2024

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 ..

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

ok will do thanks for help. I'll keep you posted..

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

@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.

from ofxdlib.

joaodafonseca avatar joaodafonseca commented on June 16, 2024

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.

from ofxdlib.

bakercp avatar bakercp commented on June 16, 2024

davisking/dlib#1326

from ofxdlib.

vvzen avatar vvzen commented on June 16, 2024

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:

screen shot 2018-08-05 at 14 48 00

Any hints? (@bakercp , @joaodafonseca )

Thanks

from ofxdlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.