8000 [BUG]: Unable to execute programs using wine-vc · Issue #3985 · compiler-explorer/compiler-explorer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[BUG]: Unable to execute programs using wine-vc #3985
Closed
@edmcman

Description

@edmcman

Describe the bug

I am trying to execute programs compiled with wine-vc. I get the following error:

Could not execute the program
Compiler returned: -1
Compiler stderr
<spawn /usr/bin/wine ENOENT>

I enabled debug output, and this is probably from a cwd that doesn't exist: "cwd":"mp/compiler-explorer-compiler2022723-53-1dkihet.ihfx"

I assume this is caused by this: https://sourcegraph.com/github.com/compiler-explorer/compiler-explorer/-/blob/lib/compilers/wine-vc.js?L54

So, uh, what is that line of code there for? Am I doing something wrong?

Steps to reproduce

I am trying to build a docker container with compiler-explorer and MSVC. The easiest way to reproduce is to use that:

https://github.com/edmcman/docker-msvc-compiler-explorer

Then try to execute any C++ program using Visual C++ 2005 or 2008.

Expected behavior

The program executes

Reproduction link

Not applicable

Screenshots

image

Operating System

No response

Browser version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0