EDIT: Solution at the end of this thread.Hello!
I'm having a linking error that only happens when I try to build on debug mode.
obj\main.o:main.cpp:(.rdata$_ZTV16SFMLRenderWindow[__ZTV16SFMLRenderWindow]+0x1c)||undefined reference to `sf::RenderWindow::activate(bool)'|
obj\main.o:main.cpp:(.rdata$_ZTV16SFMLRenderWindow[__ZTV16SFMLRenderWindow]+0x34)||undefined reference to `non-virtual thunk to sf::RenderWindow::activate(bool)'|
I've built SFML 2.5.0 from scratch, with CMake, with the MinGW g++ compiler version 6.2.0 (i686-posix-dwarf-rev1, Built by MinGW-W64 project).
I'm sure I'm doing something wrong, but I can't find out what. Again, release build works just fine, it only happens on the debug build.
Thanks!