cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
http://libcinder.org
Other
5.31k stars 939 forks source link

builds fail on xcode #2329

Closed secc9 closed 2 months ago

secc9 commented 8 months ago

Hello. New to Cinder. I'm trying to open up some samples but the all fail with the same 2 errors (also there's a LOT of warnings)

Undefined symbols: & Linker command failed with exit code 1 (use -v to see invocation)

No idea what do do.

Thanks

paulhoux commented 8 months ago

The samples require you to build Cinder first. Head over to https://libcinder.org/docs/branch/master/guides/mac-setup/index.html for some help, although it may be a bit outdated. Once you have compiled Cinder (both the Debug and Release targets), the samples should also compile. Note that not all samples may still work. Some were designed for older versions of Cinder and they have not been actively maintained.

secc9 commented 8 months ago

Hi @paulhoux. Thanks for this. Ii was just running the examples straight from xcode without running a full build. This still ran the same errors but then I also installed Cinder-OpenCV3, rebuilt and now everything seems fine. Thanks for your help..