I've spent the greater part of the day trying to get PocketQuake to compile. I'm relitively new to PPC development, but I have compiled a few applications before. However, that was with eMbedded Visual C++ 3, not 4.
I uninstalled all previous SDKs and started anew, installing EVC++4, the SP2, PocketPC 2003 SDK, and the QFEs (all from http://www.microsoft.com/windowsmobile/ ... fault.mspx ). When I open PocketQuake's source's workspace file, there is no PocketPC build configuration, so I created one. Attempting to compile lead to it complaining of a missing dinput.h file. After searching this board I found someeone else who had the same troubles. Dan responded saying it was in the Pocket PC 2002 SDK. I grabbed it from the 2002 SDK and attempted compilation again. Now, I get the following:
common.obj : error LNK2019: unresolved external symbol FindNextFlashCard referenced in function COM_InitFilesystem
common.obj : error LNK2019: unresolved external symbol FindFirstFlashCard referenced in function COM_InitFilesystem
console.obj : error LNK2019: unresolved external symbol SHSipPreference referenced in function Con_ToggleConsole_f
net_dgrm.obj : error LNK2019: unresolved external symbol inet_addr referenced in function NET_Ban_f
net_wins.obj : error LNK2019: unresolved external symbol inet_addr referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol ntohl referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol gethostbyname referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol gethostname referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol htons referenced in function WINS_Init
net_wins.obj : error LNK2019: unresolved external symbol WSACleanup referenced in function WINS_Init
net_wins.obj : error LNK2019: unresolved external symbol WSAStartup referenced in function WINS_Init
net_wins.obj : error LNK2019: unresolved external symbol closesocket referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol bind referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol ioctlsocket referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol socket referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol recvfrom referenced in function WINS_CheckNewConnections
net_wins.obj : error LNK2019: unresolved external symbol setsockopt referenced in function WINS_MakeSocketBroadcastCapable
net_wins.obj : error LNK2019: unresolved external symbol sendto referenced in function WINS_Write
net_wins.obj : error LNK2019: unresolved external symbol ntohs referenced in function WINS_AddrToString
net_wins.obj : error LNK2019: unresolved external symbol htonl referenced in function WINS_StringToAddr
net_wins.obj : error LNK2019: unresolved external symbol getsockname referenced in function WINS_GetSocketAddr
net_wins.obj : error LNK2019: unresolved external symbol gethostbyaddr referenced in function WINS_GetNameFromAddr
vid_ppc.obj : error LNK2019: unresolved external symbol SHFullScreen referenced in function Win_MouseButton
ARMV4Rel/PocketQuake.exe : fatal error LNK1120: 22 unresolved externals
Error executing link.exe.
PocketQuake.exe - 24 error(s), 0 warning(s)
And at this point I'm stuck.
I'm not particularly good at coding, but after looking through the source I think I may be able to impliment some simple togglable performance tweaks, for instance, don't draw "detail" entities (like torches), or only draw them if you are close to them. Nothing revolutionary, I'm just hoping to squeesze another half an FPS or so out of it on my ipaq.
Any help would be greatly appriciated.
-Jim Kneuper
"OrIgInAlCampass"
I uninstalled all previous SDKs and started anew, installing EVC++4, the SP2, PocketPC 2003 SDK, and the QFEs (all from http://www.microsoft.com/windowsmobile/ ... fault.mspx ). When I open PocketQuake's source's workspace file, there is no PocketPC build configuration, so I created one. Attempting to compile lead to it complaining of a missing dinput.h file. After searching this board I found someeone else who had the same troubles. Dan responded saying it was in the Pocket PC 2002 SDK. I grabbed it from the 2002 SDK and attempted compilation again. Now, I get the following:
common.obj : error LNK2019: unresolved external symbol FindNextFlashCard referenced in function COM_InitFilesystem
common.obj : error LNK2019: unresolved external symbol FindFirstFlashCard referenced in function COM_InitFilesystem
console.obj : error LNK2019: unresolved external symbol SHSipPreference referenced in function Con_ToggleConsole_f
net_dgrm.obj : error LNK2019: unresolved external symbol inet_addr referenced in function NET_Ban_f
net_wins.obj : error LNK2019: unresolved external symbol inet_addr referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol ntohl referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol gethostbyname referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol gethostname referenced in function WINS_GetLocalAddress
net_wins.obj : error LNK2019: unresolved external symbol htons referenced in function WINS_Init
net_wins.obj : error LNK2019: unresolved external symbol WSACleanup referenced in function WINS_Init
net_wins.obj : error LNK2019: unresolved external symbol WSAStartup referenced in function WINS_Init
net_wins.obj : error LNK2019: unresolved external symbol closesocket referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol bind referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol ioctlsocket referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol socket referenced in function WINS_OpenSocket
net_wins.obj : error LNK2019: unresolved external symbol recvfrom referenced in function WINS_CheckNewConnections
net_wins.obj : error LNK2019: unresolved external symbol setsockopt referenced in function WINS_MakeSocketBroadcastCapable
net_wins.obj : error LNK2019: unresolved external symbol sendto referenced in function WINS_Write
net_wins.obj : error LNK2019: unresolved external symbol ntohs referenced in function WINS_AddrToString
net_wins.obj : error LNK2019: unresolved external symbol htonl referenced in function WINS_StringToAddr
net_wins.obj : error LNK2019: unresolved external symbol getsockname referenced in function WINS_GetSocketAddr
net_wins.obj : error LNK2019: unresolved external symbol gethostbyaddr referenced in function WINS_GetNameFromAddr
vid_ppc.obj : error LNK2019: unresolved external symbol SHFullScreen referenced in function Win_MouseButton
ARMV4Rel/PocketQuake.exe : fatal error LNK1120: 22 unresolved externals
Error executing link.exe.
PocketQuake.exe - 24 error(s), 0 warning(s)
And at this point I'm stuck.
I'm not particularly good at coding, but after looking through the source I think I may be able to impliment some simple togglable performance tweaks, for instance, don't draw "detail" entities (like torches), or only draw them if you are close to them. Nothing revolutionary, I'm just hoping to squeesze another half an FPS or so out of it on my ipaq.
Any help would be greatly appriciated.
-Jim Kneuper
"OrIgInAlCampass"