[OSX] Building errors under Mac OS X

Bug #585711 reported by Wolf St. Kappesser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Status tracked in S25client
S25client
Fix Released
Medium
FloSoft

Bug Description

Hi,

I get the appended errors. Seems to be a conflicting architecture issue (thank you apple!) between i386 and x86_64. I use macports to get the needed libs and they are compiled for x86_64 only (which is enough for Intel-Macs, because the oldest Intel Mac support x86_64).

Attachment:
Error logs from:

::xcodebuild_err_log.txt::
$ cmake.sh (+ edit "-G Xcode" in file)
$ xcodebuild

::others::
standard unix like building without changes

Tags: all-rev
Revision history for this message
Wolf St. Kappesser (wsk) wrote :
Revision history for this message
Wolf St. Kappesser (wsk) wrote :
Revision history for this message
Wolf St. Kappesser (wsk) wrote :
FloSoft (flosoft)
tags: added: all-rev
removed: cmake make osx xcode
Revision history for this message
FloSoft (flosoft) wrote :

you can use the "--disable-arch" switch of the cmake.sh script to remove architectures from the build-list.

alternatively, you can download the frameworks-package from files and use them, they're universal, but perhaps you have to disable the macports variants of the libraries then first.

which version of cmake do you use? that policy-warning is new for me (but I'll change that)

Revision history for this message
Wolf St. Kappesser (wsk) wrote :

cmake -version
cmake version 2.8.1

PS:
On OSX they should use xcodebuild instead of make if using cmake

Revision history for this message
FloSoft (flosoft) wrote :

added the policy setting in rev6438,
added automatic XCode generation in rev6440

cmake searches for available architectures in $SDK/usr/lib/libSystem.B.dylib
so if it finds i386, it will build i386 - besides you specify "--no-arch=i386" or "--disable-arch=i386" on the commandline of "cmake.sh"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.