mingw32 Questions

4

I am cross compiling from linux to windows using the mingw32 tools. I need to generate pdb files for debugging on windows. Is there a way to do this?
Originate asked 9/10, 2013 at 10:22

8

internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:190: MapViewOfFileEx: Attempt to access invalid address. I get this error while compiling a c++ program in sublime-text...
Sussi asked 20/5, 2020 at 14:45

13

Solved

I am not even sure I am asking the right question. Let me explain my situation: This is about Git on Windows 7. My company sets up the Windows user directory on a network drive, not on the l...
Generation asked 26/8, 2015 at 17:27

25

Solved

I've been using Git on both Windows and Ubuntu during the development of a small project, frequently flipping back and forth between the two. The issue is that Git Bash consistently becomes slow. ...
Korrie asked 19/12, 2010 at 20:58

3

Solved

I would like to install mingw32 on my Ubuntu (16.10) cuz I would like to generate an x86 windows version of my application. The "i586-mingw32msvc-g++" executable is needed by my Makefile (CMake). ...
Melan asked 6/6, 2017 at 12:25

4

I am emulating code from an embedded system (stm32, Keil µVision 5, MDK-ARM) on a PC (mingw32, 32bit arch). The alignment of the ARM compiler does not match my desktop mingw build: // ARM Code (A...
Premiere asked 3/6, 2014 at 12:58

3

I'm trying to set up a library called PBC (Pairing-based cryptography). And this library requires another library called GMP -(GNU Multiple-Precision Library). My problem is after installing GMP ...
Vitamin asked 6/6, 2011 at 15:21

2

Cygwin has a home directory where I can store a .vimrc file to set up syntax highlighting. I know on linux machines this file is usually in a home directory and that it can be stored globally (alth...
Pandich asked 27/3, 2013 at 3:11

9

Solved

I need to pass /DEF:c:\filepath\myLib.def" command line option from a bash script to MS compiler/linker. The path is generated as part of build process by a bash script. Basically, the argument tha...
Cribbing asked 18/8, 2012 at 2:25

5

Solved

Currently, I am trying to make a Windows application using C++. For compiling my program I use MinGW (GCC). But as soon as I use int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR pCmd...
Floriaflorian asked 10/10, 2019 at 13:34

3

Solved

I've just started using g++, downloading the latest version from the site, and I've made a simple HelloWorld program. #include <iostream> using namespace std; int main() { cout << "He...
Unsnarl asked 29/7, 2017 at 18:6

1

I know that similar questions have been asked before, but: In regards to gprof produces empty output I am using GCC 10.2.0 from MSYS2 on Windows 10, i.e. it's a MingW64 distribution. I have also a...
Scapolite asked 24/4, 2021 at 8:32

2

Solved

I'm trying to compile some COM code, the example here. I get the compilation fine, but linking complaints about ConvertStringtoBSTR missing. After doing some research, I found out that said symbol ...
Frowst asked 25/2, 2012 at 14:7

3

Solved

I have a small piece of Windows code, basically one copied from the MSDN tutorial but adapted for C++. I can compile it now using one of the methods: i686-w64-mingw32-g++ -g hello.cpp -o hello to...
Express asked 8/10, 2016 at 23:0

2

Solved

I've installed mingw and msys by using mingw-get-setup.exe. I've also installed Autotools(autoconf, automake,m4,libtool) into C:\/opt/autotools. When I run automake, the following error always oc...
Launalaunce asked 24/3, 2014 at 7:17

2

Solved

I'm trying to add IPv6 compatibility to an already IPv4-compatible program in C, but having some problems with the compiler. Currently compiling with mingw32-gcc-4.6.2, which gives me a linking err...
Appraise asked 12/3, 2013 at 19:9

3

I've spent days and days trying to install GMP library on my MINGW windows installation. I completed the installation process of both dozens of times, followed any single guide on the internet but ...
Laski asked 30/8, 2011 at 22:59

3

Solved

I have built the glew lib so many times. My last build removed the undefined references to all the shader functions such as glCreateShader(). I think this build is the correct one cause I found out...
Dicks asked 29/7, 2012 at 16:2

2

Solved

For the reference I'm using MinGW (GCC 5.3). When compiling a file with g++ file.cc -static-libstdc++ it statically links the C++ standard lib (libstdc++) and produces a 1.9MB executable. Howe...
Tailored asked 11/6, 2017 at 21:30

4

Trying to run a Windows 7, Qt 5.2.0 program and it crashes immediately. I have the mingw48_32 version, and 32 bit version of Qt 5.2.0. I dont have Visual Studio, although I did download and install...
Infatuate asked 15/1, 2014 at 0:3

12

Solved

I recently installed CodeBlocks with mingw32 on Windows 7 Ultimate 32bit in order to dust off my c skills, but this problem has me somewhat stumped. I decided to fire off a short Fibonacci generat...
Bolshevik asked 5/10, 2011 at 0:20

0

I am trying to develop a simple POC using qmqtt but this module is not available in the Qt lib path. I have the latest Qt version installed, still it's not there. So, I am trying to compile it unde...
Moonscape asked 5/12, 2018 at 2:46

1

Solved

I'm working through a DLL hijacking exercise, and have a DLL written which works as expected when compiled in Visual Studio. Essentially, when the DLL is loaded, it executes a shell command and pas...
Ear asked 28/9, 2018 at 16:11

1

Solved

I am working on small project in C++ and I am using curses for user interface. I am pretty nicely able to make it work in my arch-linux installation, because it is pretty simple to set up ncurses t...
Dragonroot asked 3/5, 2018 at 11:11

4

Please be gentle on me. I have searched the site, and I know there is another answer to this exact question, but the answers posted there aren't working for me. I am trying to install pycrypto, s...
Selective asked 10/6, 2014 at 23:37

© 2022 - 2024 — McMap. All rights reserved.