|
From: Luigi B. <lui...@gm...> - 2007-11-29 08:28:15
|
On Wed, 2007-11-28 at 11:34 -0800, mattknox_ca wrote: > So to try and get it to detect the unit test framework, I copied the > compiled boost_unit_test_framework files into C:\msys\1.0\local\lib and then > instead typed: export CPPFLAGS="-I/local/include -L/local/lib" , hoping that > the configure script would detect the unit test framework then. But > unfortunately it still does not. Perhaps what I am doing is completely > naive, I'm not really sure. That would be: export CPPFLAGS="-I/local/include" export LDFLAGS="-L/local/lib" since the latter is needed by the linker, not the compiler. However, there's a couple of switches in configure you can use instead of environment variables---try running ./configure --with-boost-include=/local/include --with-boost-lib=/local/lib instead. It has a few advantages over environment variables. Luigi -- Hanlon's Razor: Never attribute to malice that which is adequately explained by stupidity. |