vislearn / dsacstar

DSAC* for Visual Camera Re-Localization (RGB or RGB-D)
BSD 3-Clause "New" or "Revised" License
251 stars 36 forks source link

import dsacstar:ImportError: DLL load failed: The specified module could not be found #32

Closed lwhhhh13 closed 3 months ago

lwhhhh13 commented 4 months ago

Hello, it seems that my C++ extension is not compiling successfully. I have already installed setup.py, and it shows "Finished processing dependencies for dsacstar==0.0.0", indicating that the module seems to have been compiled correctly and I can import dsacstar. However, why do I still get an error when I run traine2e.py: "ImportError: DLL load failed: The specified module could not be found."? Can you help me with this?

ebrach commented 3 months ago

Hi! Looks like you are trying to run DSAC* on Windows. This is something we never tried, and we cannot provide support for, unfortunately.

ebrach commented 3 months ago

NG-RANSAC uses code that is similar to that of DSAC*, and someone managed to get NG-RANSAC working on Windows. They kindly documented their approach in the NG-RANSAC repository. Maybe that is useful to you: https://github.com/vislearn/ngransac/issues/21

lwhhhh13 commented 3 months ago

NG-RANSAC 使用的代码与 DSAC* 的代码类似,有人设法让 NG-RANSAC 在 Windows 上运行。他们亲切地在NG-RANSAC存储库中记录了他们的方法。也许这对你有用:vislearn/ngransac#21 Thank you for your reply,I‘m going to learn about it.