Hi, I need to build jsoncpp library on OS X 10.8.3. There is x86_64 architecture, but i have to use jsoncpp in i386 architecture Xcode project (unfortunately i have to use Xcode 3.2.5 with sdk10.6). How can I do that? When I run 'scons platform=linux-gcc' it seems to create working library only for x86_64 projects. I tried to modify SConstruct file adding -arch i386 flag, but it doesn't work. I have no experience in building and installing c++ libraries on Mac, so I'd really appreciate your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I need to build jsoncpp library on OS X 10.8.3. There is x86_64 architecture, but i have to use jsoncpp in i386 architecture Xcode project (unfortunately i have to use Xcode 3.2.5 with sdk10.6). How can I do that? When I run 'scons platform=linux-gcc' it seems to create working library only for x86_64 projects. I tried to modify SConstruct file adding -arch i386 flag, but it doesn't work. I have no experience in building and installing c++ libraries on Mac, so I'd really appreciate your help.
Use the new CMake system. Works for me.