|
From: Ron J. <wi...@je...> - 2019-03-31 00:37:12
|
I have been unable to build JSBSim for quite some time under linux:
cmake ../JSBSim-code/
(...)
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
-- Found Cython: /usr/bin/cython
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found
version "2.7.13")
-- Found CxxTest: /usr/include
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13")
-- Found LSB_Release: /usr/bin/lsb_release
-- Configuring done
CMake Error at python/CMakeLists.txt:89 (add_custom_command):
Error evaluating generator expression:
$<IF:$<BOOL:>,--config,>
Expression did not evaluate to a known generator expression
and then make:
[ 71%] Building Python modules...
Traceback (most recent call last):
File "~/Flight/JSBSim-build/python/setup.py", line 3, in <module>
from setuptools import setup
ImportError: No module named setuptools
python/CMakeFiles/PythonJSBSim.dir/build.make:62: recipe for
target 'tests/jsbsim.so' failed
I have no clue about CMake and Python. How do I fix this? I can live without
the Python modules, but apparently there isn't a switch to turn the python
module off?
Thanks,
Ron
|