Original Post
AFAIK this code worked before I reinstalled WinXP + CodeBlocks + MingW (Windows needs to be reinstalled annually for obscure reasons to keep it up to speed), but I *could* have modified something in the code that produces this error... Anyways, ld.exe is giving me errors like: is a templated class which takes class DaevsGUI::Fonts::FreeType2 as templated type. DaevsGUI::Fonts::FreeType2 is a derived class from DaevsGUI::Font (base class). What is causing the problem? I suspect a member function from DaevsGUI::Fonts::FreeType2 or DaevsGUI::Font, but I'm really unsure. Also I don't see any reason why a linker error appears anyways! If code is required to solve the problem, I can give it, but it might be lengthy... I use the latest GCC stable release. Thanks in advance! [Edited by - Decrius on June 15, 2009 12:47:17 PM]
obj\Release\main.o:main.cpp:(.text+0x1477): undefined reference to
`_ZNK8DaevsGUI7PointerINS_5Fonts9FreeType2EEcvNS0_IT_EEINS_4FontEEEv' I do link to the library, naturally. I tried using C++filt to demangle the name and track what exactly is giving this linker error. Rebuilding both the library and executable didn't solve it. Typically, DaevsGUI and DaevsGUI::Fonts are namespaces, DaevsGUI::Pointer