Most voted "mingw" questions
33 questions
Sort by count of
-
7
votes2
answers616
viewsHow do I make my C++ programs multi-architecture (32 and 64 bit)?
Developing a native C++ application using Devcpp and the Mingw compiler, when running the application on another machine I noticed an error regarding the architecture, because my program only runs…
-
6
votes2
answers174
viewsHow do I create an alias to run multiple commands with git?
I wonder how to create an alias for git that runs the following commands: git add (all modified files) git commit (including a message) git push I tried the following gitconfig setting: [alias] upl…
-
6
votes1
answer1949
viewsWhat is the difference between Debug and Release?
I started having the error: "Microsoft C++ Runtime error library". And I got many problems trying to fix this error. I was using Qt Creator with mingw32 in mode debug, but I realized that this mode…
-
5
votes1
answer363
viewsHow to compile C/C++ for Linux/Mac OS on a Windows?
The title says it all. I have code that can be compiled on the two (three?) platforms and I want to do it straight from Windows only using GCC (Mingw in this case). Would that be possible in…
-
5
votes1
answer214
viewsHow to use qtwebkit-plugins in my project?
Qtwebkit-plugins is a library that provides functionalities for QWebView, as SpellCheck/Corretor ortografico and Notification Web API. Read about in: SpellCheck Notification Web API I tried to…
-
3
votes1
answer5699
viewsProblem compiling: no input files Compilation terminated
I’m starting to program in C, but ai to use GCC ta giving me the following problem when using cmd: gcc.exe: fatal error: no imput files Compilation terminated I would like to know what to do,…
-
2
votes1
answer61
views -
2
votes1
answer236
viewsProblems with C++ threads
Hello, I’m using mingw, 32-bit version in windows 7 Ultimate and I’m having trouble using threads. I know they don’t work for this version of mingw, which is why I use the version in this link. But…
-
2
votes1
answer90
viewsFile build error . cpp using Mingw
Today I reinstalled Mingw and set it up again, I tried it several times with some programs in c++ and it was working fine, but now I try to create new programs and when I will compile using the…
-
2
votes1
answer90
viewsHeader files in C++ using more than once
I am developing a cross-platform project (Windows - Linux - Macos). During its development and while generating documentation (via Doxygen) I realized that there are many files *.h to be called by…
-
2
votes1
answer146
viewsReference not defined in compiling an executable for windows x86
I’m building a scaffold project for cross-Compile on c/c++ for Windows, Linux, Mac, Ios and Android. When I compile the project for Windows x86 and I have a very strange error, but the same code…
-
1
votes1
answer585
viewsThe chmod command does not work as expected when using MINGW32
The command chmod does not work as expected when using the MINGW32 on Windows. I tested only on Windows 10 64 bits. $ cat ~/bin/minha-shell echo "Esta é minha shell" ls -lat /c/ $ chmod 777…
-
1
votes0
answers82
viewsHow to install Jflex, Yacc, and GCC to create a compiler in windows 8.1?
I know I need to add in the windows path too, because I will do in Otepad, so to compile directly in cmd, I need to add in the windows path.
-
1
votes0
answers112
viewsCompile PHP-CPP extension on Windows
I’m trying to develop a PHP extension with PHP-CPP on Windows. I was able to compile . a and . so of PHP-CPP with Mingw, however, when I compile the extension it does not find phpcpp. h. My File…
-
1
votes1
answer1280
viewsHow to compile in Visual Studio Code
I installed the Mingw and in the instutions there is the indication of: Make sure your Compiler Executable is in your Platform form path so the Extension can find it. How do? Thank you, this is all…
-
1
votes1
answer901
viewsHow to install mingw-W64-x86_64-GCC with MSYS2 if I get the message mingw64 is already installed on the system
I am trying to install GCC on my Windows station to do new tests with the use of GCC and some C compiled programs that can be ported to Windows. I’ve used several versions of GCC for Windows, some…
-
1
votes2
answers61
viewsIs it possible to add extra classes to a dll?
The compiler can even compile perfectly , but for some reason when I run the app.exe gives me an error, follows my code: main.cpp #include <iostream> #include "cpp.h" int main() { ClassA * a =…
-
1
votes0
answers33
viewsQcoreapplication::applicationVersion does not "recognize" RC_FILE when using Mingw
I created a file rc (Resource File) simple and added it to the project (winvertest.pro): rcexample.rc #include "winver.h" VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,1 PRODUCTVERSION 1,0,0,1…
-
0
votes0
answers89
viewsMINGW32 Composer: command not found - windows 8
Hello, I installed git in windows 8 and I have a problem with "cmd" Composer works and MINGW32 that came in git appears the message "Composer: command not found" someone knows how I fix this? NOTE:…
-
0
votes1
answer79
viewsCmake Makefiles generator problem
Good ones I’m following this tutorial on how to install Allegro 5 with MSYS2. But I have a problem. At the moment I will run the command cmake \ -G"MSYS Makefiles" \…
-
0
votes1
answer347
viewsHow to save records of a mysql query in C++
I’m using a C++ library that does the query in the database. My goal is to make a query, and save the data in a txt file, perhaps even manipulating to stay in json format. The problem is that I…
-
0
votes1
answer182
viewsCodeblocks compile error - Libboost
I am compiling here in Codeblocks, already a week that I am trying to compile, but always some error, and now that is at the end of the compilation is giving some errors and I am not able to solve…
-
0
votes1
answer74
viewsError running Hello World project with default eclipse CDT condigo
I’m trying to use the default code that comes in the Hello World project in Eclipse CDT(I’m using mingw), but when I put to run the project nothing appears in the console, only that the application…
-
0
votes1
answer81
viewsPaint pixels in c++
Hello, I needed a function to paint pixels on the console. I came up with a solution here but when compiling gives me the following mistake: C: Users user user Appdata Local Temp ccORhjHu.…
-
0
votes0
answers135
viewsI cannot compile c++ or c code in any ide
For a while I’ve only been able to compile c or c++ code in my cmd. And I can’t compile in any ide. Whenever I try to compile the error appears:…
-
0
votes1
answer104
viewsUse of the getline() function in C with Mingw
I created code for a library collection using Linux/GNU, and it’s working perfectly. However, I need to Compile code on Windows using GCC, and wanted to know if there is a method to use this…
-
0
votes1
answer193
viewsC++ Compiling/Including all files . cpp from the subdirectories of the /src folder
I use Visual Studio Code + Mingw. My project is the https://github.com/KaueAlves/Grimorie-Tabuleiro As some IDES link between classes automatically, when using VSCODE I came across the need to pass…
-
0
votes1
answer249
viewsI cannot execute some C codes by Sublime Text 3
I have a folder with some simple C codes, I can compile, but the code does not run correctly in the terminal of sublime text 3. Does not return any information or display this message due to the…
-
0
votes0
answers24
viewsError while trying to run a program via "Makefile" or via IDE
Currently, whenever I try to run a code (c++) I get this error message: I searched several sites and thought that the error might be in "Microsoft Visual C++ Redistributable", but I tried to…
-
0
votes1
answer54
viewsHow to compile C programs in Visual Studio 2019 without opening a project or solution?
I’m new to programming and I’m trying to use Visual Studio 2019 to write C codes. But for that I need to create a project/solution within the IDE, Something that does not suit me because I am at all…
-
-1
votes1
answer3351
viewsVisual Studio Code Extension: "Code Runner" does not compile C
I’m trying to run a code on C in the Visual Studio Code with the extent Code Runner but I’m not getting it. I’ve installed the Mingw correctly, I can verify it in cmd via g++ --version But I still…
-
-1
votes1
answer127
viewsHow to Solve C++ Visual Studio Compiler Problem?
I was trying to do a Hello World in C++ in Visual Studio, but when trying to compile and run the program no bug was displayed, only a C/C compiler error message++. I already installed Minggw, and…
-
-4
votes1
answer419
viewsVariable declaration problem to compile in Code::Blocks
#include <stdio.h> #include <locale.h> #include <string.h> int main () { setlocale (LC_ALL,"Portuguese"); int num,escolha; char nome[20]; printf ("\nDigite seu nome: "); gets…