[ros-users] Generating custom srvs
Daniel Stonier
d.stonier at gmail.com
Mon Mar 15 23:53:47 UTC 2010
On 16 March 2010 01:07, Brian Gerkey <gerkey at willowgarage.com> wrote:
> 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.
>
Hi Brian,
Built the log and did alot more backtracking today, particularly in
rosbuild. Forgotten I'd gone hunting in rosbuild/public.cmake to work
out how ros adds compile flags a couple of weeks ago and found a
commented line I'd failed to undo which caused the problem.
My apologies for the false warning!
Regards,
Daniel.
> 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
>>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
--
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
More information about the ros-users
mailing list