mstorsjo / msvc-wine

Scripts for setting up and running MSVC in Wine on Linux
Other
627 stars 80 forks source link

MS CMake support #118

Open sinetek opened 5 months ago

sinetek commented 5 months ago

First of all, thanks for this amazing project.

Has anyone figure out how to get cmake support working? I know there is cmake on the linux side, but installing the microsoft distributed cmake would allow using the generator for VS's msbuild, which is needed in certain situations.

I have installed the cmake.exe using --include-optional, and then it is located somewhere in my /opt/msvc location, but when I try to run wine64 $some_long_path/cmake.exe I get

ShellExecuteEx failed: File not found.
sinetek commented 5 months ago

Apparently it installed a binary for ARM64. I didn't even know Windows on ARM64 is a thing, who uses that? Anyway I will look for a way to install the normal x64 cmake.

sinetek commented 5 months ago

Ahh I realized I can install cmake from the official website. Now that runs, but the VS Studio installation is not recognized. Do I have to install it twice? One time in /opt/msvc and one time in ~/.wine