'The applications I made with C++ work on my own computer, but on different computers it gives libstdc++-6.dll not found ,libgcc_s_dw2-1.dll not found
The applications I made with C++ sfml works on my own computer, but on my friends computers, it gives libstdc++-6.dll not found and ligcc_s_dw2-1.dll not found errors. I'm using visual studio code. I want applications to be opened on my friends computers without installing mingw to my friends computers, what can I do?
My makefile :
all: compile link run
compile:
g++ -I src/include -c main.cpp
link:
g++ main.o -o main -L src/lib -mwindows -l sfml-graphics -l sfml-window -l sfml-system -static-libgcc -static-libstdc++
run:
main
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
