Release mode on linux

im trying to build on release mode on linux but getting this from cmake
Could not find a package configuration file provided by “cinder” with any
of the following names:

cinderConfig.cmake
cinder-config.cmake

Add the installation prefix of “cinder” to CMAKE_PREFIX_PATH or set
“cinder_DIR” to a directory containing one of the above files. If “cinder”
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:13 (ci_make_app)
how to fix this ?

Are you doing it like this?

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release

yup i didi like that and also try from de ide same error

Are you building the library or an application? You have to build the library first.
The following error shows that you probably trying to build an application without the library:

Call Stack (most recent call first):
CMakeLists.txt:13 (ci_make_app)

The commands from my previous post should be executed from the Cinder root directory.

ok so i build the lib first as this

but then i try to build the application as release
and i get this

executing command: /usr/bin/cmake --build /home/jacos/Cinder/sketches/of2Ci/build --config Release --target of2Ci -- -j 14

[build] ninja: error: '/home/jacos/Cinder/lib/linux/x86_64/ogl/Release/libcinder.a', needed by 'Release/of2Ci/of2Ci', missing and no known rule to make it

[build] Build finished with exit code 1

forget i just forgot to type make after building Thanks!!!

1 Like