error in compilation

I'm new to opencascade, im trying to build the samples provided with opencascade, but any how i get the following error can anybody help me out.

E:\opencascade4.0\Samples\MFC\01_SampleGeometry\SampleGeometry.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

Thanks in advance

Pawel's picture

Just configure VS6.
I have German version of VS so you'll have to figure out the details yourself.

Menu: Extras->Options->Verzeichnisse(!)

Set the paths to where the the oc files are (include, library)

good luck