Unresolved externals

I have made changes to source code of a GNU project AOKTS and I did this errors which I dont know how they happen:

1
2
3
4
5
6
7
8
9
r:\project_folder\view\aokts.cpp(418): warning C4700: uninitialized local variable 'sheet' used
esdata.obj : error LNK2001: unresolved external symbol "class ESDATA esdata" (?esdata@@3VESDATA@@A)
scen.obj : error LNK2001: unresolved external symbol "class ESDATA esdata" (?esdata@@3VESDATA@@A)
Unit.obj : error LNK2001: unresolved external symbol "class ESDATA esdata" (?esdata@@3VESDATA@@A)
scen.obj : error LNK2019: unresolved external symbol "private: void __thiscall Trigger::read(struct _iobuf *)" (?read@Trigger@@AAEXPAU_iobuf@@@Z) referenced in function "private: void __thiscall Scenario::read_data(char const *)" (?read_data@Scenario@@AAEXPBD@Z)
scen.obj : error LNK2019: unresolved external symbol "public: __thiscall Trigger::Trigger(void)" (??0Trigger@@QAE@XZ) referenced in function "public: bool __thiscall SVector<class Trigger>::allocate(unsigned int,bool)" (?allocate@?$SVector@VTrigger@@@@QAE_NI_N@Z)
scen.obj : error LNK2019: unresolved external symbol "public: __thiscall Trigger::Trigger(class Trigger const &)" (??0Trigger@@QAE@ABV0@@Z) referenced in function "public: int __thiscall SVector<class Trigger>::append(class Trigger const &)" (?append@?$SVector@VTrigger@@@@QAEHABVTrigger@@@Z)
aokts.obj : error LNK2019: unresolved external symbol "public: __thiscall Setts::Setts(void)" (??0Setts@@QAE@XZ) referenced in function "void __cdecl `dynamic initializer for 'init''(void)" (??__Einit@@YAXXZ)
.\aokts.exe : fatal error LNK1120: 5 unresolved externals


My version cousing these errors is here:
http://forums.heavengames.com/redir/http%3A//sourceforge.net/projects/autots/files/aokts%2D1%2E0%2E1%2Dr70%5Ftest

Whist the original is here:
http://www.mediafire.com/download/o5yo6o6t91bpcix/aokts-1.0.1_rev-70.zip#!

Can somebody tell me what's the problem? Could the problem be cause of changes made by me - either by discarding included files or by discarding some class or method of class? What is the problem related to. I see there are external dependencies in folder dep:
R:\project\deps\a.bat
R:\project\deps\aa.txt
R:\project\deps\include
R:\project\deps\lib
R:\project\deps\include\expat.h
R:\project\deps\include\expat_external.h
R:\project\deps\include\zconf.h
R:\project\deps\include\zlib.h
R:\project\deps\lib\libexpatw.lib
R:\project\deps\lib\zlib1.lib
R:\project\deps\lib\zlib1d.lib

and also in the configuration of project in Linker/Input ...
Also note, that the Debug mode misses file zlib1d.lib but this error is simply possible to remove with changing option to Release or in configuration of the Linker.
Thanks, I solved the problem.
Last edited on
Topic archived. No new replies allowed.