World DLL too big? Error status 0xc000007b

I think I know what you mean. In earlier attempts when I was trying to make my own build (with cuda), I was waiting 10 hours to get it compiled, just to get a lot of errors, having gigabytes of wasted hard disk space (I forgot if it was 10GB or 40GB) and failing to build opencv_world in the end.

Three weeks ago I found here in forum the installation guide made by user cudawarped. After manually removing the python stuff and adding OpenMP support, It took like 2-3 hours to compile opencv 4.11.0 and all together it takes 1GB, half of them are test/perf exe files. The opencv_world4110.dll is about 250MB, the debug version 350MB and they work.

I wish he would add the advice to build the debug version before the release version or the samples exe files will overwrite the release exe’s. I would also like to know if there’s a way to add the set CMAKE_BUILD_PARALLEL_LEVEL=<N_THREADS> aswell as the parameter -G"Ninja Multi-Config" to cmake_gui, because it’s still a bit more comfortable.

1 Like