Boost logo

Boost Users :

From: Mark Roden (mmroden_at_[hidden])
Date: 2007-11-11 16:26:25


Hi everyone,

I'm trying to get leopard and boost to play nice, so that I can use dicomlib
for another app. Apparently, dicom lib requires boost, because it gives 116
error messages if you try to compile in xcode without it.

To repro:
1) download dicomlib from
http://dicomlib.swri.ca/joomla/index.php?option=com_remository&Itemid=26&func=fileinfo&id=32
2) put those files into an xcode project
3) watch as they don't compile with 116 errors all related to boost

I've tried:
1) including the boost header files in the xcode project. xcode doesn't
care unless I change all the < to ", which is painful, time consuming, and
frankly, stupid.
2) installing boost at /usr/local/include using
./configure
make
sudo make install
as an administrator. Of course, the boost library is handily titled
'boost-1_34_1' instead of something like 'boost', which means that I have to
soft link it using ln -s. Neither the regular install nor the ln option
gets around the 115 compile errors.
3) I tried bjam -sTOOLS=darwin and bjam -sTOOLS=darwin -sBUILD=framework,
neither of which work, both of which give errors that ld -h is an
unrecongized option. I don't know where the linker options are defined, so
maybe just getting rid of -h would do it, but that switch probably means
something, so just wholesale removing a compiler switch may not be the best
move.

So here's the real question: How do I make this work? I've lost about 24
hours to this, and I just don't see how it's gonna work.

In the meantime, I'm guessing I'm gonna go with
http://www.apple.com/downloads/macosx/math_science/quickdicomtoolkit.html

but knowing my luck, that will require something similar as well....

Thanks for your help,
Mark



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net