Adventures reverse engineering...
Turning the thread in the direction of iOS, sorry about that, but similar
problems I think.
If I don't fill in any CMake architecture related variables at all, I get a
"standard" Mac OS X app for Intel. But universal, both 32/64 bit, very
impressive:
Architect
Maybe this will help:
On Lion 10.7.x (and I think Snow Leopard 10.6.x) if you leave the
CMAKE_OSX_ARCHITECTURES blank you will get the default compile which is x86_64
(64 bit). OS X 10.5 and below you will get i386 (32 bit).
If you want to specifically build for certain architectures then fil
Hi,
And which one is which?
In Xcode (4.2), Lion, 64 bit Intel platform, a standard Xcode Mac OS X
"template" will give these build settings in the Architectures section:
Architectures
Additional SDKs
Architectures 64-bit Intel -
$(ARCHS_STANDARD_64_BIT) (thi
What about moving to 64 bits?
(which I guess is more relevant for Lion apps)
In your build directory:
ccmake .
Then modify:
CMAKE_OSX_ARCHITECTURES x86_64
CMAKE_OSX_DEPLOYMENT_TARGET 10.7
CMAKE_OSX_SYSROOT/Developer/SDKs/MacOSX10.7.sdk
Nicolas
On Tue, Dec 6, 201
Yes I'm using 2.8.6. Best, Dick Munroe
On 11/26/11 11:18 AM, David Cole wrote:
Are you using CMake 2.8.6...? Older CMake versions have not been used
much on Lion. It wouldn't surprise me if 2.8.6 works, but earlier
versions have issues...
HTH,
David
On Sat, Nov 26, 2011 at 6:37 AM, Daniel
Are you using CMake 2.8.6...? Older CMake versions have not been used
much on Lion. It wouldn't surprise me if 2.8.6 works, but earlier
versions have issues...
HTH,
David
On Sat, Nov 26, 2011 at 6:37 AM, Daniel Dekkers wrote:
> This:
>
> SET(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_32_BIT)")
This:
SET(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_32_BIT)")
seems to result in a "standard" Xcode setting (armv7 (standard)) which is also
set when you let Xcode create a fresh iOS app (from its own templates).
But you also see this a lot on the fora:
SET(CMAKE_OSX_ARCHITECTURES "$(ARCHS_UNIVE
There is a cmake variable that you set during onfiguration time.
Something like os_x_architectures. There you can add the specific arch
that you want to build for.
-
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz So
I've got a build that works just fine with Leopard.
For reasons I won't get into, I had to upgrade one of my systems to Lion
and now (I've installed XCode 4.2) the build won't work. I get the
following error:
[ 0%] Reaping winning child 0x10260c510 PID 1009
Live child 0x10260c510
(libxp/CM