Compile Error...


(codePRK) #1

how do i fix this?

--------------------Configuration: game - Win32 Debug--------------------
Linking...
   Creating library .\Debug/qagame_mp_x86.lib and object .\Debug/qagame_mp_x86.exp
g_client.obj : error LNK2001: unresolved external symbol _G_GetTokenForString
g_xpsave.obj : error LNK2001: unresolved external symbol _G_ReadDataFromFile
g_xpsave.obj : error LNK2001: unresolved external symbol _G_IsFile
g_xpsave.obj : error LNK2001: unresolved external symbol _G_IsDirectory
g_xpsave.obj : error LNK2001: unresolved external symbol _G_BuildFilePath
g_xpsave.obj : error LNK2001: unresolved external symbol _G_GetCurrentTime
g_xpsave.obj : error LNK2001: unresolved external symbol _G_WriteDataToFile
g_xpsave.obj : error LNK2001: unresolved external symbol _G_IterateDirectory
g_xpsave.obj : error LNK2001: unresolved external symbol _G_DeleteFile
..\Debug/qagame_mp_x86.dll : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.

qagame_mp_x86.dll - 10 error(s), 0 warning(s)

if you need more information, you can ask


(jaybird) #2

You’re missing a file.


(codePRK) #3

yea… right, which file xD


(ShadowAgent) #4

link.exe?


(jaybird) #5

I don’t know which file, I would look for the one that contained those functions it says are missing.

I’m assuming you’re using Visual Studio to compile. I’d find the file and make sure it is listed in the game module’s project. Adding it should fix this.


(codePRK) #6

another question how i can get .so files (on windows) couldnt really find it, something with crosscompiling??
and yes i use ms visual studio


(kamikazee) #7

You don’t expect a Microsoft product to compile binaries for a competing platform, do you?

You could try to run a Linux LiveCD, install Linux or ask someone with a Linux install to compile them for you.

It could be that there is some version of the GNU C compiler for Windows building Linux binaries, although I doubt it.


(nUllSkillZ) #8

You could virtualize GNU/Linux in Windows.
All you need is some virtual environment (AFAIK Virtualbox or VMWare are free available).
Then a GNU/Linux Distribution of your choice (it’s also free - suggestion Ubuntu).
And about 5 GB (I guess 2 GB is the absolutely minimum) of free disc space.


(Rudi) #9

Don’t forget Virtual PC :wink:

Just don’t expect to run Ubuntu from it.


(Meyerinchains) #10

Those look like NQ functions. Looks like you’re missing a few NQ specific files, such as g_time.c and g_osfile.c. Are you using a project file from some other mod??


(codePRK) #11

yes its nq, cant you just give a small tut how i should install it xD


(nUllSkillZ) #12

A tutorial for the installation of GNU/Linux as virtual machine?
Or for the correct installation of the NQ source?


(codePRK) #13

the correct installation of the NQ source so im sure it should work


(Meyerinchains) #14

Download the source code and use the ETNQ solution file. It’s already set up for you.


(codePRK) #15

only ui gets compiled w/o any errors
i tried a lot of things by now, I just cant get the other 2 working