how to compile c++ program in linux to produce windows executable? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need to cross compile a C++ source code in Linux and run it on Windows. How can I compile it on Linux to produce .exe executable?
Is there any advantage for compiling in Linux to make Windows executable other than compiling it on Windows itself?

a virtual machine on VMware could be a Quick solution

Related

Problems compiling Qt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Recently I downloaded Qt 5.6
I didn't knew that installing visual studio is necessary to build with Qt.
I have a poor internet connection and somehow managed to download Qt. But now is it necessary to install visual studio of 7 GiBs which is nearly impossible for me to download with my shitty kind of internet? I had searched on google and found that MinGW can be used to build with Qt. Please help me to configure it.
You can download a pre-build version of Qt, building it yourself is not necessary or recommended for beginners:
http://download.qt.io/official_releases/qt/5.6/5.6.0/
The qt-opensource-windows-x86-mingw492-5.6.0.exe comes with MinGW 4.9.2 bundled.
Building Qt from sources can take many hours on a slow machine, and potentially fail for a number of reasons, also it has 3rd party requirements such as perl and python.

Where to download libvlc? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I can't find where to download libvlc.
In fact I already use it in a Windows application I'm developping but I don't remember where I got it and wanted to have a more recent version and the licence info as I read it is LGPL but still not sure.
Thanks in advance.
In their wiki page :
Warning: Please, do not put pre-release test binaries or git-compiles
on software sites or on user-forums. We've had bad experiences with
this before and we do not appreciate it.
It seems that they want you to pull the code and compile it yourself.
this the code page:
https://wiki.videolan.org/GetTheSource/
and this instruction on windows:
https://wiki.videolan.org/Win32Compile/
Good luck!
Just reinstall [standard] vlc. It knows where it was installed previously and has a copy of the library. No need to install the library separately. If you used standard install, this will be:
C:Program Files (x86)\VideoLAN\VLC
and the libraries will be in there

Where can i find mach_host library for mac OS X? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Where can I find mach_host.h library for mac OS X?
Because i can't find it on the web.
I read the answer in this thread by Michael Taylor in which mach_host.h library is used.
If you want to do software development under OSX, you need to go to the AppStore and install Xcode from Apple. That will have all the headers, libraries, compiler and linker and tools.
If you want to find that header file, you can then use this command:
find /Applications -name mach_host.h
There will be several answers, some for WatchOS, some for iOS and some for OSX. You need this one:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach/mach_host.h

FreeGLUT compiled dll + lib? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm trying to get FreeGLUT working. For a reason I don't get, no binaries are distributed. Where can I download the .lib and the .dll files?
You can download them at FreeGLut download page, in section Prepackaged Releases
Direct Link
Please note it's community-maintained. Library authors only do provide source code.
Citation from the page itself:
If you have problems with these packages, please contact their maintainers - we of the freeglut team probably can't help.
If you provide the compilation/linking logs from your attempts with source distribution, we could find a reason for it not working as well.

free c++ compiler for mac with open source license [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there any free c++ compilers for macs whose license is open source?
(basically one of these http://www.opensource.org/licenses/category)
I don't have the DVD that came with my current OS, and it won't run the version of xcode I already have.
GCC and Clang+LLVM are both open source C++ compilers.
just the gcc compiler suite, it includes g++ which is an open source compiler.