[ros-users] Generating custom srvs

Brian Gerkey gerkey at willowgarage.com
Mon Mar 15 16:07:22 UTC 2010


hi Daniel,

What you describe would be a pretty serious bug in rosbuild.  Can you
post the verbose output from a clean build?  E.g.:

make clean
VERBOSE=1 make > build.log 2>&1

	brian.

On Sun, Mar 14, 2010 at 10:37 PM, Daniel Stonier <d.stonier at gmail.com> wrote:
> Ran into a hitch compiling today - have a simple test program with the
> following CMakeLists.txt
>
> ********************************************************************************************
>
> cmake_minimum_required(VERSION 2.4.6)
> include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
>
> rosbuild_init()
>
> #set the default path for built executables to the "bin" directory
> set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
>
> rosbuild_genmsg()
> rosbuild_gensrv()
>
> rosbuild_add_executable(client src/client.cpp)
> rosbuild_add_executable(server src/server.cpp)
>
> ********************************************************************************************
>
> However, it was failling to generate the srvs before trying to compile
> the cpp files. However, the msg's are generated.
>
> My first thought was that I had parallel jobs on and maybe that was
> messing around with it, however upon checking I found I hadn't - it
> was set to -j1 and failing. So I tried with -j2, -j3, -j4 - in all of
> these cases, it surprisingly compiled ok. Is there something I'm
> missing in the above?
>
> Regards,
> Daniel Stonier.
>
> --
> Phone : +82-10-5400-3296 (010-5400-3296)
> Home: http://snorriheim.dnsdojo.com/
> Yujin Robot: http://www.yujinrobot.com/
> Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list