Open ghost opened 3 years ago
Are you running a Windows version of tup.exe in Wine as well? Or is it a Linux-based tup that shells out to cl.exe through Wine?
If it's the latter, you might need to add export declarations in your Tupfile to pass the MSVC environment variables through. Tup runs subprocesses with a mostly clean environment, but on Windows it will add the necessary MSVC variables automatically so that toolchain works out-of-the-box (see: https://github.com/gittup/tup/blob/master/src/tup/environ.c#L31-L48). Those won't be set on Linux, however. You could set them in the Tupfile by doing eg:
export SYSTEMROOT
export DevEnvDir
...
: |> cl.exe ... |>
If you're running the whole thing including tup in Wine, I'm not sure off-hand why that would be. If this is the case, could you provide some info on how you setup the dev environment?
Problem with build project with MSVC under Wine. MSVC works well, when I run it manualy. But I get error below when start build with Tup: