2
« on: October 05, 2024, 03:26:41 pm »
hey to everyone!
the pop up error :
"the procudure entry point
_ZNSt15basic_streambuflcSt11char_traitsIcEE7seekposEst4fposliESt13_Ios_Openmode could not be located in the dynamic link library C:\project\sfml-system-2.dll"
I spent a ton of hours to build and link my first sfml program. I build and link without error and the executable created, but when
i try to run it a pop up error appears : the procudure entry point
_ZNSt15basic_streambuflcSt11char_traitsIcEE7seekposEst4fposliESt13_Ios_Openmode could not be located in the dynamic link library C:\project\sfml-system-2.dll
The SFML located in C:\SFML\
I use VS code and compiler:
C:\Windows\System32>g++ --version
g++ (Rev3, Built by MSYS2 project) 13.2.0
the downloaded SFML is:
SFML 2.6.0 and GCC 13.1.0 MinGW (SEH) - 64-bit
my command in terminal is: g++ -IC:\SFML\include -c test.cpp -o test.o and
g++ -LC:\SFML\lib .\test.o -o app.exe -lsfml-graphics -lsfml-window -lsfml-system -lsfml-main -mwindows
In environment variable PATH i added the msys64 and SFML/bin
if anyone can help i would greatly appreciate it!