atkin_make出现问题

回复本帖可奖励1枚铜币哦! 每人最多可获奖1次!
奖池剩余5(中奖概率10%)
我按照教程的顺序进行学习,但是在进行catkin_make的时候,一直提示下面的问题
Base path: /home/shuitian/catkin_ws
Source space: /home/shuitian/catkin_ws/src
Build space: /home/shuitian/catkin_ws/build
Devel space: /home/shuitian/catkin_ws/devel
Install space: /home/shuitian/catkin_ws/install
Creating symlink "/home/shuitian/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake"
####
#### Running command: "cmake /home/shuitian/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/shuitian/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/shuitian/catkin_ws/install -G Unix Makefiles" in "/home/shuitian/catkin_ws/build"
####
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/shuitian/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/shuitian/catkin1_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/shuitian/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.11
-- BUILD_SHARED_LIBS is on
/opt/ros/kinetic/share/catkin/cmake/em/order_packages.cmake.em:23: error: <type 'exceptions.AttributeError'>: 'file' object has no attribute 'pop'
Traceback (most recent call last):
  File "/usr/bin/empy", line 3302, in <module>
    if __name__ == '__main__': main()
  File "/usr/bin/empy", line 3300, in main
    invoke(sys.argv[1:])
  File "/usr/bin/empy", line 3291, in invoke
    interpreter.shutdown()
  File "/usr/bin/empy", line 2157, in shutdown
    self.finalize()
  File "/usr/bin/empy", line 2646, in finalize
    self.push()
  File "/usr/bin/empy", line 2200, in push
    sys.stdout.push(self)
AttributeError: 'file' object has no attribute 'push'
CMake Error at /opt/ros/kinetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  
  execute_process(/home/shuitian/catkin_ws/build/catkin_generated/env_cached.sh
  "/usr/bin/python" "/usr/bin/empy" "--raw-errors" "-F"
  "/home/shuitian/catkin_ws/build/catkin_generated/order_packages.py" "-o"
  "/home/shuitian/catkin_ws/build/catkin_generated/order_packages.cmake"
  "/opt/ros/kinetic/share/catkin/cmake/em/order_packages.cmake.em") returned
  error code 1
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/em_expand.cmake:25 (safe_execute_process)
  /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:35 (em_expand)
  CMakeLists.txt:63 (catkin_workspace)


-- Configuring incomplete, errors occurred!
See also "/home/shuitian/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/shuitian/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
话题: catkin
游客
登录后才可以回帖,登录 或者 注册