Category "mingw"

gdb <error reading variable> for any string object

Lets take this very simple program here for example: // test.cpp #include <string> #include <iostream> using namespace std; int main() { strin

Eclipse can't find linked libraries

I am working with the windows.h functions and everything works fine so far. But when I try to use functions which require me to link external libraries somethin

Qt6 build error from source. Multi-config build is only supported by Xcode, Ninja Multi-Config and Visual Studio generators

I'm trying to build Qt6.3.0 from sources. I'm new in qt and trying to build static version. I'm use this tree: C:/Qt/6.3.0/Src C:/Qt/6.3.0/static In C:/Qt/6.3.0

Why doesn't MinGW's linker recognise libgslcblas.dll.a?

Solution: I can now include libgsl and libgslcblas when I compile minimal code in the /home/HORTICULTIST location in cygwin's directory. Before I set the enviro

Exporting class template with out-of-body definitions from DLL with MinGW-w64

I am facing trouble properly linking a trivial Windows executable to a trivial DLL with MinGW-w64 (based on GCC 11.3.0 from MSYS2) when class templates are invo

multiple definition of `std::logic_error::logic_error(std::logic_error const&)

I am cross-compiling a windows application from my Linux host machine and I am getting a linking error of multiple definitions between two files in the std! /us

executable file compiled by MinGW x86_64-w64-mingw32 in Ubuntu not working on Windows

I am trying to create a executable file works on Windows 64bit from linux. I am using MXE to cross compile c file on my ubuntu server. And after I compile c fil

FFMPEG build on Windows using MSVC - make fails

I am trying to build FFMPEG on Windows with MSVC. I am following this guide. I have managed to setup the environment in order to configure successfully, but mak

I can't build c++ files anymore

I think i deleted some files i shouldn't and now when i try to build files in Sublime Text it says "g++ is missing" and in VS Code it says "#include errors dete

Can't run my built Qt Design Studio (Qt 6) project with CMake on Windows

I'm trying to run a compiled Qt6 project with CMake and mingw64, however, Qt6 apparently can't find QtQuick.Studio.Effects, QtQuick.Studio.Components and QtGrap

VIsual Studio Code error cannot open output file main.exe

This is my first project with Visual Studio Code. When i go to run my "Hello World" project I get this cd "c:\Users\imaco\Desktop\Cpppractice" && g++ ma

Install Protocol Buffers on Windows

I am unable to find clear instructions to install Google Protocol Buffers (including compiler) on Windows x64 platform. I went through the instructions README

makefile erro " *** No target specified and no makefile found.stop."

I have a makefile that contains this code all: hello.exe hello.exe: hello.o gcc -o hello.exe hello.o hello.o: hello.c gcc -c hello.c clean: r

GMP Library, compile error in C++, MinGW, Code::Blocks

I have built GMP for MinGW. The IDE I'm using is Code::Blocks. I don't have any problems with C functions of GMP. But I'm having problem with C++. The program I

How do I fix undefined reference to _imp__*?

I'm trying to compile something that depends on gtkspell, which depends on enchant, under MinGW. I'm getting errors like gtkspell/gtkspell.c:757: undefined r