Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "Common Problems When Building OLA on Mac"

From wiki.openlighting.org

Jump to: navigation, search
(Created page with "== Architectures == Snow Leopard and newer builds binaries as 64-bit by default. If you need to build the libraries as 32-bit, use the following command to fetch with the right …")
 
(No difference)

Latest revision as of 20:58, 13 May 2012

Architectures

Snow Leopard and newer builds binaries as 64-bit by default. If you need to build the libraries as 32-bit, use the following command to fetch with the right architecture in ports:

  sudo port install pkgconfig cppunit +universal protobuf-cpp +universal unittest-cpp libmicrohttpd libusb +universal

And then modify the build step:

 export CPPFLAGS="-arch i386" 
 export LDFLAGS=" -arch i386"
 ./configure
 make
 make check

Mac OS X Version 10.4

If you're building for 10.4 you need to run configure and make with MACOSX_DEPLOYMENT_TARGET:

 export MACOSX_DEPLOYMENT_TARGET=10.4

otherwise you'll get errors in the form

/Developer/usr/bin/ld: multiple definitions of symbol _create  ../plugins/stageprofi/.libs/libolastageprofi.dylib(single module) definition of _create