Intel C++ Compiler for windows

Intel C++ Compiler for windows

Iam using Intel C++ Compiler for VC++ 6.0 for compiling the
ATL Project and when i compile it
it shows

C:Program FilesMicrosoft Visual StudioVC98ATLINCLUDEatlwin.h(19): catastrophic error: #error directive: atlwin.h requires atlbase.h to be included first
#error atlwin.h requires atlbase.h to be included first

Why is this happening?Can anyone help me in this?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

Have you looked at atlwin.h file -
you must have something like this in atlwin.h -

#ifndef __ATLBASE_H // macro name could be different - basically to make sure that atlbase.h is included

#error atlwin.h requires atlbase.h to be included first

#endif

As a workaround you may try adding

#include "atlbase.h"

before this "#ifndef ... " statement.

There must be better workarounds, this is just to make it work.

HTH,
CP

Leave a Comment

Please sign in to add a comment. Not a member? Join today