Problem in the Compilation of Example

Hi. dear all...

Is here anyone who have experience of Rebuilding in the Example source files?

I faced on the problem when I tried to Rebuild Example source file on the VC++ and Windows Platform.

But, I could demonstate demo.tcl and execute all Example source file on the windows Explorer abviously, Before I got the problem with Rebuild.

When I start the Visual studio and Open the Workspace, all files are listed. but, I clicked the Build Icon, Following Messages are appeard.

additionally, I don't have any files in the OpenCASCADE "inc" directory. Nofiles are there since I installed downloaded files.

Some Files are Missing? Please. Give me a Help..

================================================= Compiling... StdAfx.cpp G:\OpenCASCADE\MFCExample\Geometry\stdafx.h(24) : fatal error C1083: Cannot open include file: 'Standard_ShortReal.hxx': No such file or directory Error executing cl.exe.

Results SampleGeometry.exe - 1 error(s), 0 warning(s) ==================================================

Haffray Arnaud's picture

Hello ,

To recompile the MFC sample you must configure you visual c++ Options : In the menu : Tools/Option/Directories :

Includes : Enter your inc path

Libraries : Enter your lib path

After this you could recompile projects. Don't forget to set your environment variables .....

Regards

Arnaud

Seong Bok Park's picture

1. Download all source files, and uncompress it to the same directory where you have uncompressed other zip files. Then over 8000 files will be there in CAS3.0/inc/ directory.

2. I do this all(include setting inc, lib directory), but I still got some missing file message. "Cannot open include file: 'Define_Standard_Handle.hxx': No such file or directory"

I don't know what to do .. :<