-
Notifications
You must be signed in to change notification settings - Fork 356
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
Building on Windows with Eigen 3.4 takes a LOOOOOT of time #116
Comments
same issue happen to me, Debug build was almost fast. but release taking more that 5 hours and I'm still waiting |
I am having this issue as well. Were any of you able to work around this? @irenji @cdcseacave |
Same issue here, any solution? |
It seems to work fine on linux and osx, it seems that on windows the compiler runs out of resources. I experienced that on my machine and also on my attempt to add the CI on github actions Maybe trying with precompiled headers? |
Using the MinGW64 toolchain on Windows significantly speeds up the building process--it takes around 3 minutes on my machine. MinGW64 provides gcc, making the compilation process akin to a Linux environment. In case it is helpful (and as a reference for myself in the future :)), below I add steps to get (py)opengv up and running. Warning There is a specific issue that needs to be solved first. OpenGV defines #ifdef WIN32 to #if defined(WIN32) && !defined(__MINGW32__)
|
Sometimes it is even crashing the machine as it runs out of memory even though I have 32GB RAM.
Most probably it is not particular to opengv but any library using heavy templates. Does anybody have any suggestion how to make it compile (not run OOM) or even speed up? Are there any flags I can use?
The text was updated successfully, but these errors were encountered: