errers in compiling mfcsample

I am a new user in OC5.2, my OS is windowXP, when compile the mfcsample, the errers are
------Configuration: mfcsample - Win32 Debug--------------------
Compiling...
ISession2D_InteractiveContext.cpp
c:\opencascade5.2\samples\standard\mfc\common\isession2d\isession2d_objectowner.h(52) : error C2679: binary ' ISession2D_ObjectOwner.cpp
c:\opencascade5.2\samples\standard\mfc\common\isession2d\isession2d_objectowner.h(52) : error C2679: binary ' Generating Code...
Error executing cl.exe.

mfcsample.dll - 2 error(s), 0 warning(s)

i don't know how to debug it, can anyone help? really appreciate it...
thanks a lot

jaya prakash's picture

even i am finding the same problem in MFC,
if U come to know about the solution please mail me
"jp4sh_reddy@rediffmail.com"

Thanks.

John Harris's picture

I also had this error - towards the bottom of the file
... mfc\common\isession2d\isession2d_objectowner.h I commented out the line

aStream<