Re: Winros_make error

48 views
Skip to first unread message

Daniel Stonier

unread,
Dec 23, 2013, 3:01:19 AM12/23/13
to win...@googlegroups.com

Hi Patrick,

Sorry for the delay, been really buried for the last couple of weeks.

On 13 December 2013 03:09, Patrick Hutton <ph...@york.ac.uk> wrote:
Ok, so I'm not sure quite how to phrase this (I've asked a question about it on Stackoverflow, but I guess I should go into more specifics here) (split into 3 'parts', as the problems may be separate and independently solvable)

1)Win_Ros seems to have installed fine in that I've gone through the Msvc SDK tutorial, and roscore and the two roslaunch commands work fine. but when I try to run a pre-made package (in this case it was written, for ubuntu based ROS, by a PhD student in my department who left before I started the project) it get an error 
    
    cannot launch node of type [package/node]
    cannot locate node [node] in package [package]

I believe (from what I've read) that this is likely to be a problem with the package needing to be 're-made' some people seem to have had this issue after moving packages (apparently) and thus I'm assuming a similar problem with moving a package to win_ros makes sense

Is the pre-made package a catkin package or a rosbuild package? Any chance you could zip it up for me? Basically all of the mk/cmake.mk errors occuring below only happen for rosbuild packages which lead me to think you haven't got a package upgraded for ros hydro and beyond.

Note, this upgrading is not a winros thing, it's a ros thing as the build environment was changed through electric to hydro. Hydro is the last release that supports old (rosbuild) alongside the new (catkin). Part of the reason for the upgrade was to support windows - hence in winros we only use new (catkin) style packages.

Cheers,
Daniel.

2) so... I try to remake these packages, and I get a complaint that Makefile does not exist (not sure why or how these packages were made without a make file, but hay)
I put a make file in (same as the ones in the 'ardrone_autonomy' code which is a dependency of the package I'm running)

    include $(shell rospack find mk)/cmake.mk

this doesn't seem to work, because it seems to read is as just '/cmake.mk' which doesn't exist

3) after working this out I decided to save time to hardcode the path, but for some reason when I do this it reads it 'as a string', i guess, in that uppon running winros_make with the following Makefile in /overlay
    include C:\opt\ros\hydro\x86\share\mk\cmake.mk

will return an 'error U1034: syntax error : separator missing'
if the file is in the selected location.

Anyway, I think that's all the usefull info I can give at the moment. thanks for your time

Patrick

--
You received this message because you are subscribed to the Google Groups "Ros on Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to win-ros+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Phone : +82-10-5400-3296 (010-5400-3296)
Home: http://snorriheim.dnsdojo.com/
Reply all
Reply to author
Forward
0 new messages