OSX SampleBrowser_postBuildPhase.makeDebug

Problems building or running the engine, queries about how to use features etc.
Post Reply
bgulanowski
Gnoblar
Posts: 1
Joined: Fri Sep 12, 2014 8:58 pm

OSX SampleBrowser_postBuildPhase.makeDebug

Post by bgulanowski »

This file is not generated correctly.

In the build parts 3 through 16, which create symbolic links, there are extraneous backslashes to escape spaces. For example:

Code: Select all

SampleBrowser_buildpart_3: 
	if\ [\ -d\ /Users/Shared/ogre-build-mac/lib/$(PLATFORM_NAME)/$(CONFIGURATION)/OgreOverlay.framework\ ]\;\ then\ ln\ -s\ -f\ /Users/Shared/ogre-build-mac/lib/$(PLATFORM_NAME)/$(CONFIGURATION)/OgreOverlay.framework\ /Users/Shared/ogre-build-mac/bin/$(CONFIGURATION)/SampleBrowser.app/Contents/Frameworks/OgreOverlay.framework\;\ fi
This leads to this build erro:

Code: Select all

/bin/sh: if [ -d /Users/Shared/ogre-build-mac/lib/macosx/Debug/OgreOverlay.framework ]; then ln -s -f /Users/Shared/ogre-build-mac/lib/macosx/Debug/OgreOverlay.framework /Users/Shared/ogre-build-mac/bin/Debug/SampleBrowser.app/Contents/Frameworks/OgreOverlay.framework; fi: No such file or directory
Removing the back slashes resolves the build errors.

I would like help figuring out where these backslashes originate from. I don't know cmake.

Thanks.
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 135
Contact:

Re: OSX SampleBrowser_postBuildPhase.makeDebug

Post by spacegaier »

Can you please check if that issues has been resolved? There were some related commits to the ogre source repositories in the meantime that should have taken care of that.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Post Reply