Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MikeProgrammer

Pages: [1]
1
General / Problems with DLL
« on: August 25, 2024, 05:03:45 pm »
Hi everyone i am on windows and I struggles with launching the executable smfl-app generated by my compiler. I am on a 64 bits system and i use mingw64 and especially g++ to compile my main.cpp . Everything works great to get the .o file and then the executable but when i try to run i, i got an error saying :
The entry point of the procedure _ZNSt15basic_streambuflcSt11char_traitslcEE7seekposESt4posliESt13_los_Openmode could not be located in the dynamic link library "PathToMyCodingFolder"/sfml-system-2.dll . So to explain my installation, I downloaded sfml directly from the website choosing GCC 13.1.0 MinGW (SEH) - 64-bit. And in the same of my main.cpp, I put all the dll files located in bin, and i also put the lib and the include directory.
To compile I used thoses commands :
g++ -c main.cpp -Iinclude
g++ main.o -o sfml-app -Llib -lsfml-graphics -lsfml-window -lsfml-system
I am not very familiar with compiling and all thoses stuff so my non-understanding of c++ can be the source of why it doesn't work.
Tell me if my explaination isn't clear enough.
Thank you

Pages: [1]
anything