Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install lcm1.5.0 on windows 11 #485

Open
JackieesLiao opened this issue Jan 3, 2024 · 5 comments
Open

How to install lcm1.5.0 on windows 11 #485

JackieesLiao opened this issue Jan 3, 2024 · 5 comments

Comments

@JackieesLiao
Copy link

How should I install LCM1.5.0 on win11?
The environments I already have are CMake, msys2, and VS2022, but I can’t compile through CMake. There are a lot of errors in VS2022. What should I do? Does anyone have a windows vs installation tutorial? help

@nosracd
Copy link
Contributor

nosracd commented Jan 3, 2024

This README is the closest thing there is to a tutorial. It would also be helpful if you could post the errors you are encountering (as well as your output from running cmake).

@JackieesLiao
Copy link
Author

For the previous question, I added these lines to the cmake GUI
D:/msys2/mingw64/lib/glib-2.0/include
D:/msys2/mingw64/include/glib-2.0
D:/msys2/mingw64/lib/libglib-2.0.dll.a
D:/msys2/mingw64/bin/libglib-2.0-0.dll,
This way the configuration and generation can be successful.

@JackieesLiao
Copy link
Author

But I created an LCM project in VS2022 and imported the corresponding lcm.lib and lcm header files. It can be compiled normally, but the listener cannot receive data and only bind no error is displayed. What should I do?

However, I created an LCM project in VS2022 and imported the corresponding lcm.lib and lcm header files. It can be compiled normally, but the listener cannot receive data and only bind no error is displayed. What should I do? Click subscribe and see that lcm-cpp-impl.hpp reports a bunch of undefined identifiers such as "ReceiveBuffer"
Wrong, but why can I compile and pass?
e8d3aa4cf2cc)

@JackieesLiao
Copy link
Author

屏幕截图 2024-01-04 102231

@knutur94
Copy link

What do you do in order to install it on VS2022?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants