Answer the question
In order to leave comments, you need to log in
Mingw-w64 does not want to compile anything, how to fix it?
Hello everyone, tell me what to do, I downloaded mingw-w64, installed it, set the paths to system variables ess, but
I decided to start by compiling a typical Hello World in C ++:
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
}
PS C:\progs> x86_64-w64-mingw32-g++ Hello.cpp -o hello.exe
c:/mingw64/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lstdc++
c:/mingw64/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
c:/mingw64/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
collect2.exe: error: ld returned 1 exit status
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question