I am compiling Boot 1_35_0 with Visual Studio 2008 under Windows XP,
and at compile time I get the following message:
Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately
Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target)
Following the advice, I then defined the following macro:
_WIN32_WINNT=0x0501
However now I get the following errors:
d:\program files\microsoft visual studio
9.0\vc\atlmfc\include\afxdlgs.h(235) : error C2504:
'IFileDialogEvents' : base class undefined
d:\program files\microsoft visual studio
9.0\vc\atlmfc\include\afxdlgs.h(244) : error C2061: syntax error :
identifier 'FDE_SHAREVIOLATION_RESPONSE'
d:\program files\microsoft visual studio
9.0\vc\atlmfc\include\afxdlgs.h(246) : error C2061: syntax error :
identifier 'FDE_OVERWRITE_RESPONSE'
d:\program files\microsoft visual studio
9.0\vc\atlmfc\include\afxdlgs.h(249) : error C2504:
'IFileDialogControlEvents' : base class undefined
What macros do really need to be defined?
What values should be assigned for Windows XP?
Thanks,
Jean
_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Jean-Sebastien Stoezel wrote:
> I am compiling Boot 1_35_0 with Visual Studio 2008 under Windows XP,
>
Can you be a little more precise about what you are trying to do?
Are you trying to build the boost libraries as described here
http://www.boost.org/doc/libs/1_36_0/more/getting_started/windows.html#or-build-binaries-from-source
or are you trying to compile a progam using boost, or what?
In Christ,
Steven Watanabe
Jean-Sebastien Stoezel wrote:
> I'm compiling a program with boost. Everything is properly compiled
> and linked except I get this message during compile time.
>
Do you have a small test case that you can post?
Jean-Sebastien Stoezel wrote:
> Unfortunately no
>
Hmm. The warning is coming from boost/asio/detail/socket_types.hpp, right?
So... are you sure that you defined _WIN32_WINNT correctly?
asio just does
# define _WIN32_WINNT 0x0501
So if you do the same thing yourself it should be ok.
Ad maiorem Diabolus gloriam
http://en.wikipedia.org/wiki/AMDG
Scott McMurray wrote:
> On Wed, Oct 29, 2008 at 17:09, Rodrigo Madera <rodrigo...@gmail.com> wrote:
>
>> AMDG?
>>
>
> Ad maiorem Diabolus gloriam
>
Absolutely *not*. Ad Majorem Dei Gloriam.
In Christ,
Steven Watanabe