Problem installing lcm-python and launch lcm-spy under Windows

177 views
Skip to first unread message

Hongkai Dai

unread,
Jan 23, 2015, 1:02:20 PM1/23/15
to lcm...@googlegroups.com, Alexander Y Chen
Hi guys,

We tried to install lcm 1.1.0 on a Windows 7 machine with Visual Studio 9. We can build the lcm.sln in WinSpecific folder, and then we can call lcm-gen to generate the lcm types. But we have some problem when we want to install lcm-python. What we did is
  1. In lcm-python folder, we call
    python setup.py install
    And the error message is 'cannot open source file : '..\lcm\ lcm_udp.c': No such file or directory'.
  2. We can find ..\lcm\lcm_udpm.c, so we replaced line 12 in setup.py to use lcm_udpm.c, but then we get another error:
    'cannot open source file : '..\WinSpecific\WinPorting.cpp': No such file or directory'.
  3. We can find the file in ..\lcm\windows\WinPorting.cpp. So we replaced line 54 of setup.py with the correct path, but still we get the error
    'lcm_udpm.obj : error LNK2019: unresolved external symbol XXXXXX'
    the symbols include '_lcm_buf_queue_is_empty', 'void__cdecl lcm_memg_provider_init(struct _GPtrArray *)', etc.


Our second problem is to get lcm-spy running. Which file should we compile to launch lcm-spy on Windows?

Thanks a lot for your kind help! We really appreciate it.

Albert Huang

unread,
Jan 23, 2015, 2:03:18 PM1/23/15
to lcm...@googlegroups.com, Alexander Y Chen
Have you tried the latest version of LCM? There have been some bugfixes since 1.1.0 that may be relevant.

Albert

--
You received this message because you are subscribed to the Google Groups "lcm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lcm-dev+u...@googlegroups.com.
To post to this group, send email to lcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/lcm-dev.
For more options, visit https://groups.google.com/d/optout.

Hongkai Dai

unread,
Jan 23, 2015, 3:06:00 PM1/23/15
to lcm...@googlegroups.com, ale...@mit.edu
Thank you! I tried 1.2.1 and now I can build lcm-python
Reply all
Reply to author
Forward
0 new messages