static Application<A, T>* app;
12345678910
#include "../../../include/odfaeg/Graphics/application.h" namespace odfaeg { namespace core { using namespace sf; template<typename A, typename T> Application<A, T>* Application<A, T>::app = nullptr; template<typename A, typename T> Clock Application<A, T>::timeClk = Clock(); } }
C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\14.2.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: obj\Debug\ODFAEG-master\Demos\ODFAEG-DEMO\application.o:application.cp:(.rdata$.refptr._ZN6odfaeg4core11ApplicationIN6sorrok7MyAppliENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3appE[.refptr._ZN6odfaeg4core11ApplicationIN6sorrok7MyAppliENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3appE]+0x0)||undefined reference to `odfaeg::core::Application<sorrok::MyAppli, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::app'|