Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in cmake #1

Open
b4zz4 opened this issue Nov 9, 2017 · 6 comments
Open

error in cmake #1

b4zz4 opened this issue Nov 9, 2017 · 6 comments

Comments

@b4zz4
Copy link

b4zz4 commented Nov 9, 2017

cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

@caryoscelus
Copy link
Owner

Those instructions were mostly meant as a quick reminder to those familiar with CMake. But anyway, you can either omit -GNinja (and thus use default generator, e.g. make on gnu/linux), or install ninja (package called ninja-build in debian and probably its derivatives). The rest of instructions do not depend on which make program you're using.

@b4zz4
Copy link
Author

b4zz4 commented Nov 9, 2017 via email

@caryoscelus
Copy link
Owner

You need to build synfig with cmake for build to work seamlessly (see https://github.com/caryoscelus/synfig-playground#dependencies). Also, you'll need either this pr merged or manually add modules into synfig module configuration file (should be installed in /usr/local/etc/synfig_modules.cfg or similar).

If you think it's not worth it (it kinda sounds like a lot of trouble for two valuenodes; but when i was creating this repo i believed in synfig moving to CMake completely and having its repos split and that i would still be interested in synfig), you may find it easier to either check out these branches (https://github.com/caryoscelus/synfig/tree/curve_node , https://github.com/caryoscelus/synfig/tree/skeleton_node) or just copy sources into current master and add them into build system.

@b4zz4
Copy link
Author

b4zz4 commented Nov 9, 2017 via email

@caryoscelus
Copy link
Owner

Well, that's the most straightforward way to install cmake files that are needed by these modules. But actually you can just edit CMakeLists.txt and comment out synfig package search. It may work.

@caryoscelus
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants