Compiling OCC7.4.0-VS2017 windows platform -'D3DHost_FrameBuffer.hxx'

Trying to compile occ7.4.0 with Visual studio 2017 on Windows platform. I got this error:

c:\occt740\opencascade-7.4.0\src\d3dhost\d3dhost_framebuffer.cxx(18): fatal error C1083: Cannot open include file: 'D3DHost_FrameBuffer.hxx': No such file or directory

Where can I get the header file?



Kirill Gavrilov's picture

Any descriptions of your steps before you see this error?
Is it the only error you see? Other projects apart from TKD3DHost have been built succesfuly?
How VS project files have been generated?
If it was CMake - then which version was used?
Which parameters have been passed to project generator?
How you have opened VS solution?

SF. Fan's picture

Thank you for your response!

I found the header file and I successfully compiled the solution.