On Mon, Aug 10, 2009 at 7:36 PM, ML<mailingli...@mailnewsrss.com> wrote: > Everyone, > >>>> What is the command to force 32-bit carbon as now that I set 10.4 as my >>>> SDK and I am running on a 64 -bit machine I am getting errors like: >>>> >>>> In file included from /Volumes/Data/jtsm/Checkout/Universal >>>> GUI/source/thirdparty/OSX/MoreFilesX/MoreFilesX.c:80: >>>> >>>> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:6: >>>> error: #error 64-bit not supported >> >>> Just set CMAKE_OSX_ARCHITECTURES to i368, ppc or if you want a universal >>> binary, "i368;ppc" >> >> I have: >> >> SET (CMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk) >> SET (CMAKE_OSX_DEPLOYMENT_TARGET=10.4) >> SET (CMAKE_OSX_ARCHITECTURES="i368;ppc") > > And, yes for clarity i did change the above from Michael to say: > > SET (CMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk) > SET (CMAKE_OSX_DEPLOYMENT_TARGET=10.4) > SET (CMAKE_OSX_ARCHITECTURES="i386;ppc") > > [CMAKE_OSX_ARCHITECTURES was wrong.] > > Still errors I mentioned. > > -Jason > >
What version of CMake are you using? I'm not sure if the CMAKE_OSX_DEPLOYMENT_TARGET was included in the CMake 2.6 branch. You may also have to set these BEFORE the first time you ever run CMake in your build directory. I don't have access to cmake at the moment (wrong computer.. ) so I can not check how those variables are initialized. -- Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software www.bluequartz.net _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake