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

Skip to first unread message

Hongkai Dai

Jan 23, 2015, 1:02:20 PM1/23/15
to, 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 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 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 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

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


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
To post to this group, send email to
Visit this group at
For more options, visit

Hongkai Dai

Jan 23, 2015, 3:06:00 PM1/23/15
Thank you! I tried 1.2.1 and now I can build lcm-python
Reply all
Reply to author
0 new messages