Questions tagged [mingw32]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

install expat for mingw under ubuntu

I'm using mingw under ubuntu to create windows executables. I need to use expat. It's not included in the repo, so I gather that I need to install it from sources. Is there an easy way to do this?
0
votes
0answers
276 views

Where to get Mingw-w64 ver. 8 for Ubuntu 20.10?

I have Ubuntu 20.10. I would like to compile dxvk. It requires Mingw-w64 >= 8.0. The mingw-w64 website suggests to download from Ubuntu repositories. The version in the repository is 7.0.0 for ...
1
vote
1answer
133 views

Cannot find gtk3 packages for mingw64

I was trying to cross compile a Gtk-rs application for windows but the linker complains that it cannot find some gtk libraries. Note that the same application will run when compiled for native linux: ...
0
votes
3answers
71 views

Configure Linux bash to understand "cd.."

In the Windows command prompt, both cd .. and cd.. move to the parent directory. On Linux bash (MINGW, etc) the former works, but the latter gives an error: cd..: command not found. Perhaps naive, but ...
4
votes
2answers
2k views

Compiling files with mingw-w64

I have a program #include<iostream> #include<windows.h> using namespace std; int main() { cout<<"Hello World!! This Program Is made in win32 API\n"; return 0; } but when I ...
1
vote
0answers
391 views

makepkg-mingw on Ubuntu?

I'm trying to use Ubuntu to create a Windows app, following the steps outlined on this page. Is it possible to install makepkg-mingw on Ubuntu? Or is there a dedicated Ubuntu or Debian equivalent to ...
2
votes
0answers
910 views

How to install mingw64-make command on ubuntu

I need to build window version of startcoin on ubuntu and it contains installing mingw64-make command. I already installed make and mingw on ubuntu but have difficulty in installing mingw64-make ...
3
votes
2answers
7k views

How to compile C GTK3+ program in Ubuntu for windows?

I am using and gcc-7 and mingw-w64.I want to compile a c gtk3+ program in Linux using mingw so that it will produce .exe file which can be run in windows.I am able to Compile normal c programs using ...
1
vote
1answer
892 views

Missing gcov symbols with mingw under Ubuntu 16.04

Before upgrading from Ubuntu 14.04 to Ubuntu 16.04 I could compile the following code with mingw-64-gcc x86_64-w64-mingw32-gcc -fprofile-generate -o test.exe test.c -lgcov -static //test.c #include &...
1
vote
0answers
236 views

Installing the Cairo library for mingw to allow cross compiling for Windows

As the title says. I'm trying to install the cairo library for mingw so I can cross compile an application that uses it for a Windows target on my Ubuntu machine. I can't figure out how to do it! ...
2
votes
2answers
22k views

Unable to locate package mingw32

A project I'm trying to compile needs mingw32. apt-get install gives me Unable to locate package mingw32. Doing an apt cache search yields many options and I need help choosing one that will work or ...
0
votes
1answer
237 views

Error running .exe compiled with i586-mingw32msvc-g++ and SFML

So well, I'm fighting with WINE and MinGW32 right now. So I have a file, sortem.cpp which is compiled with a Makefile and linked and all from that Makefile. sortem.cpp #include <windows.h> #...
0
votes
1answer
74 views

Use new version of mingw-g++

My machine currently runs on Ubuntu 12.04 (64bit version). I tried installing mingw-g++ for it, however, it installs an older version of g++, from the 4.6 series. Is there anyway I could download ...
2
votes
1answer
18k views

x86_64-w64-mingw32-g++: cannot execute binary file: Exec format error

I have 64bit ubuntu virtual machine and a 64bit binary still getting the Exec format error. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 ...
1
vote
1answer
3k views

How to set /usr/bin/i586-mingw32msvc-g++ to gww?

I use cross compiling for C++ using MinGW... I use /usr/bin/i586-mingw32msvc-g++ filename.cpp to compile, but I want to be able to type gww filename.cpp I think I need to set a PATH variable or ...
0
votes
1answer
670 views

What is the /opt/mingw64 /opt/mingw32 equivalent for Ubuntu

Many manuals and tutorials about cross compiling windows binaries with the MinGW toolchain pointing out /opt/mingw64 or /opt/mingw32. E.g. like this $ sudo PATH=$PATH:/opt/mingw64/bin make install ...
-1
votes
1answer
791 views

please tell me how i can create .exe files for windows . my code is in C language gtk+

i want to create a .exe file which can run on windows. i have written a simple code to generate a window with a button in gtk. i have compiled this code and it is working properly using the command ...
2
votes
1answer
3k views

GCC 4.8 / MINGW W64 4.8

There is a PPA where I can find these packages for 12.04? Also a build script will do the job! I've tried to download it from sources but the dependencies are a mess. I'd like to start porting my ...
2
votes
0answers
76 views

Where can I download mingw32 version 4.72 for ubuntu?

I am cross compiling some software for linux that needs the 4.72 version of the mingw32 compiler to work. However, the version in the repos is only 4.4, where can I find 4.72?
1
vote
1answer
287 views

Getting Eclipse CDT Helios to recognize i586 gcc mingw32 as a compiler, any ideas?

I installed CDT direct by extracting the tar. It detects the other compilers, but fails to recognize mingw32 as a compilation target. Any ideas? Unless you've tried a tutorial and it recognizes ...
3
votes
3answers
12k views

How to setup Qt Creator to compile Windows executables?

The version of Qt Creator that ships in the repos. can compile Linux executables out of the box. However, it seems like some configuration is necessary to get it to compile Windows applications. I ...