yunshengtian / Assemble-Them-All

[SIGGRAPH Asia 2022] Assemble Them All: Physics-Based Planning for Generalizable Assembly by Disassembly

Home Page:http://assembly.csail.mit.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I would like to ask if this code can be run in a Windows environment?

Zlzxzw1234 opened this issue · comments

It should be, but I have not tested it. The simulation compilation may need some custom steps, and I am not sure if all dependencies run smoothly on Windows.

I'm glad this thread was made because I had the same question.

It should be, but I have not tested it. The simulation compilation may need some custom steps, and I am not sure if all dependencies run smoothly on Windows.

exactly what environment was it created in?

I'll try to get it working in windows but the redmax_py library doesn't seem to be building.

This is from my labmate who tried to build on windows and made it work. Let me know if this helps.

"When running python setup.py install, you might encounter some compile errors with M_PI being undefined or something like that. To fix it, add #define _USE_MATH_DEFINES to the top of simulation/redmax/CollisionDetection/ode/odeBoxBox.cpp. In addition, comment out the line set(CMAKE_CXX_STANDARD_LIBRARIES -ldl) in both simulation/CMakeLists.txt and simulation/redmax/CMakeLists.txt , since this library doesn't exist on Windows."

And use this environment yml instead: https://drive.google.com/file/d/1FZm8f-d3ba09MEEIJ1fQkRw7fnKZStaw/view?usp=sharing