View Single Post
Old 02-19-2016, 04:29 PM   #33
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,048
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
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).
DiapDealer is offline   Reply With Quote