[ros-users] cannot build a package

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: ros-users
Subject: [ros-users] cannot build a package
HI,
I am a newbie to ros.While going through the tutorials of subscribing and
publishing a message we add set up executables to the cmake file.when trying
to rebuild the package using make it is giving the following error.Could you
please give a solution to this problem

mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
rosbuild`/rostoolchain.cmake ..
CMake Error: Error in cmake code at
/home/avinash/ros/beginner_tutorials/CMakeLists.txt:1:
Parse error. Expected a command name, got unquoted argument with text
"cmake_minimum_required".
-- Configuring incomplete, errors occurred!
make: *** [all] Error 1


--
Regards
Avinash Thiruvayipati
Graduate Student
Electrical Engineering
Arizona State University
734-985-1155