raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
341 stars 91 forks source link

[RaisimServer.hpp:800]"Version mismatch. Make sure you have the correct visualizer version" #464

Closed lihaoming45 closed 1 year ago

lihaoming45 commented 1 year ago

When I click the "RaiSimUnity.exe" app in win32 folder, and then run the "heightMap.py", the terminal console reports the error as follows: "aisimServer.hpp:844] Version mismatch. Make sure you have the correct visualizer version" image

jhwangbo commented 1 year ago

Our raisimPy packages are outdated. You have to build them yourself. Pass -DRAISIM_PY=ON to CMAKE and install the raisim library. It will install raisimPy file to your python environment.

lihaoming45 commented 1 year ago

Thank you for the reply. I have already set the -DRAISIM_PY=ON in CMAKE command, and generated the following file:"raisimpy.cp38-win_amd64.pyd" at the folder "raisim\win32\bin\Release", but the problem still exists, I think there may be some trick ignored image

image

jhwangbo commented 1 year ago

It seems like you updated the cp37 file. But that file should be installed in your python environment. You can manually do that by copying that file to the site-package folder. Or you can use the cmake install command

lihaoming45 commented 1 year ago

It seems like you updated the cp37 file. But that file should be installed in your python environment. You can manually do that by copying that file to the site-package folder. Or you can use the cmake install command

I use the CMAKE command from the RaiSim website as follows: image As you can see the" -DRAISIM_PY=ON", but still, the raisimPy package still not installed to the python environment.

Could tell me the right command (CMAKE or others) that can be applied for the windows system?

jhwangbo commented 1 year ago

can you pull and try to install again?

jhwangbo commented 1 year ago

Please do not paste an image. Image is not searchable

lihaoming45 commented 1 year ago

Please do not paste an image. Image is not searchable

Thank you so much, The problem has been solved, I tried to copy the "raisimpy .lib" to the "libs" folder of the python environment and the "raisimpy.cp38-win_amd64.pyd" to the site-packages, then I copy the whole folder of of raisim/win32 (including bin, lib, include) to the "Library" folder. Finally, the problem is solved!