[ros-users] cannot build a package

Tully Foote tfoote at willowgarage.com
Mon Dec 27 22:37:20 UTC 2010


Hi Avinash,
It looks like you have a syntax error in your CMakeLists.txt  If you 
could post it to the list we might be able to help you.

Tully

On 12/27/2010 02:34 PM, Avinash Thiruvayipati wrote:
> 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
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101227/f60e8fe2/attachment-0003.html>


More information about the ros-users mailing list