Quote:
Originally Posted by DiapDealer
Also note that your value for -DPYTHON_LIBRARY is not valid. I looks like you've supplied a directory instead of the path to the actual library file. You might also need to supply the path to your Python.h file (as Kevin noted) with -DPYTHON_INCLUDE.
I'm a little surprised you need specify those paths at all, quite frankly. You seem to be using the standard system Python 3.4.3 that Mint 17.2 supplies, so there should be no need to use any of the -DPYTHON cmake overrides. If you have all the necessary python34 packages installed, cmake should find them with no problem.
Make sure you have the python34-dev package installed (as Kevin mentioned), and in addition, make sure you have the libpython3.4 and libpython3.4-dev packages installed (as per the Building on Linux documentation). Then try running the cmake command without all the -DPYTHON overrides (you may need to wipe out your build directory and start over, though).
|
I started out doing exactly that, but then I got:
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:
PYTHON_LIBRARY (ADVANCED)
linked by target "sigil" in directory /home/patrik/Downloads/Sigil/Sigil-0.9.3_src/src
-- Configuring incomplete, errors occurred!
That's when I started to add the paths.