'Standard_ShortReal.hxx': No such file or directory

Hi all
When ever I compile any sample programme the following error occurs,
fatal error C1083: Cannot open include file: 'Standard_ShortReal.hxx': No such file or directory
Error executing cl.exe.
Please help me removing this error.
Siddhartha

Patrik Mueller's picture

Hi,

have you added the include dir from OCC to your VC settings?

Greets,

Patrik

Siddhartha's picture

Hi Patric
I have included C:\OPENCASCADE5.2\ROS\INC in my VC++ settings i.e.
C:\OPENCASCADE5.2\ROS\INC is appearing in the list
TOOLS->OPTIONS->DIRECTRIES
if this is not sufficient please tell me what else could be done in this regard.

Patrik Mueller's picture

Hi,

there's a tool->Options->Directories a ComboBox for showing the kind of directories. You have add the inc dir to "Include-files".

Greets,

Patrik

zz's picture

Same Q is sicking me.

Dan's picture

same :)

Volodymyr vvv's picture

Hi. I have the same issue in VS 2013, and I can't find tool->Options->Directories. Can somebody help me?