i have 4 code:
input.hpp
input.cpp
core.hpp
main.cpp
tell me if you want a code
I have this error using vscode and MinGW:
g++ -Isrc/include -c coding/main.cpp
g++ main.o -o main -Lsrc/lib -lsfml-graphics -lsfml-window -lsfml-systemmain.o:main.cpp:(.text+0x1b9): undefined reference to `Input::InputHandler(sf::Event, sf::RenderWindow&)'
main.o:main.cpp:(.text+0x45c): undefined reference to `Input::Input()'
collect2.exe: error: ld returned 1 exit status
MakeFile:7: recipe for target 'link' failed
mingw32-make: *** [link] Error 1