rosmake compile errors (indigo), environment issues
Hello, This is my first time using ros, which is painfully obvious, but I wanted to know if someone could help me with these compile errors I am getting. This is all running with a new vm, but I've been sure to install all the dependencies from build-essential. I've also followed the instructions I don't think my environment is setup correctly... any assistance is greatly appreciated.
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/core/rosbuild/rostoolchain.cmake ..
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:99 (message):
Could not find toolchain file: /core/rosbuild/rostoolchain.cmake
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: /home/pitt/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: /home/pitt/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Could you explain a bit more what it is you're trying to do exactly? Tyical ROS usage is to compile using
catkin_make
. In more advanced cases, plaincmake
can be used, but it is certainly not something I'd recommend first-time users to do.