compile ui on quake3

Locked
chelovechek
Posts: 3
Joined: Thu Jul 02, 2009 6:34 pm

compile ui on quake3

Post 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?
AnthonyJ
Posts: 130
Joined: Wed Nov 15, 2006 7:51 pm

Re: compile ui on quake3

Post 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)
chelovechek
Posts: 3
Joined: Thu Jul 02, 2009 6:34 pm

Re: compile ui on quake3

Post 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.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: compile ui on quake3

Post by ^misantropia^ »

Start the game with '+set sv_pure +set vm_game 0 +set vm_cgame 0 +set vm_ui 0'.
chelovechek
Posts: 3
Joined: Thu Jul 02, 2009 6:34 pm

Re: compile ui on quake3

Post by chelovechek »

^misantropia^
"Unable to load ui dll" :(
I put uix86.dll into the game dir.
Locked