Open coolKeen opened 6 years ago
@mwoehlke-kitware
What branch/SHA are you on? I believe current master is linking the python module to a static copy of the main LCM library, and so should not be looking for liblcm.so.1
.
@mwoehlke-kitware I download zip v1.3.1 from https://github.com/lcm-proj/lcm/releases and follow the step mentioned by INSTALL file.
@mwoehlke-kitware I solve it by "cd lcm-python" and "python3 setup.py install" ~
@coolKeen i am trying using "cd lcm-python" and "python3 setup.py install" but it says GLIB_PATH environment variable not set
@mshaheerm, did you set GLIB_PATH
? I take it you are on Windows (if I am reading the code correctly, that error only happens on Windows). On Windows, there is not a standard location for installing software like on FHS-compliant systems, so you need to specify the location of glib by setting the GLIB_PATH
environment variable.
@mwoehlke-kitware yeah i did it to "GLIB_PATH=C:\MSYS2\msys64"
Are you using windows cmd
or an MSYS shell? If the former, you need to set GLIB_PATH=C:\MSYS2\msys64
. If the latter, you need to:
export GLIB_PATH=C:/MSYS2/msys64
# ...or...
GLIB_PATH=C:/MSYS2/msys64 python3 setup.py
If you just execute GLIB_PATH=C:\MSYS2\msys64
by itself, that is not visible to subprocesses. AFAICT, the "GLIB_PATH environment variable not set" only happens if... the variable is not set. (That is, if it is set, but set wrongly, you'd see some other error. Probably a build failure; there doesn't seem to be any attempt to check for a reasonable value.)
I install lcm on Ubuntu but finding the error like this: Do any one know what happened?Thanks in advance!