From: Patrick H. <pa...@13...> - 2007-06-28 02:40:07
|
Doug McCorkle wrote: > Hello, > I am trying to build CppDOM 0.7.8 on darwin and I get this error:= >=20 > using prefix: /Users/mccdo/Desktop/cppdom-0.7.8/build.darwin/instlinks= > types: [['debug', 'optimized'], True] > libtypes: [['shared', 'static'], False] > archs: [['ia32', 'ppc', 'ppc64', 'universal'], True] > Processing combo: type:debug, libtype:['shared', 'static'], =20 > arch:ia32 > Processing combo: type:debug, libtype:['shared', 'static'], =20 > arch:ppc >=20 > scons: warning: Two different environments were specified for target / = > Users/mccdo/Desktop/cppdom-0.7.8/build.darwin/instlinks/lib/debug/=20 > libcppdom-0_7_8.dylib, > but they appear to have the same action: installFunc(target, = > source, env) > File "/Users/mccdo/Desktop/cppdom-0.7.8/cppdom/SConscript", line 50, =20 > in ? >=20 > scons: *** Multiple ways to build the same target were specified =20 > for: /Users/mccdo/Desktop/cppdom-0.7.8/build.darwin/instlinks/lib/=20 > debug/libcppdom-0_7_8.dylib (from ['/Users/mccdo/Desktop/=20 > cppdom-0.7.8/build.darwin/type-debug--arch-ia32/cppdom/=20 > libcppdom-0_7_8.dylib'] and from ['libcppdom-0_7_8.dylib']) > File "/Users/mccdo/Desktop/cppdom-0.7.8/cppdom/SConscript", line 50, =20 > in ? > mccdo:~/Desktop/cppdom-0.7.8 mccdo$ scons BoostBaseDir=3D/opt/local =20 > BoostIncludeDir=3D/opt/local/include/boost-1_34 >=20 > The last line shows my build line. Not sure what I am doing wrong. In general, you shouldn't use the Spirit-based parser. As I understand it= , it's slower than the basic XML parser in CppDOM. What I am getting at wit= h this is don't tell the CppDOM build where to find Boost. Other than that, the only way that I can get CppDOM to build on Mac OS X = is to build it as a universal binary. The instructions for that are in the README file. The problem lies in SConsAddons, but I haven't been able to figure out what is really going wrong. -Patrick --=20 Patrick L. Hartling VP Engineering, Infiscape Corp. http://www.infiscape.com/ |