Topic: Compile errors
Hi
I have compile error "error LNK209: unresolved external symbol" error when i compiled. I tried deleting objs file and compiling again but I got nothing. It is a a problem noone has given an answer to yet so its no problem if you cant help.
I copied and pasted someone else's error code from the forums because i cant copy from my console.
=== Setup by Botox ===
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
=== Building Teeworlds Server ===
Процесс не найден: teeworlds_srv
[1/2] #1 c++ src/game/server/gamecontext.cpp
c:\tee\tee\src\game\server\gamecontext.cpp(648) : warning C4700: uninitialized l
ocal variable 'msqQueryReg' used
[2/2] #1 link teeworlds_srv.exe
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__
RegCloseKey@4 referenced in function _win_init_registry
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__
RegEnumValueA@32 referenced in function _win_init_registry
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__
RegOpenKeyExA@20 referenced in function _win_init_registry
mysqlclient.lib(common.obj) : error LNK2019: unresolved external symbol __imp__I
sValidSid@4 referenced in function "public: bool __thiscall Sid::is_valid(void)c
onst " (?is_valid@Sid@@QBE_NXZ)
mysqlclient.lib(common.obj) : error LNK2019: unresolved external symbol __imp__E
qualSid@8 referenced in function "public: bool __thiscall Sid::operator==(class
Sid const &)" (??8Sid@@QAE_NABV0@@Z)
mysqlclient.lib(common.obj) : error LNK2019: unresolved external symbol __imp__L
ookupAccountNameW@28 referenced in function "public: __thiscall Sid::Sid(wchar_t
const *)" (??0Sid@@QAE@PB_W@Z)
mysqlclient.lib(common.obj) : error LNK2019: unresolved external symbol __imp__G
etTokenInformation@20 referenced in function "public: __thiscall Sid::Sid(void *
)" (??0Sid@@QAE@PAX@Z)
mysqlclient.lib(random.obj) : error LNK2019: unresolved external symbol __imp__C
ryptAcquireContextA@20 referenced in function "public: __thiscall TaoCrypt::OS_S
eed::OS_Seed(void)" (??0OS_Seed@TaoCrypt@@QAE@XZ)
mysqlclient.lib(random.obj) : error LNK2019: unresolved external symbol __imp__C
ryptReleaseContext@8 referenced in function "public: __thiscall TaoCrypt::OS_See
d::~OS_Seed(void)" (??1OS_Seed@TaoCrypt@@QAE@XZ)
mysqlclient.lib(random.obj) : error LNK2019: unresolved external symbol __imp__C
ryptGenRandom@12 referenced in function "public: void __thiscall TaoCrypt::OS_Se
ed::GenerateSeed(unsigned char *,unsigned int)" (?GenerateSeed@OS_Seed@TaoCrypt@
@QAEXPAEI@Z)
teeworlds_srv.exe : fatal error LNK1120: 10 unresolved externals
bam: 'teeworlds_srv.exe' error 1120
bam: error: a build step failed
Не удается найти файл teeworlds_srv.exe.
=== Finished ===
Help would be appreciated. Thanks