docker-msvc-cpp
msvc-wine
docker-msvc-cpp | msvc-wine | |
---|---|---|
3 | 6 | |
78 | 570 | |
- | - | |
5.5 | 8.3 | |
4 months ago | 27 days ago | |
PowerShell | Shell | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-msvc-cpp
-
Wine 8.0
I use wine to run the MSVC compiler in a Linux container, making it easier to manage in comparison to the windows containers, which require a Windows/Hyper-V capable host.
Bonus, the wine+msvc combination is still smaller than using a windows container.
Works fine, also for MSI file generation with Wix:
https://github.com/madduci/docker-msvc-cpp
-
Ask HN: What do you use VMs for regularly?
I use a Windows 10 VM to download Visual Studio and extract the installed compiler to generate a linux docker image with wine and MSVC C++ compiler:
https://github.com/madduci/docker-msvc-cpp
-
Visual Studio 2022 17.1 is now available!
Not tried it myself personally, but apparently it's possible. Here's a project where someone has put together the automation to make it happen: https://github.com/madduci/docker-msvc-cpp
msvc-wine
-
How to deal with MSVC in DevOps
Okay, I am trying it, but it does not exactly work out of the box. Do you remember how you got a hand on the MSVC libraries? I use https://github.com/mstorsjo/msvc-wine to download the MSVC toolchain using python, and then I simply wget this file https://raw.githubusercontent.com/llvm/llvm-project/main/llvm/cmake/platforms/WinMsvc.cmake, and call CMake like in the example the file has as a comment in the first few lines. I installed clang-tools-15 and lld-15 using apt. Does this sound somehow correct? I set all the paths correctly and I get a CMake Error "include could not find requested file: [...] //ClangClCMakeCompileRules.cmake", the error occurs while CMake is testing the C compiler if it works.
-
Wine 8.0
That's a nice lead! - I'll try looking into that more. If you have or remember some more details - please share! Thanks!
(One of my use cases is https://github.com/mstorsjo/msvc-wine - and invocation of `cl.exe` or `link.exe` taking 250ms at each is not going to be great (then again `cl.exe` can be made to input several .cpp/.c files, but it becomes more awkward to express that at the build level).
- Cross compiling pybind11 module with Mingw-gcc for Windows from Linux
-
Visual Studio 2022 17.4 is available!
you can run the C++ compiler via wine: https://github.com/mstorsjo/msvc-wine
-
Wine 6.15 Released
I guess I should try installing MSVC again one of these days. Maybe it's finally possible to setup a "real" Windows cross compilation build environment without msvc-wine.
What are some alternatives?
Stable-Diffusion-WSL2-Docker - One-click install for StabilityAI's Stable-Diffusion with AUTOMATIC1111's webui
infra - Infrastructure to set up the public Compiler Explorer instances and compilers
user-management - An open-source application delivering a responsive user management experience.
Navidrome Music Server - ๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic
qubes-issues - The Qubes OS Project issue tracker
pyenv - Simple Python version management
qt-minimalistic-builds - Precompiled x64 Qt 5/6 library in minimalistic configuration for Windows.
NCCABoilerplate - A set of Boilerplate projects for most of the work we do
NotepadNext - A cross-platform, reimplementation of Notepad++
box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
vs-dockerfiles - Examples of dockerfiles and optional supporting scripts to install and use Build Tools for Visual Studio 2017 in a container.
compiler-explorer - Run compilers interactively from your web browser and interact with the assembly