-
-
Notifications
You must be signed in to change notification settings - Fork 789
Replies: 1 comment · 6 replies
-
It seems that cmake can't find the msvc environment variables then fallback to mingw. My guess is that your configuration is |
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm just re-reading your comment, and I think you may not be following the output correctly. The platform is windows. I didn't set that myself. However, the build produces a
My question is, why is this the case? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Already said.
And your log:
Github ci does't' provide a w64devkit toolchain. So I'm not sure how your local ci environment is configured. You can provide full log with |
Beta Was this translation helpful? Give feedback.
All reactions
-
The command I used was:
I also set the following environment variables:
I also switched the GCC compiler I was using to the winlibs version. The version I installed is:
Output with diagnostics messages:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Why? If you want to use mingw toolchain, please use |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
The windows platform is bound to msvc by default. If you use package, it cannot support all toolchains, and currently only supports msvc/clang-cl. If you want to use gcc, then please explicitly specify mingw or cross platform. And use
mingw will use gcc by default |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
This is a snippet of the output from Github Actions:
As you can see, the library seems to have built and installed correctly, yet xmake is unable to find it...What could be causing this?
Beta Was this translation helpful? Give feedback.
All reactions