Although I have followed the live class ‘How to use ROS with Python3’ step by setp,
after I have typed in ‘catkin_make -DPYTHON_EXECUTABLE:FILEPATH=/home/zxj/python3_ws/py3venv/bin/python’.
I got this message:
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:95 (message):
This workspace contains non-catkin packages in it, and catkin cannot build
a non-homogeneous workspace without isolation. Try the
‘catkin_make_isolated’ command instead.
Call Stack (most recent call first):
– Configuring incomplete, errors occurred!
See also “/home/zxj/python3_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/zxj/python3_ws/build/CMakeFiles/CMakeError.log”.
Invoking “cmake” failed
And CMakeError.log collect2: error:
ld returned 1 exit status
CMakeFiles/cmTC_3d131.dir/build.make:97: recipe for target ‘cmTC_3d131’ failed
make: *** [cmTC_3d131] Error 1
make: Leaving directory ‘/home/zxj/python3_ws/build/CMakeFiles/CMakeTmp’
Makefile:126: recipe for target ‘cmTC_3d131/fast’ failed
make: *** [cmTC_3d131/fast] Error 2
I am very confused about the result.
Would you like to tell me what’s wrong in that?