msvc2013onwine's Introduction
This script helps you set up an MSVC 2013 Update 4 installation on Linux to run under wine. Instructions ============ Before you start, make sure you have a Windows machine with a working Python environment (I have used the Python that comes with MozillaBuild) with lots of free disk space. On the Windows machine, first download and install Visual C++ 2013 Community Edition from http://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx. Then, run `python package_from_installed.py`. It will take a while, and once it finishes successfully, there should be a <sha1>.zip file in the current working directory. That is your Visual C++ installation, packaged and ready to be transfered into a Linux machine. On the Linux machine, extract the ZIP package somewhere. Then, you can run MSVC like this: $ cd /path/to/win_toolchain_2013 $ export INCLUDE="$PWD/VC/include;$PWD/win8sdk/Include/shared/;$PWD/win8sdk/Include/um/;$PWD/win8sdk/Include/winrt/" $ export LIB="$PWD/VC/lib;$PWD/win8sdk/Lib/winv6.3/um/x86" $ echo "#include <iostream>" > test.cpp $ echo "int main() { std::cout << \"Hello from MSVC\"; }" >> test.cpp $ export WINEDEBUG=-all # to turn off wine's warnings about unimplemented stuff $ cp sys32/msvcr120.dll VC/bin # need the native version of this DLL $ export WINEDLLOVERRIDES="*msvcr120=n" # tell wine to use the native DLL $ wine VC/bin/cl.exe test.cpp Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101.1 for x86 Copyright (C) Microsoft Corporation. All rights reserved. test.cpp /media/ehsan/KINGSTON/win_toolchain_2013/VC/include\xlocale(337) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc Microsoft (R) Incremental Linker Version 12.00.31101.1 Copyright (C) Microsoft Corporation. All rights reserved. /out:test.exe test.obj $ wine ./test.exe Hello from MSVC Acknowledgements ================ Thanks to the Chromium project's depot_tools. The package_from_installed.py script originally comes from commit 797060631a486e61dec3bab8b30f35765328660f of that project.
msvc2013onwine's People
Forkers
ftahmedmsvc2013onwine's Issues
Support for VS 2015 and/or 2017
Hi, please update this very useful script to support VS 2015 and/or 2017.
Support VS2015
Upstream script seems to have support for VS2015, would be nice to merge that.
msbuild.exe
How do I get msbuild.exe into wine so that I can build whole .sln
files?
cl : Command line error D8027 : cannot execute 'mypath\VC\bin\c1xx.dll'
Hi ,all
I have a little problem
I used 2013 VisualStudio 2013 community under wine on my debian linux and followed README step
but I got some err message below:
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
test.cpp
cl : Command line error D8027 : cannot execute 'mypath\VC\bin\c1xx.dll'
can someone help me?
thank you!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.