cinder / Cinder

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

CameraPersp sample loadResource() url error #2281

Open CorrieVS opened 2 years ago

CorrieVS commented 2 years ago

loadResource() does not use external path defined in Resources.h ../../data/environment_maps/. Fix requires creating a resources directory inside the CameraPersp app directory and copying humus_sf.jpg into it.

Error logged as:

Failed to load resource: Could not resolve absolute path for: humus_sf.jpg

System: Linux, Ubuntu 20.04 Built with cmake