Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
191 views

Lauching MSYS2 32-bit console from visual studio code

I want to integrate the 32-bit-mingw-MSYS2 console in Visual Studio Code. I have tried to understand that: How do I integrate MSYS2 shell into Visual studio code on Window? My settings.json file looks ...
flori10's user avatar
  • 492
0 votes
0 answers
150 views

Terminal resize issue with Intellij and Git for Windows SDK

I am on Windows running Intellij and Git for Windows SDK for a feature rich terminal on Windows (pacman, oh my zsh, etc...) I looked up previously on which command to use to make it the default ...
Iqbal AISSAOUI's user avatar
1 vote
1 answer
248 views

How to build NLopt library as 32-bit DLL for Windows?

The official instruction is as follows (on github): "If you want to compile NLopt on Windows with MinGW, be sure to install the MinGW version of cmake (e.g. with pacman -S mingw-w64-x86_64-cmake) ...
Rolf Fankhauser's user avatar
0 votes
1 answer
441 views

How to fix recent "Clock skew detected" warning after updating msys2?

After updating msys2 with "pacman -Syu". the 32bit version of MinGW doesn't work normally by spamming a lot of weird "Clock skew detected" warnings. mingw32-make[4]: Warning: File '...
GuillaumeG's user avatar
0 votes
3 answers
2k views

Driver not supporting OpenGL in application build with Go and Fyne on MSYS2

I am trying to build an simple application with Go and Fyne on MSYS2-MINGW32. The go build command completes without any error, but when I run the application, I get following error: 2022/10/22 08:08:...
rnso's user avatar
  • 24.5k
10 votes
1 answer
2k views

gprof producing no output for a program that takes reasonable time to execute

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 ...
NeomerArcana's user avatar
  • 2,189
0 votes
0 answers
163 views

HTTP POST request in C

Is possible to send HTTP POST Request in a simple way? (like python: import requests requests.post(ip, data) I am using msys2 and editing a 1996 file. I tried some libs like httprequest, curl, etc ...
Arcyde's user avatar
  • 47
0 votes
1 answer
620 views

I tried to build Libxls static library and dynamaic library for windows via MSYS2,but it's not working

I tried to build a static library and dynamic library of Libxls for Windows via MSYS2,but it doesn't work https://github.com/libxls/libxls my MSYS2 enviroment has everything required which are gcc g++ ...
sdfsaf asfsf's user avatar
0 votes
1 answer
3k views

Troubleshooting "Skipping incompatible library" with ld

I'm trying to compile some C code against a 32-bit DLL file that was provided to me. However, I get the following errors from ld (edited for conciseness) using the MSYS2 MinGW-32 environment: /usr/...
Marco Merlini's user avatar
0 votes
1 answer
470 views

Msys2: Undefined reference to SSL when compiling in 32bit

I'm trying to compile a 32bit dll in msys2 but I'm having trouble with openssl. I am currently compiling with this command g++ -std=c++17 --shared -lWs2_32 -lssl -lcrypto main.cpp -m32 -o main.dll ...
mat's user avatar
  • 322
0 votes
1 answer
411 views

Build pjsip 2.10 using msys2

I'm compiling pjsip 2.10 using msys2: 1) open msys2 console: C:\msys64\msys2_shell.cmd 2) Run those to update: pacman -Sy pacman --needed -S bash pacman pacman-mirrors msys2-runtime pacman -Su pacman ...
aviit's user avatar
  • 2,099
1 vote
1 answer
827 views

Conflicting types for inet_ntop

I am trying to compile luasocket with Msys2 mingw32. When I run make I get this error message: src\inet.h:48:13: error: conflicting types for 'inet_ntop' 48 | const char *inet_ntop(int af, const void ...
Milind's user avatar
  • 495
0 votes
1 answer
3k views

how can I use std::filesystem with mingw32-make and msys2 on windows

I'm trying to compile my linux code on windows. It blocks because of my use of std::filesystem. So I try to do a minimal example according to this post : C++17 filesystem using nuwen MinGW on Windows ...
Kafka's user avatar
  • 790
6 votes
1 answer
4k views

msys2 / mingw missing dynamic linker library

I am attempting to build SpatiaLite in Msys2. The build goes well until it attempts to compile the examples. It throws an error because the linker cannot find the dynamic linker (dl) library. Is this ...
user8908459's user avatar
0 votes
1 answer
458 views

GTK+3 application won't run on Windows

When I try the example-0.c on https://developer.gnome.org/gtk3/stable/gtk-getting-started.html, I can build successfully in my cmd (I have configured the PATH environment variable), but run with the ...
Donghua Liu's user avatar
  • 2,156
2 votes
0 answers
2k views

MSYS2 error collect2: fatal error cannot find ld

Whenever I try to compile my program using GCC on msys2 I get this error: collect2: fatal error cannot find 'ld' This is what I am writing to compile: gcc 'pkg-config --cflags gtk+-3.0' -o example....
Matthew Maurice's user avatar
4 votes
4 answers
3k views

How to setup jenkins windows slave node to support msys2 mingw shell

I want to build a program with a jenkins windows 7 node. The program is build using cmake but in the configure stage cmake tells me that there is no g++ compiler. I think this error occurs due to the ...
Gustavo's user avatar
  • 1,019
1 vote
1 answer
4k views

MSYS2 specify version of mingw32 or mingw64 gcc

Is there a way to specify the GCC version i would like to install? I only get the latest version if i install it that way: pacman -S mingw-w64-x86_64-gcc
mgiaco's user avatar
  • 359
1 vote
1 answer
2k views

How can I specify include and library locations for mingw32-make under msys2?

I have a suite of Windows programs that up to now I have built under msys, one of which uses libxml2. I am currently trying to switch to building them under msys2 and the latter one is hitting a ...
Ian Puleston's user avatar
0 votes
0 answers
211 views

Nethack build error in MSYS2 mingw32 shell win10 /usr/bin/sh: -c: line 1: syntax error: unexpected end of file

Trying to compile the NETHACK cloned version 3.6.0 from github in msys2 mingw32 shell under WIN10. I completed the steps cd sys/winnt call nhsetup.bat cd ../../src then mingw32-make -...
M. P.'s user avatar
  • 181
192 votes
14 answers
226k views

Change the location of the ~ directory in a Windows install of Git Bash

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 ...
PEWColina's user avatar
  • 2,124
1 vote
0 answers
1k views

compiling ffmpeg on msys2 and mingw32-- error creating ffmpeg_g.exe

I have compiled ffmpeg from source using MSYS2 and MinGW. The library files were created successfully during the compilation and when make utility proceeds to build ffmpeg_g, I am getting lot of ...
arnknr's user avatar
  • 33