The chmod command does not work as expected when using MINGW32 in Windows.
I tested only on Windows 10 64 bit.
$ cat ~/bin/minha-shell
echo "Esta é minha shell"
ls -lat /c/
$ chmod 777 ~/bin/minha-shell
$ ls -lat ~/bin/minha-shel...
The compiler even compiles perfectly, but for some reason when I run app.exe it returns an error, it follows my code:
main.cpp
#include <iostream>
#include "cpp.h"
int main() {
ClassA * a = new ClassA();
std::cout <&l...
I'm trying to install GCC on my Windows workstation to do new testing using GCC and some C compiled programs that can be ported to Windows.
I have already used several versions of GCC for Windows, some based on CygWin others in Mingw itself,...
I've created a rc ( Resource File >) 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
FILEFLAGS 0x0L...
I'm trying to develop a PHP extension with PHP-CPP in Windows. I was able to compile the .a and .so of PHP-CPP with MingW, but when I compile the extension it does not find phpcpp.h.
Home
My Makefile File:
NAME = Teste
IN...
I've created a code for a bookstore library using Linux / GNU, and it works fine there. However, I need the code compile in Windows using GCC, and I was wondering if there is a method to use this function or if there is a simple way to override...
Hello, I needed a function to paint pixels on the console.
I've got a solution here but when compiling gives me the following error:
C: \ Users \ user \ AppData \ Local \ Temp \ ccORhjHu.o: test.cpp: (.text + 0xa1): undefined reference...
I'm using a C ++ library that does the query in the database. My goal is to do a query, and save the data in a txt file, maybe even manipulating it to get json format. The problem is that I can not retrieve the value of the records when saving t...
I'm going to go on this tutorial on how to install allegro 5 with MSYS2.
But I have a problem. By the time I'm going to run the command
cmake \
-G"MSYS Makefiles" \
-DCMAKE_SYSTEM_PREFIX_PATH:PATH=/mingw64/x86_64-w64-mingw32/...