Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error C1083: Cannot open include file: 'fix8/conjure_enum_ext.hpp': No such file or directory #43257

Open
duerrbaby opened this issue Jan 14, 2025 · 0 comments · May be fixed by #43267
Open
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@duerrbaby
Copy link

Describe the bug
Hi, I am using conjure_enum v1.1.0 and I saw this error when building my app.
If I look inside C:\Users\XXX\vcpkg\packages\conjure-enum_x64-windows\include, I only see conjure_enum.hpp.

Environment

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

To Reproduce
I am using CMake and manifest mode.

CMake:
find_path(CONJURE_ENUM_INCLUDE_DIRS "conjure_enum.hpp" REQUIRED)

cpp:
#include <conjure_enum.hpp>

Expected behavior
conjure_enum_ext.hpp should be found.

Failure logs
[build] C:\Users\XXX\Reconstruction\build\VS2022\vcpkg_installed\x64-windows\include\conjure_enum.hpp(434): fatal error C1083: Cannot open include file: 'fix8/conjure_enum_ext.hpp': No such file or directory

Additional context
Workaround is to put this in CMake:
add_compile_definitions(FIX8_CONJURE_ENUM_MINIMAL)

But this will disable FIX8::conjure_enum::unscoped_string_to_enum(), and only the scoped version is available.

@jimwang118 jimwang118 added the category:port-bug The issue is with a library, which is something the port should already support label Jan 15, 2025
@jimwang118 jimwang118 linked a pull request Jan 15, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants