Page 1 of 1

A problem about Compiling on Windows

Posted: Wed Jun 06, 2018 4:12 pm
by jiangjingyi1989
Hi everyone,
I am trying to build the LuxCoreRender following WindowsCompile Readme from GitHub (https://github.com/LuxCoreRender/WindowsCompile). My system is Win10 64 bit with VS 2017 (Community). After I run cmake-build-x64.bat with VS2017 x64 command prompt with no error, I tried to run the 'LuxRays.sln' but met with the error "The application was unable to start correctly (0xc000007b). Click OK to close the application." like I showed in the image. Is anyone know what is going wrong?
1.png
Thanks a lot !

Jingyi

Re: A problem about Compiling on Windows

Posted: Wed Jun 06, 2018 4:25 pm
by Dade
jiangjingyi1989 wrote: Wed Jun 06, 2018 4:12 pm After I run cmake-build-x64.bat with VS2017 x64 command prompt with no error
After you have run "cmake-build-x64.bat", run "create-standalone.bat" to collect all the executables/DLLs in "luxcorerender" directory (as the .zip available form the the download section of the Web site).
jiangjingyi1989 wrote: Wed Jun 06, 2018 4:12 pm I tried to run the 'LuxRays.sln' but met with the error "The application was unable to start correctly (0xc000007b). Click OK to close the application." like I showed in the image. Is anyone know what is going wrong?
The required DLLs, may be not in your path. You can find the list of required DLLs to run LuxCore executables in "create-standalone.bat" script. As a test, try to copy the luxcoreui executable in a directory with the same DLLs copied by "create-standalone.bat"; you should be than able to run the executable without error.

Re: A problem about Compiling on Windows

Posted: Thu Jun 07, 2018 8:11 am
by jiangjingyi1989
Hi , thanks for the help. We followed your instructions but we still have the same error. We also added the directory \luxcorerender\WindowsCompileDeps\x64\Release\lib in the PATH but it does not work.

Do you have an idea of what we could try?

Re: A problem about Compiling on Windows

Posted: Thu Jun 07, 2018 9:37 am
by acasta69
Have you installed the intel redistributable, as described at the end of this post :?:
viewtopic.php?f=9&t=400#p4314

It is necessary due to a bug in latest embree.

Re: A problem about Compiling on Windows

Posted: Thu Jun 07, 2018 12:09 pm
by jiangjingyi1989
perfect!
It worked. thanks a lot