How can I pass path to my location of boost library and its version to mongo's scons script ?

33 views
Skip to first unread message

Ruslan

unread,
Oct 31, 2012, 1:35:06 AM10/31/12
to mongo...@googlegroups.com
How can I pass path to my location of boost library and its version to mongo's scons script ?

I'm trying to build it in Windows against Boost 1.51

I need to set version because TIME_UTC was renamed in latest version of boost and I get compile errors in src\mongo\util\time_support.cpp

Thanks!

gli

unread,
Nov 5, 2012, 10:15:34 AM11/5/12
to mongo...@googlegroups.com
You can add the following lines to SConstruct file, right after env is defined:
 
env.Append(CPPPATH='your_boost_1_51_root_directory')
env.Append(LIBPATH='your_boost_1_51_pre_built_lib_directory')
Reply all
Reply to author
Forward
0 new messages