[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libcvd-members] Camera problems on OSX
From: |
Damian Stewart |
Subject: |
Re: [libcvd-members] Camera problems on OSX |
Date: |
Wed, 5 May 2010 10:28:09 +0200 |
On 30 Apr 2010, at 08:45, Gerhard Reitmayr wrote:
> yes, its very annoying... has anyone tried compiling libcvd as 32 bit and
> see, if the API works then ?
hey,
i'm on 10.6 and i've got libcvd working fine. i use the following script
(~/bin/configure-10.5-32bit) which forces OSX to use the 10.5 SDK, 32 bit, GCC
4.2 (for well-behaved ./configure scripts, anyway):
#!/bin/bash
SDK="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
SDKLIB="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk"
export MACOSX_DEPLOYMENT_TARGET="10.5"
ARCH="-arch i386"
export CFLAGS="$ARCH $SDK -mmacosx-version-min=10.5"
export CXXFLAGS="$ARCH $SDK -mmacosx-version-min=10.5"
export CPPFLAGS="$ARCH $SDK -mmacosx-version-min=10.5"
export LDFLAGS="$ARCH $SDKLIB -mmacosx-version-min=10.5"
CC="/usr/bin/gcc-4.2"
CXX="/usr/bin/g++-4.2"
OBJC="/usr/bin/gcc-4.2"
./configure $1 $2 $3 $4 $5 $6 $7 $8 $9
--
damian stewart . @damiannz . address@hidden
frey . contemporary art . http://www.frey.co.nz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [libcvd-members] Camera problems on OSX,
Damian Stewart <=