Robotics StackExchange | Archived questions

Problems building winros

I'm trying to install winros using the MSVC build environment instructions. When I run winros sdk download I get the following error:

[genmsg] Installing https://github.com/yujinrobot/genmsg.git (d0deea302d5485ba88a401a24531d4d652f5d1d9) to C:\work\sdk\genmsg error: The requested URL returned error: 403 while accessing https://github.com/yujinrobot/genmsg.git/info/refs fatal: HTTP request failed WARNING [vcstools] Command failed: 'git fetch' run at: 'C:\work\sdk\genmsg' errcode: 128: error: The requested URL returned error: 403 while accessing https://github.com/yujinrobot/genmsg.git/info/refs

fatal: HTTP request failed

[/vcstools]

[genmsg] Done.

All of the genmsg files appear to be checked out correctly though. When running "winros sdk configure" I then get the error below. Any ideas on how to fix this?

-- +++ winros -- Building stack winros Boost found. Found Boost components:
datetime;thread -- winroscpptutorials: 0 messages -- +++ commonmsgs -- Building stack commonmsgs -- geometrymsgs: 23 messages Boost found. -- sensormsgs: 18 messages -- navmsgs: 5 messages -- actionlibmsgs: 3 messages -- visualizationmsgs: 10 messages -- stereomsgs: 1 messages -- diagnosticmsgs: 3 messages -- trajectorymsgs: 2 messages -- shapemsgs: 4 messages -- +++ actionlib -- Building stack actionlib Boost found. Found Boost components:
thread;datetime -- Generating .msg files for action actionlib/Test C:/work/sdk/actionlib/action/Test.action -- Generating .msg files for action actionlib/TestRequest C:/work/sdk/actionlib/action/TestRequest.action -- Generating .msg files for action actionlib/TwoInts C:/work/sdk/actionlib/action/TwoInts.action C:/work/sdk/genmsg/cmake/pkg-genmsg.cmake.em:33: error: : [Errno 2] No such file or directory: 'C:/work/buildsdk/actionlib/actionsgen/TestAction.msg' Traceback (most recent call last):
File "C:\Python27\lib\site-packages\em.py", line 3288, in if _
name__ == 'main': main() File "C:\Python27\lib\site-packages\em.py", line 3286, in main invoke(sys.argv[1:]) File "C:\Python27\lib\site-packages\em.py", line 3269, in invoke interpreter.wrap(interpreter.file, (file, name)) File "C:\Python27\lib\site-packages\em.py", line 2273, in wrap self.fail(e) File "C:\Python27\lib\site-packages\em.py", line 2264, in wrap apply(callable, args) File "C:\Python27\lib\site-packages\em.py", line 2337, in file self.safe(scanner, done, locals) File "C:\Python27\lib\site-packages\em.py", line 2379, in safe self.parse(scanner, locals) File "C:\Python27\lib\site-packages\em.py", line 2399, in parse token.run(self, locals) File "C:\Python27\lib\site-packages\em.py", line 1410, in run interpreter.execute(self.code, locals) File "C:\Python27\lib\site-packages\em.py", line 2576, in execute exec statements in self.globals File "", line 24, in File "C:/work/sdk/genmsg/src\genmsg\deps.py", line 14, in findmsgdependencies spec = genmsg.msgloader.loadmsgfromfile(msgcontext, msgfile, fulltypename) File "C:/work/sdk/genmsg/src\genmsg\msgloader.py", line 279, in loadmsgfromfile with open(filepath, 'r') as f: IOError: [Errno 2] No such file or directory: 'C:/work/buildsdk/actionlib/actionsgen/TestAction.msg' -- Configuring done -- Generating done -- Build files have been written to: C:/work/buildsdk

Asked by david.hodo on 2012-08-31 12:39:51 UTC

Comments

Works for me. Have you got the very latest winros.bat and win-rosinstall? Especially the latter - I had to upgrade a couple of times to get it working with tags and then to add rosws functionality.

Asked by Daniel Stonier on 2012-09-01 05:25:13 UTC

Works for me. Two quick questions:

Asked by Daniel Stonier on 2012-09-01 05:25:15 UTC

I do have the latest winros.bat and win-rosinstall (downloaded again this morning). I actually have it working on another computer now, but I have no idea what the difference is. The system it's failing on is a clean Win7-64 install on a virtual machine with only Visual Studio 2010 and winros.

Asked by david.hodo on 2012-09-04 10:29:35 UTC

TestAction.msg does not exist anywhere on the system, but I can't figure exactly what's trying to call it to troubleshoot.

Asked by david.hodo on 2012-09-04 10:30:24 UTC

Answers