Skip to content

Opencascade "Cannot open include file: 'Standard.hxx'" #16252

@fauder

Description

@fauder

Describe the bug
Opencascade 7.5.0 builds (as windows-x64-static) without any errors.
However Visual Studio 2019 can not find the header files for Opencascade itself whenever a header from said library is included.
For example when I want to #include <opencascade/gp.hxx>, Visual Studio 2019 says:
1>C:\Sys\vcpkg\installed\x64-windows-static\include\opencascade\gp.hxx(20,10): fatal error C1083: Cannot open include file: 'Standard.hxx': No such file or directory

Environment

  • OS: Windows 10
  • Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x86

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg install opencascade.
  2. Create empty project (C++) in Visual Studio 2019.
  3. Create a .cpp file and #include <opencascade/gp.hxx>.
  4. See error: 1>C:\Sys\vcpkg\installed\x64-windows-static\include\opencascade\gp.hxx(20,10): fatal error C1083: Cannot open include file: 'Standard.hxx': No such file or directory.

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions