Building a sample program in ubuntu

I am facing this problem since yesterday, I cloned the github repository in my device and then build it.

cd Cinder
mkdir build && cd build
cmake ..

No, problem till then, the build was successful , now when I try to run the sample following the docs

cd samples/BasicApp/proj/cmake
mkdir build && cd build
cmake ..

No problem again but when I run this, it doesn’t work (acc to docs it should work)

./Debug/BasicApp/BasicApp

Similarly If I try to run the samples from my IDE CLION, it shows following error.

ninja: error: '/home/newdeep/Cinder/lib/linux/x86_64/ogl/Debug/libcinder.a', needed by 'Debug/BasicAppMultiWindowApp/BasicAppMultiWindowApp', missing and no known rule to make it

cmake .. does not build Cinder. Try running make -j.

-Gabor

I have tried your approach and still, it is not working. Can you mention another solution?