building on Windows - can't make boost?


Jeremy Selan <jeremy...@...>
 

CMake is looking for the normal boost installation, and it can't find it.  Have you installed it in a non-standard location?

You can tell CMake about where boost is with:
-D BOOST_INCLUDEDIR
-D
BOOST_LIBRARYDIR

What OS are you on?  If you're on a recent linux or osx install, you probable can set OCIO_USE_BOOST_PTR to 'NO' (the default), and just use the built-in tr1 ptr.  If you're on windows though (without tr1 support) you'll need to use boost's ptr.

Note you'll want to do a clean build (rm -rf your build dirs) if you change these cmake options.

-- Jeremy


On Fri, Dec 9, 2011 at 11:53 AM, Paul Miller <pa...@...> wrote:
I keep getting this error:

OCIO_USE_BOOST_PTR is specified, but a boost installation could not be found.

I just installed a full boost Pro 1.47 installation - so what exactly is cmake looking for? I don't see any configuration variable that lets you tell it exactly where to look.


Paul Miller <pa...@...>
 

On 12/9/2011 2:02 PM, Jeremy Selan wrote:
CMake is looking for the normal boost installation, and it can't find
it. Have you installed it in a non-standard location?
Depends on what a "standard" location is on Windows - it's all a big mess there.

You can tell CMake about where boost is with:

|-D| BOOST_INCLUDEDIR|
Thanks for that. I added an entry into Cmake-gui and pointed it at C:\Program Files (x86)\boost\boost_1_47 and it works. Thanks!