1
General / entry point error
« on: October 13, 2017, 07:11:11 pm »
when I try to run a successfully compiled sfml program this error occurs
sfml master compiled with mingw-w64 gcc7.1 on windows 10
directory structure:
├── ball.cpp
├── ball.exe
├── openal32.dll
├── sfml
│ ├── bin
│ ├── cmake
│ ├── include
│ ├── lib
│ ├── license.md
│ └── readme.md
├── sfml-audio-2.dll
├── sfml-graphics-2.dll
├── sfml-network-2.dll
├── sfml-system-2.dll
└── sfml-window-2.dll
command I have used to compile the program
Code: [Select]
The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library C:\Users\Owner\Desktop\sfml_test\ball.exe.
The procedure entry point _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcjj could not be located in the dynamic link library C:\Users\Owner\Desktop\sfml_test\sfml-graphics-2.dll.
The procedure entry point _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc could not be located in the dynamic link library C:\Users\Owner\Desktop\sfml_test\sfml-window-2.dll.
The procedure entry point _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEj could not be located in the dynamic link library C:\Users\Owner\Desktop\sfml_test\sfml-system-2.dll.
sfml master compiled with mingw-w64 gcc7.1 on windows 10
directory structure:
├── ball.cpp
├── ball.exe
├── openal32.dll
├── sfml
│ ├── bin
│ ├── cmake
│ ├── include
│ ├── lib
│ ├── license.md
│ └── readme.md
├── sfml-audio-2.dll
├── sfml-graphics-2.dll
├── sfml-network-2.dll
├── sfml-system-2.dll
└── sfml-window-2.dll
command I have used to compile the program
Code: [Select]
g++ -std=c++11 ball.cpp -o ball.exe -Isfml\include\ -Lsfml\lib\ -lsfml-graphics -lsfml-window -lsfml-system