Questions tagged [mingw]
MinGW (Minimalist GNU for Windows) is a native software port of the GNU Compiler Collection (GCC) and GNU Binutils for use in the development of native Microsoft Windows applications. Unlike Cygwin, it does not provide a POSIX runtime environment on MS-Windows.
mingw
6,847
questions
0
votes
0
answers
13
views
I can not add library of Protobuf to Eclipse IDE
I want to add protobuf lib to eclipse ide. I am using protof 27.2 and mingw g++ 9.2 to compile code.
#include <iostream>
#include "C:\Users\PC_5725\Desktop\Eclipse\Protobuf_ornek1\ProtoEx1\...
1
vote
0
answers
33
views
Redirecting python script's stdin to fifo results in RuntimeError: input(): lost sys.stdin
I have this python script that's meant to function as a server which reads commands from stdin which is redirected to a fifo:
test.py:
while True:
try:
line = input()
except EOFError:
...
1
vote
0
answers
28
views
"No include path in which to find stdio.h" error
I get this error when I try to run a C program:
E:\c_stuff>gcc frist_c.c -o frist_c
frist_c.c:1: No include path in which to find stdio.h
But I already did reinstall MinGW and added the C:\minGW\...
0
votes
0
answers
47
views
No effect after i have updated my GDB version to 11.2. GDB debug failed
I have the same question. And i have all ready done the recommend solution that i updated my GDB to v_11.2. And i also have added it to the system environment path and updated the launch and task file ...
0
votes
0
answers
36
views
Weird error when injecting a DLL into a process - OSSL_QUIC_client_method could not be located in libcurl-4.dll
I have one of the weirdest problems I have ever encountered, and I can't find anything online about it.
For some context: I have to emulate malware for my job, and this currently is requiring me to ...
0
votes
0
answers
68
views
How to use .dll in vscode when .dll is the only file available (no .lib, no .hpp)
I was trying to create a project and use couple third-party .dll file, which does not have corresponding .hpp or .lib files.
There is a working template from VStudio that import these dlls in a header ...
1
vote
0
answers
33
views
I added the pathway to minGW in environment variables, but the system doesn't see it FIXED
EDIT: Fixed the problem by simply restarting my computer, thanks everyone for answers and suggestions.
When I change the directory manually in the command prompt to the bin of mingw, and run g++ --...
0
votes
0
answers
60
views
Issues with Eigen Library Setup in VS Code for C++ Projects
I am encountering difficulties in including the Eigen library in my C++ project using Visual Studio Code and MinGW. Despite following multiple tutorials, I am still receiving the error: Eigen/Dense: ...
-3
votes
0
answers
40
views
mingw32/bin/ld.exe: cannot find -lomp
I'm trying to test a program in C for a friend to compare performances of the "sieve of Eratosthenese". I'm testing it in Visual Studio Code and in the terminal, they tell me to put this in ...
0
votes
0
answers
33
views
undefined reference to `WinMain@16' : Mingw error while compiling [closed]
This is the problem code. Please help!!
#include<stdio.h>
int mainn()
{
printf("Hello World");
return 0;
}
Tried fixing from yt videos but they suggest to save the file ...
-2
votes
0
answers
72
views
Only the First Line of Output is Printed in C Program in VS Code on Windows Using MinGW
In C program only the first line of output is printed when I run the compiled executable. Despite the program compiling without errors, the subsequent lines do not appear.
Details:
Operating System: ...
0
votes
0
answers
21
views
How to configure ollama setup exe from its source code
I was required to install Ollama setup exe from the source code in windows
I found the steps as
Note: The Windows build for Ollama is still under development.
First, install required tools:
MSVC ...
-2
votes
0
answers
15
views
How to fix problem with configuring compiler/debugger when running C++ on vscode?
I have installed MinGW on my computer. I have made sure that it is up to date and that the location returned by "where gcc" command is the same as my path.
here's my launch.json file
However ...
0
votes
0
answers
62
views
MingGW installer closes itself?
I tried installing mingw-w64 to start coding in C, after downloading the 'mingw-w64-install.exe'. I ran it, it opened the windows prompt to ask me if I want it to make changes to my device (In which I ...
0
votes
0
answers
10
views
How to install an older version of package in msys2?
I would like to install an older version of boost on msys2 to check if newer version of boost causes some issue.
But from https://packages.msys2.org/package/mingw-w64-ucrt-x86_64-boost?repo=ucrt64, I ...