Problems building winros [closed]

asked 2012-08-31 12:39:51 -0600

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?

-- +++ win_ros -- Building stack win_ros Boost found. Found Boost components:
date_time;thread -- win_roscpp_tutorials: 0 messages -- +++ common_msgs -- Building stack common_msgs -- geometry_msgs: 23 messages Boost found. -- sensor_msgs: 18 messages -- nav_msgs: 5 messages -- actionlib_msgs: 3 messages -- visualization_msgs: 10 messages -- stereo_msgs: 1 messages -- diagnostic_msgs: 3 messages -- trajectory_msgs: 2 messages -- shape_msgs: 4 messages -- +++ actionlib -- Building stack actionlib Boost found. Found Boost components:
thread;date_time -- 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: <type 'exceptions.ioerror'="">: [Errno 2] No such file or directory: 'C:/work/build_sdk/actionlib/actions_gen/TestAction.msg' Traceback (most recent call last):
File "C:\Python27\lib\site-packages\em.py", line 3288, in <module> 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 "<string>", line 24, in <module> File "C:/work/sdk/genmsg/src\genmsg\deps.py", line 14, in find_msg_dependencies spec = genmsg.msg_loader.load_msg_from_file(msg_context, msg_file, full_type_name) File "C:/work/sdk/genmsg/src\genmsg\msg_loader.py", line 279, in load_msg_from_file with open(file_path, 'r') as f: IOError: [Errno 2] No such file or directory: 'C:/work/build_sdk/actionlib/actions_gen/TestAction.msg' -- Configuring done -- Generating done -- Build files have been written to: C:/work/build_sdk

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-04-07 00:38:03.505179

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.

Daniel Stonier gravatar image Daniel Stonier  ( 2012-09-01 05:25:13 -0600 )edit

Works for me. Two quick questions:

Daniel Stonier gravatar image Daniel Stonier  ( 2012-09-01 05:25:15 -0600 )edit

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.

david.hodo gravatar image david.hodo  ( 2012-09-04 10:29:35 -0600 )edit

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

david.hodo gravatar image david.hodo  ( 2012-09-04 10:30:24 -0600 )edit