In Cmake-GUI I was able to successfully press "Configure" without error messages.
PYTHON_EXECUTABLE: /home/my_username/anaconda3/bin/python3.6
PYTHON_INCLUDE_DIR: /home/my_username/anaconda3/include
PYTHON_LIBRARY_DEBUG: empty
PYTHON_LIBRARY_RELEASE: empty
After that I switched in terminal to my build directory and I started with "sudo make", but after 98% it aborted with the following message:
Scanning dependencies of target _ChronoEngine_python_core
[ 98%] Building CXX object src/chrono_python/CMakeFiles/_ChronoEngine_python_core.dir/__/__/swig/ChModuleCorePYTHON_wrap.cxx.o
/opt/chrono/build/swig/ChModuleCorePYTHON_wrap.cxx:174:21: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
src/chrono_python/CMakeFiles/_ChronoEngine_python_core.dir/build.make:70: die Regel für Ziel „src/chrono_python/CMakeFiles/_ChronoEngine_python_core.dir/__/__/swig/ChModuleCorePYTHON_wrap.cxx.o“ scheiterte
make[2]: *** [src/chrono_python/CMakeFiles/_ChronoEngine_python_core.dir/__/__/swig/ChModuleCorePYTHON_wrap.cxx.o] Fehler 1
CMakeFiles/Makefile2:346: die Regel für Ziel „src/chrono_python/CMakeFiles/_ChronoEngine_python_core.dir/all“ scheiterte
make[1]: *** [src/chrono_python/CMakeFiles/_ChronoEngine_python_core.dir/all] Fehler 2
Makefile:160: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
On line 3 "Datei oder Verzeichnis nicht gefunden" means "file or directory not found".
I would be grateful if anybody could help me out ;)
Thanks