Page 1 of 1

compile ui on quake3

Posted: Thu Jul 02, 2009 6:54 pm
by chelovechek
Help!
I really needed compile ui in quake 3. But Visual Studio 2008 reports:
error LNK2019: unresolved external symbol _UI_Alloc referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _va referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _Com_Printf referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _Info_SetValueForKey referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _Q_strncpyz referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _COM_ParseExt referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _COM_Parse referenced in function _UI_ParseInfos ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _String_Alloc referenced in function _UI_LoadArenas ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _Info_ValueForKey referenced in function _UI_LoadArenas ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _UI_OutOfMemory referenced in function _UI_LoadArenas ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _uiInfo referenced in function _UI_LoadArenas ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _COM_Compress referenced in function _UI_LoadBotsFromFile ui_gameinfo.obj ui
error LNK2019: unresolved external symbol _Q_stricmp referenced in function _UI_GetBotInfoByName ui_gameinfo.obj ui
What can I do?

Re: compile ui on quake3

Posted: Thu Jul 02, 2009 7:56 pm
by AnthonyJ
select the right configuration for the project (probably on a toolbar, or change via set active configuration). If you build q3_ui, you do not want a TA config. you need the TA config for building ui (the missionpack, aka TA, version of the ui)

Re: compile ui on quake3

Posted: Fri Jul 03, 2009 8:23 am
by chelovechek
OK. I compiled project "ui" with "Release TA" configuration. Without errors.
And what I need to do now? I made the "uix86" dll.

P.S.
I cannot compile the project "game" with "Release TA" configuration.

Re: compile ui on quake3

Posted: Fri Jul 03, 2009 12:12 pm
by ^misantropia^
Start the game with '+set sv_pure +set vm_game 0 +set vm_cgame 0 +set vm_ui 0'.

Re: compile ui on quake3

Posted: Sun Jul 05, 2009 5:35 pm
by chelovechek
^misantropia^
"Unable to load ui dll" :(
I put uix86.dll into the game dir.