Questions tagged as 'mingw'

2
answers

How to make my C ++ programs multi-architecture (32 and 64 bits)?

Developing a native C ++ application using DevCPP and the MinGW compiler, when running the application on another machine I noticed an error regarding architecture, because my program only runs in 64-bits, how can I make it multi-architecture? T...
asked by 22.07.2016 / 18:26
2
answers

How to create an alias to execute multiple commands with git?

I would like to know 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 configuration in gitconfig: [alias] upl = !git add...
asked by 08.02.2017 / 15:40
1
answer

How to use qtwebkit-plugins in my project?

QtWebkit-plugins is a library that provides features for QWebView , such as SpellCheck/Corretor ortografico and Notification Web API .    Read about on:       SpellCheck    Notification Web API...
asked by 04.03.2015 / 21:21
1
answer

How 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 wish to do it straight from Windows just using GCC (MinGW, in that case). Is this possible in relation to cross-compiling ? How would you do it in my ca...
asked by 01.02.2015 / 18:53
1
answer

What is the difference between Debug and Release mode?

I started to get the error: "Microsoft C ++ runtime error library". And I got a lot of trouble trying to fix this error. I was using Qt Creator with mingw32 in debug mode , but I realized that this mode depends on many compiler DLLs. I kn...
asked by 30.08.2016 / 17:47
1
answer

Problem compiling: no input files compilation terminated

I'm starting to program in C, but then to use GCC it's giving me the following problem when I use cmd:    gcc.exe: fatal error: no imput files compilation terminated I would like to know what to do, since all I found was just about instal...
asked by 17.09.2015 / 19:00
1
answer

Problems with threads in C ++

Hello, I'm using mingw, 32-bit version on windows 7 Ultimate and I'm having trouble using threads. I know they do not work for this version of mingw, which is why I use the version on this link . But I do not compile this example because it say...
asked by 16.05.2018 / 23:17
1
answer

Header files in C ++ using more than once

I'm developing a multiplatform project (Windows - Linux - MacOS). During its development and when generating documentation (via Doxygen) I realized that there are many *.h files to be called by several *.cpp files. My questions are...
asked by 04.07.2018 / 17:57
0
answers

Error compiling a .cpp file using MinGW

Today I reinstalled MinGW and setup it again, tested it several times with some programs in c ++ and was working fine, but now I try to create new programs and when I will compile using the command: g++ -o file file.cpp It accuses the follo...
asked by 27.05.2018 / 23:41
1
answer

Code does not compile in C ++ 11

I have a common code, more specifically the following: #include <iostream> #include <SFML/System.hpp> #include <SFML/Window/Keyboard.hpp> namespace thread { void check_key(sf::Keyboard::Key key) { while(true)...
asked by 08.11.2014 / 02:46