Skip to content
Discussion options

You must be logged in to vote

I don't think MSVC can cross compile, you need to activate the x86 env, Simply run Meson inside the x86 Native Tools Command Prompt for VS 2022 terminal instead of x64 Native Tools Command Prompt for VS 2022.

Meson has the --vsenv argument to enable the MSVC env for you (that's the default when using vs backend) but that can only activate the x64 env currently. I would like to add --vsenv x86 syntax at some point.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Demonese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants