Replies: 1 comment
-
see #3855 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a minimal reproducible example of the issue:
Enabling C++ module compilation (i.e.,
add_files("src/*.cppm", {public = true})
) caused the compiled program to fail in linking against the OpenCV library installed via xmake, resulting in the following error.After reviewing the source code, it was determined that the issue originates here. The issue was resolved after adding
set_policy("build.c++.gcc.modules.cxx11abi", true)
to the script.Beta Was this translation helpful? Give feedback.
All reactions