Re: [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: Re: [ros-users] cannot build a package
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
>
> https://code.ros.org/mailman/listinfo/ros-users