Hi Olof,
On Wed, 2 Sep 2015 15:03:50 +0200 Olof Bjarnason <olof.bjarnason@...400...> wrote:
Mvh
/Olof
Trött på virus, seg dator och allmänt Windowsstrul? Pröva något nytt istället - Ubuntu! http://uboot.nu
On 2 September 2015 at 14:55, Tobias Ellinghaus <houz@...173...> wrote:
Am Mittwoch, 2. September 2015, 13:15:50 schrieb Alex Valavanis:
Hi Olof, Shlomi,
autotools builds are the official recommendation for 0.91. CMake still needs some work, and doesn't fully support all options.
I think the consensus at present is that supporting two build systems is unsustainable and we intend to do the following:
- Fix CMake builds for the next release, make this the official build
system and deprecate the autotools builds. 2. Remove the autotools builds in the following release 3. Potentially move to the Waf build system in the following release
So all the effort put into CMake are wasted time since you will replace it with Waf? Why the intermediate step of CMake then?
Any feedback on your experience with CMake would be greatly appreciated!
For me CMake works nicely, at least for a general build. I didn't add inkview (i never used that myself) nor did i try to add switches for GTK3 and all the other options, but plain standard install just works. I build it like this:
mkdir build cd build CFLAGS="-O3 -g" CXXFLAGS=${CFLAGS} cmake -DCMAKE_INSTALL_PREFIX=/opt/inkscape/ .. make -j install
Thank you Tobias - but you missed the "../inscape" argument at the end of the cmake command line, right?
No, he had a ".." instead . The last argument to cmake should be the path to the sources (with the top-level CMakeLists.txt file/etc.)
Even after fixing that typo, I get the same error as when I got help from Shumis' build script:
It's "Shlomi". Since many non-Hebrew speakers have some difficulties with this name, I also go by the nickname “Rindolf” - see http://www.shlomifish.org/me/rindolf/ .
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake: 108 (message): Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_F AILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindJPEG.cmake:31 (FIND_PACKAGE_HANDLE_STANDARD_A RGS) CMakeScripts/DefineDependsandFlags.cmake:184 (FIND_PACKAGE) CMakeLists.txt:95 (include)
You need to install the libjpeg's development package. What is your operating system, distribution, their versions, etc.?
Regards,
Shlomi Fish