Can’t compile all projects in APEX source include with UE 4.8.2 source off github.
When I replaced this code with PhysX and APEX code from SDK, it works fine, but then Engine fails to compile. I don’t remember this happening with non-release version of 4.8.2.
Okay, so engine compiles fine, but when I run editor, it crashes, and when debugging I get this error.
Hi Feuern_D,
Thanks for your report! I’ve assigned someone to look into issue for you, and they’ll post here if they have any questions.
Hi Feuern,
I just freshly downloaded 4.8.2 source from GitHub and I’m not experiencing any issues compiling APEX projects. To be clear on what I did exactly:
- After unzipping files, I ran Setup.bat to download dependencies
- Once Setup.bat finished, I ran GenerateProjectFiles.bat
- Once that finished, I navigated to “UnrealEngine-4.8.2-release\Engine\Source\ThirdParty\PhysX\APEX-1.3\compiler\vc12win64-PhysX_3.3” and opened “APEX.sln”
- Once it opened, I hit ‘Build’ from build menu at top of VS2013 and it compiled without any issues.
Could you try redownloading source and following these steps to see if it’ll work for you? If not, at least we will know a general scope of where issue is occurring.
I’ll try it, I was also compiling PhysX.sln prior to compiling APEX because I was under assumption that it was reliant on it.
Same thing, I tried compiling debug, profile, checked and release, and each one fails at one part or another. I followed your exact steps, and after it failed I compiled PhysX also, which compiled fine, and APEX still fails to build one of projects. I haven’t compiled engine yet to see how that goes, that’s my next step.
It seems to be hard coded for a D drive file, and I don’t have a D drive.
Are all 5 projects compiling for you?
Yes, all 5 are compiling for me. You may be onto something with D: drive comment, I’ll look into it and see if that could be cause.
I had sources on f: drive - no problem with compilation.
And now I have sources on g: drive (ssd ) - and again no problem with compilation.
I was compiling: first Physx sources → batch build->select all-> build.
then APEX → batch build → select all → build.
And one question @Feuern_D: why don’t you search output for error message?
We see that doesn’t compile correctly but no one can help you without understanding of compilation error.
I’m trying batch build now.
Fixed it. I changed foD to foF and I changed D drive to my F drive, and everything compiled.
I appreciate you guys taking time to help me try to figure it out though, I assume it’s something weird on my end that caused this though.
Hello Feuern_D,
I’ve personally never encountered this error before but if batch build doesn’t work for you, please try changing Output Directory (Project->Properties->General->Output Directory) to a few different locations to see if it may be directory itself that is causing issue.
Hope this helps!
Glad to hear that you fixed issue. I’ll be moving this issue to our Installation & Setup section due to nature of post/solution.
Have a nice day,