boost on windows cmd prompt

Hi, I am trying to use boost for my application and builds using command prompt on windows. I am using VC8.0 1) when I invoke build for the my code..i see the following error messages. Any clue?? "Unknown compiler version - please run the configure tests and report the results D:\boost\boost_1_34_1\boost/type_traits/is_integral.hpp(60) : error C2039: 'ulong_long_type' : is not a member of 'boost' D:\boost\boost_1_34_1\boost/type_traits/is_integral.hpp(60) : error C2065: 'ulong_long_type' : undeclared identifier D:\boost\boost_1_34_1\boost/type_traits/is_integral.hpp(60) : error C2913: explicit specialization; 'boost::is_integral' is not a specialization of a class template D:\boost\boost_1_34_1\boost/type_traits/is_integral.hpp(60) : error C2913: explicit specialization; 'boost::is_integral' is not a specialization of a class template D:\boost\boost_1_34_1\boost/type_traits/is_integral.hpp(60) : error C2913: explicit specialization; 'boost::is_integral' is not a specialization of a class template" 2) how to run $BOOST_ROOT/libs/configure on windows command prompt ?? appreciate any help. regards, praveen

On Mon, 08 Dec 2008 13:17:20 +0530, praveen Buddhi
2) how to run $BOOST_ROOT/libs/configure on windows command prompt ??
I do not think you have built boost and installed. You first need 'bjam', a tool used to build the rest of boost. Also, the current release of boost is 1.37, I suggest use that unless you have to use the older version. You can download bjam source and build it, it is quite trivial. I guess there is a batch file for windows and it is build clean if you have visual studio in the default path. Once you have bjam, go to boost source root folder and build it using bjam. Check the boost build page for more details. -dhruva -- Contents reflect my personal views only!

praveen Buddhi wrote:
Hi,
I am trying to use boost for my application and builds using command prompt on windows. I am using VC8.0
1) when I invoke build for the my code..i see the following error messages. Any clue??
You shouldn't see any of those errors from VC8. Looks like either: * Your Boost source tree is corrupted, or * You're not really using VC8 in spite of what you may think. * You're using an old/outdated version of Boost. * You have more than one Boost version in your compilers include paths. Or something else I haven't thought of :-) Whatever, I suggest you do a clean unpack of a recent Boost release, check that your compilers include path has one Boost version in it only, and then try again. HTH, John.
participants (3)
-
Dhruva Krishnamurthy
-
John Maddock
-
praveen Buddhi