cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

Home Page:http://libcinder.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot build a Sample Program in Ubuntu

Abhilekhgautam opened this issue · comments

I cloned the repository and build it using cmake.

mkdir build && cd build
 cmake ..

The Cinder build was succesfull.

The documentation states that

The runtime output directory for different configurations will automatically end up within different folders (e.g. lib/macosx/Debug/libcinder.a and lib/macosx/Release/libcinder.a), so multiple configurations can live side by side

So when I sucessfully build It a libcinder.a file must be present inside my Debug folder, but when I try running the sample program with follwing CMakeLists.txt file:

cmake_minimum_required(VERSION 3.10)
project(src)

get_filename_component( CINDER_PATH "~/Cinder" ABSOLUTE)

include( "${CINDER_PATH}/proj/cmake/modules/cinderMakeApp.cmake" )

ci_make_app(
        APP_NAME "src"
        CINDER_PATH ${CINDER_PATH}
        SOURCES BasicAppMultiWindowApp.cpp
)

This error shows up,
ninja: error: '/home/userCinder/lib/linux/x86_64/ogl/Debug/libcinder.a', needed by 'Debug/src/src', missing and no known rule to make it
However after a sucessfull build, that file should exist.