I am running ubuntu mate 18.04, and have tried numerous times to compile the inkscape source code. I was following this tutorial
https://inkscape.org/en/develop/getting-started/
but encountered issues when I came to the line describing cmake build flags. I tried simply omitting the flags, and using them as is, but both ways failed.
Im not sure what exactly I am supposed to fill into the flags to make them work properly.
can someone explain the command
cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)/../inst [-DCMAKE_CXX_COMPILER_LAUNCHER=ccache]
Im not sure what the flag is, or should be but Im confident that it is why i cannot compile.
I tried compiling omiting the "XX" but still got errors
:~/inkscape/build$ cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd)/../inst -DCMAKE_C_COMPILER_LAUNCHER=ccache
------------------------------
Building Makefile for Inkscape
------------------------------
Source Dir: /home/users/inkscape
Binary Dir: /home/users/inkscape/build
-- Creating build files in: /home/s/inkscape/build
-- Could NOT find JeMalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR)
-- Found BoehmGC: /usr/local/lib/libgc.so
-- Found poppler: /usr/lib/x86_64-linux-gnu/libpoppler.so
-- Found poppler-glib: /usr/lib/x86_64-linux-gnu/libpoppler-glib.so
-- Found cairo-svg: /usr/lib/x86_64-linux-gnu/libcairo.so
-- Found poppler-cairo: /usr/lib/x86_64-linux-gnu/libcairo.so
-- Checking for module 'libwpg-0.3'
-- No package 'libwpg-0.3' found
-- Checking for module 'libwpg-0.2'
-- No package 'libwpg-0.2' found
-- Checking for module 'libwpd-0.9'
-- No package 'libwpd-0.9' found
-- Checking for module 'libwpd-stream-0.9'
-- No package 'libwpd-stream-0.9' found
-- Checking for module 'libwpg-0.1'
-- No package 'libwpg-0.1' found
-- Checking for module 'libwpg-stream-0.1'
-- No package 'libwpg-stream-0.1' found
-- Checking for module 'libwpd-0.8'
-- No package 'libwpd-0.8' found
-- Checking for module 'libvisio-0.1'
-- No package 'libvisio-0.1' found
-- Checking for module 'libvisio-0.0'
-- No package 'libvisio-0.0' found
-- Checking for module 'libwpd-0.9'
-- No package 'libwpd-0.9' found
-- Checking for module 'libwpd-stream-0.9'
-- No package 'libwpd-stream-0.9' found
-- Checking for module 'libcdr-0.1'
-- No package 'libcdr-0.1' found
-- Checking for module 'libcdr-0.0'
-- No package 'libcdr-0.0' found
-- Checking for module 'libwpd-0.9'
-- No package 'libwpd-0.9' found
-- Checking for module 'libwpd-stream-0.9'
-- No package 'libwpd-stream-0.9' found
-- Found Popt: /usr/lib/x86_64-linux-gnu/libpopt.so
-- Could not locate the Potrace library headers: the Trace Bitmap and Paintbucket tools will be disabled
-- Using GDL 3.6 or higher
-- Checking for module 'gtkspell3-3.0'
-- No package 'gtkspell3-3.0' found
-- Boost version: 1.65.1
-- Checking for module 'ImageMagick++<=7'
-- No package 'ImageMagick++' found
-- Checking for module 'GraphicsMagick++'
-- No package 'GraphicsMagick++' found
-- Found gettext + msgfmt to convert language files. Translation enabled
-- Found íntltool. inkscape.pot will be re-created if missing.
-- Could not locate the yaml library headers: xverb feature will be disabled
-- Looking for include file ieeefp.h
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
POPPLER_INCLUDE_DIR
used as include directory in directory /home/users/inkscape/build/CMakeFiles/CMakeTmp
used as include directory in directory /home/users/inkscape/build/CMakeFiles/CMakeTmp
used as include directory in directory /home/users/inkscape/build/CMakeFiles/CMakeTmp
CMake Error at /usr/share/cmake-3.10/Modules/CheckIncludeFiles.cmake:69 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
CMakeScripts/ConfigChecks.cmake:18 (CHECK_INCLUDE_FILES)
CMakeScripts/DefineDependsandFlags.cmake:392 (include)
CMakeLists.txt:121 (include)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
POPPLER_INCLUDE_DIR
used as include directory in directory /home/users/inkscape
used as include directory in directory /home/uers/inkscape
No comments:
Post a Comment