Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-06-17 13:27:09


   Hi Arno.

> we have to switch our development environment from VS 2003 to VS 2005. To
> save work we order the precompiled 'BoostPro Standard Edition', because we
> want to use directly the VC80 libraries. During compiling we get with the
> new version the following error:
> e:\programme\microsoft visual studio 8\vc\atlmfc\include\afxv_w32.h(16) :
> fatal error C1189: #error : WINDOWS.H already included. MFC apps must not
> #include <windows.h>
>
> When we switch back only to the 1.33.1 includes it compiles without
> complaining this error. What kind of settings are wrong and where we have to
> switch something, that it will be also compiled with 1.35.0

   I do not know what BoostPro includes in its 'Standard Edition' or
what your program does. I have never encountered the error you mention
in any of our projects using MSVC 9.0 and Boost 1.35.0 so you will need
to give us a little bit more to go on before we can do anything to help you.

   A short example project reproducing the problem would be especially
helpful. :-)

   Best regards,
     Jurko Gospodnetić


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk