![]() Registered Member ![]()
|
I am following the building krita on linux for cats guide. I have minimal experience with cmake, and the documentation isn't very good. I consulted it first and another thread with a similar problem. I'm running Debian 7.8 Wheezy in a virtual machine on top of OSX. The build tutorial said to use the following line.
It looks like it's using -D to set a make configuration, then just setting path variables. I get the following output. Is there a good way to troubleshoot this process? I found one other thread https://forum.kde.org/viewtopic.php?f=221&t=126838&p=336528&hilit=macro_ensure_out_of_source_build#p336528 with a similar complaint. It doesn't tell me anything new.
|
![]() KDE Developer ![]()
|
From which path are you launching that command?
As the error and the other page you linked say, you cannot try to build inside the source directory (that is $HOME/kde4/src/calligra). You should launch that command when being, for instance, inside $HOME/kde4/build. |
![]() KDE Developer ![]()
|
The cat's guide is pretty explicit:
Configuring Configuring with cmake will check if your system is ready and if you get the good libraries installed. So, if any configuration problem happen you'll be able to read what libraries are missing. That's why it's important to read if all is ok. Also, we will inform cmake our directories structure, and also ask to build only Krita. But before, a cd to do this at the proper place : cd ~/kde4/build cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=KRITA And you skipped the cd ~/kde4/build step. Now you will have to do cd ~/kde4/src/calligra git reset --hard git clean -fd before you can continue. |
![]() Registered Member ![]()
|
Oh I did that from the build directory. It was missing some libraries the first time. I installed those manually, then got this error. I didn't know it would require a hard reset, but that fixed it. Thank you. It also mentions a number of optional libraries. Do those need to be installed before generating make files? |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]