Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem c++ virtualne funkcie

Vypisuje mi to takuto chybu:

/home/kardos/.netbeans/remote/192.168.137.150/test-server-Windows-x86_64/F/temp_projects/reporty/reporty/CReporting.cpp:4071: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopState.o:(.rodata._ZTV10CStopState[vtable for CStopState]+0x10): undefined reference to `ACGroupState<Json::Value, CCVJson>::checking(ACBaseState<Json::Value, CCVJson>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopState.o:(.rodata._ZTV12ACGroupStateIN4Json5ValueE7CCVJsonE[vtable for ACGroupState<Json::Value, CCVJson>]+0x10): undefined reference to `ACGroupState<Json::Value, CCVJson>::checking(ACBaseState<Json::Value, CCVJson>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV15CStopController[vtable for CStopController]+0x10): undefined reference to `ACStateController<Json::Value, CCVJson>::getData(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV15CStopController[vtable for CStopController]+0x18): undefined reference to `ACStateController<Json::Value, CCVJson>::freeLastDataItem(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV15CStopController[vtable for CStopController]+0x20): undefined reference to `ACStateController<Json::Value, CCVJson>::isData(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV15CStopController[vtable for CStopController]+0x28): undefined reference to `ACStateController<Json::Value, CCVJson>::run(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV17ACStateControllerIN4Json5ValueE7CCVJsonE[vtable for ACStateController<Json::Value, CCVJson>]+0x10): undefined reference to `ACStateController<Json::Value, CCVJson>::getData(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV17ACStateControllerIN4Json5ValueE7CCVJsonE[vtable for ACStateController<Json::Value, CCVJson>]+0x18): undefined reference to `ACStateController<Json::Value, CCVJson>::freeLastDataItem(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV17ACStateControllerIN4Json5ValueE7CCVJsonE[vtable for ACStateController<Json::Value, CCVJson>]+0x20): undefined reference to `ACStateController<Json::Value, CCVJson>::isData(IDataIterator<Json::Value>&)'
build/Debug/GNU-Linux-x86/BaseStopSystem/CStopController.o:(.rodata._ZTV17ACStateControllerIN4Json5ValueE7CCVJsonE[vtable for ACStateController<Json::Value, CCVJson>]+0x28): undefined reference to `ACStateController<Json::Value, CCVJson>::run(IDataIterator<Json::Value>&)'
Vypisuje to linker. To co som googlil som nasiel v jednom odkaze ze by virtualne metody mali byt v hlavickovych suboroch, alebo som to zle prelozil.

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny