msvc-wine VS docker-msvc-cpp

Compare msvc-wine vs docker-msvc-cpp and see what are their differences.

msvc-wine

Scripts for setting up and running MSVC in Wine on Linux (by mstorsjo)

docker-msvc-cpp

Dockerized Visual C++ environment with wine (by madduci)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
msvc-wine docker-msvc-cpp
6 3
569 78
- -
8.3 5.5
24 days ago 4 months ago
Shell PowerShell
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

msvc-wine

Posts with mentions or reviews of msvc-wine. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.
  • How to deal with MSVC in DevOps
    9 projects | /r/cpp | 6 Jul 2023
    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
    7 projects | news.ycombinator.com | 24 Jan 2023
    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
    4 projects | /r/cpp_questions | 29 Dec 2022
  • Visual Studio 2022 17.4 is available!
    2 projects | /r/cpp | 9 Nov 2022
    you can run the C++ compiler via wine: https://github.com/mstorsjo/msvc-wine
  • Wine 6.15 Released
    1 project | /r/linux_gaming | 14 Aug 2021
    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.

docker-msvc-cpp

Posts with mentions or reviews of docker-msvc-cpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-24.
  • Wine 8.0
    7 projects | news.ycombinator.com | 24 Jan 2023
    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?
    11 projects | news.ycombinator.com | 21 Jun 2022
    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!
    6 projects | /r/cpp | 15 Feb 2022
    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

What are some alternatives?

When comparing msvc-wine and docker-msvc-cpp you can also consider the following projects:

infra - Infrastructure to set up the public Compiler Explorer instances and compilers

Stable-Diffusion-WSL2-Docker - One-click install for StabilityAI's Stable-Diffusion with AUTOMATIC1111's webui

Navidrome Music Server - ๐ŸŽงโ˜๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic

user-management - An open-source application delivering a responsive user management experience.

pyenv - Simple Python version management

qubes-issues - The Qubes OS Project issue tracker

NCCABoilerplate - A set of Boilerplate projects for most of the work we do

qt-minimalistic-builds - Precompiled x64 Qt 5/6 library in minimalistic configuration for Windows.

box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices

NotepadNext - A cross-platform, reimplementation of Notepad++

compiler-explorer - Run compilers interactively from your web browser and interact with the assembly

vs-dockerfiles - Examples of dockerfiles and optional supporting scripts to install and use Build Tools for Visual Studio 2017 in a container.