Questions tagged [MinGW] (83)

2
answers

How to connect the library using MinGW?

Decided not to use Visual studio or Code::Blocks, installed MinGW. The compilation seems clear. Got another question, how to connect the library. Watched a couple of videos, read a couple of articles, but never found. As I understand this requires linking. Let's say I would like to use GLFW. Threw the desired files into the...
Troy.Walter asked April 19th 20 at 12:07
0
answer

Nuitka does not see the compiler what to do?

Installed Anaconda Set in her mingw64 conda install m2w64-gcc libpython Installed nuitka conda install --force-reinstall -c conda-forge nuitka Trying to compile hello.py: python-m nuitka --standalone --mingw64 hello.py "Error," mismatch between Python ('x86_64') and C compiler ('None') arches. Not seen by the compiler. How ...
chesley23 asked April 8th 20 at 17:33
1
answer

Qt + MinGW + LTO + LLD: how to make them work together?

Glitch is played so. 1. Install MSYS (MinGW and LLD), Qt (any version) under Windows. 2. Build a custom set of compiler from MSYS and any version of Qt from the distribution. 3. To build an empty project in Qt Widgets. To add to it... QMAKE_CXXFLAGS += -flto QMAKE_LFLAGS += -flto -fuse-ld=lld When the linker finds the funct...
Tevin.Koelp asked April 7th 20 at 11:10
1
answer

Undefinded reference to fun when referring to assembler functions?

Hello. Only recently started to learn assembler,yet poorly understood what was happening. Run this code by calling a function from assembler module. The module itself in the project added Release/Debug is selected. Please tell me, why gives this error?
Dean_Jakubowski4 asked March 31st 20 at 14:23
0
answer

Mingw-w64 doesn't want to compile anything, how to fix?

All welcome, tell me what to do, I downloaded mingw-w64, found the path in system variables but the ESA prescribed decided to start to compile a typical Hello World in C++:#include <iostream> int main() { std::cout << "Hello World!\n"; } But constantly pounding an error:PS C:\progs> x86_64-w64-mingw32-g++ H...
Libbie_Orn asked March 31st 20 at 14:07
0
answer

How to add the tests to the CMake project in Visual Studio?

In Visual Studio working with a CMake project (used MinGW, there is no solution file. SLN). There is a need to cover the project's tests, I want to use the integrated system testing in VS. How to configure it? Option to add a second project to test seems the most reasonable, but it seems in the mode of the CMake project it ...
kenny39 asked March 27th 20 at 12:15
2
answers

Why because Popen.wait() subprocess works incorrectly?

I'm writing python program that needs to compile .the cpp file is in .exe and run it. In the folder with the project is MinGW, with it, I'm just going to compile the program. When I run it with command Popen in python (used the subprocess library, and psutil) everything works fine.proc = psutil.Popen('"./MinGW/compile_code_...
Sadie_Ra asked March 27th 20 at 12:13
1
answer

How to configure Qt to compile applications under Windows from under Linux?

How is this setting for Qt 5.9.5?
Marietta.Sporer asked March 25th 20 at 11:42
1
answer

Which set of optimization options in the MinGW provides quick linking and the lack of "optimized out"?

MinGW x64 9.1.0 installed using MSYS. The draft of the three hundred files. -O1 gives linking 50 seconds, but it is very difficult to debug, everything turns into . -O0 gives linking in 2.5 minutes.QMAKE_CXXFLAGS_DEBUG += -finline \ -fauto-inc-dec \ -fbranch-count-reg \ -fcombine-stack-adjustments \ -fcompare-elim \ -f...
Marcelino_McKenzie asked March 23rd 20 at 19:01
0
answer

Is there a way the stack trace of the application at the time from another application in windows?

Good afternoon. There is a program under Qt with MingW that works on Windows. I would like to receive a more detailed call stack after a specified time interval. Tell me what tools is better approach to solving this problem. In programme 1 the main thread. ---------------------------- Represent yourself as such: 1. Make im...
Hortense.OConner asked March 20th 20 at 11:49