Questions tagged [MinGW] (83)

0
answer

Eclipse CDT + Compilation 64 bits

There is a need to collect C++ project for 64-bit version of Windows, there is limitation to use only free tools. For this reason, for realization, binding was selected EclipseCDT+MinGW. But as it turned out initially geared for Eclipse 32-bit official version of MinGW, and for the successful build of 64-bit applications ne...
erika_K asked October 10th 19 at 14:07
0
answer

MinGW Reimp Utils doesn't recognize the exported functions?

Hi, I'm trying to convert .the lib file is done in MSVC .a for MinGW. Use the reimp tool from MinGW utilities. Unfortunately, it only recognizes the exported functions but not types. That is, he recognizes_declspec(dllexport) void blabla(); But renaming the classes are not._declspec(dllexport) pointerclass pclass_bla_bla; I...
fran asked October 10th 19 at 11:38
2
answers

CMake and static linking

There is a small self-written parser cross-platform toy using SDL. The C++ Language. Under Win32 and Win64 is going in mingw-w64, gcc 4.5.1. I want the following: in Assembly under Windows, link the dependencies statically. Not hunting to carry over a dozen libraries. Now in the build environment have both versions of libr...
Javon_Tillm asked October 10th 19 at 03:24
3
answers

Quiet roof goes leisurely: how to make static library compiled in GCC and MSVC?

So, we have a static library, a collection of 4 options (for each of the compilers in debug and release): — i686-pc-cygwin-gcc (-mno-cygwin) — gcc from the MinGW package debug@i686-pc-cygwin-gcc to link with the host project in the Studio to cheer, even works :) release@i686-pc-cygwin-gcc does not link with the host proje...
robert_Erdman asked October 10th 19 at 00:30
1
answer

Qt Creator

Downloaded the latest Qt Creator. I have Qt 4.7.3 Libraries. Here is the hierarchy: image. In the folder 4.7.3 — watch tree. So, I need to get for the desktop to MinGW. And when I create a new profile in the settings, there you need to enter the path to the compiler (it is necessary some ekzeshnik) and the path to the debug...
Floy.Thompson6 asked October 9th 19 at 17:59
1
answer

Eclipse does not recognize types from namespace std

Used a bunch MinGW+Eclipse+Qt4 on Win7 OS, there appeared the following problem: Somehow eclipse is unable to resolve types from namespace std, while the header files like connect fine and compilation goes. Generally not fatal of course, but pretty annoying when the code is marked with a huge pile of "errors" that are not. ...
leta17 asked October 8th 19 at 06:45
2
answers

How to integrate Notepad++ with MinGW compiler?

Dear harrowdale, tell me how you can intelligently integrate Notepad++ (or similar editor with different syntax highlighting) with a MinGW compiler (or similar Windows).
Quinten_Howell asked October 7th 19 at 12:45
1
answer

What is the strangeness of the cycle?

#include <fstream> using namespace std; char a[100][100]; int i,j,m,n,r; main() { ifstream in("input.txt"); ofstream out("output.txt"); in>>m>>n; for (;i<m; i++) for (;j<n; j++) in>>a[i][j]; }</m></fstream> Use MinGW. Can you explain why it is not working cycle? "i" and "j" to ze...
patience47 asked October 2nd 19 at 23:33
1
answer

How to analyze a Qt project using the PVS-Studio?

It is necessary to conduct static code analysis of the project, developed on Qt 5.2.0, using the PVS-Studio. Build project with MinGW 4.8 with using qmake (*.pro file). The development project is in QtCreator. How to do code analysis with PVS-Studio?
earnest asked October 1st 19 at 02:15
2
answers

How to create a shortcut means of winapi in C++?

Can't create a shortcut means of winapi in C++. Code and error here. Please tell me what to do?#pragma comment(lib, "Ole32.lib") #include <iostream> #include <shlobj.h> #include <objidl.h> #include <objbase.h> #include <windows.h> using namespace std; int main() { HRESULT hres; IShellLink ...
allie.Connelly77 asked September 30th 19 at 16:32