Download

Mac compile fails since 16th of april / physx::apex

Hi Epic,

Before 16th of april, my stuff compiled just fine. Then I did a git checkout which downloaded the newest version of the binary dependencies, and now my compile fails. I also updated XCode to the newest version, but that didn’t help. So basically

$ Engine/Build/BatchFiles/Mac/Build.sh UE4Editor macosx Debug

crashes with

Undefined symbols for architecture x86_64:
“physx::apex::ApexRWLockableScopedDisable::ApexRWLockableScopedDisable(physx::apex::NxApexRWLockable*)”,

and more, which to me looks like the gitdeps.xml file has a problem. Here’s a gist of me trying to compile
https://github.com/EpicGames/UnrealEngine/tree/release

I already tried the obvious things like “Engine/Build/BatchFiles/Mac/Build.sh clean UE4Editor macosx Debug”, deleting the Thirdparty folder, re-running setup.sh, updating XCode and cloning the source repo fresh from github.

Can anyone confirm that compiling 4.7.6 on Mac works?

Best regards,
Hajo Nils Krabbenhöft

Removing .ue4dependencies and then git checkout -f – fixed the problem :slight_smile:

@Epic: It would be helpful to document that the Setup.sh caches stuff in .ue4dependencies

Hi fxtentacle,

I’m unclear on why you’re using the .sh files for a Mac build. If you’re building for OSX, you’d want to use Setup.command, instead.