error LNK2001 on _initI18n and _getLanguage in MSVC2005

Discuss the future of Warzone 2100 with us.
yaoyansi
New user
Posts: 2
Joined: 01 Apr 2008, 19:40

error LNK2001 on _initI18n and _getLanguage in MSVC2005

Post by yaoyansi »

hi,all
i compile the source code, but it complaints that:

Code: Select all

main.obj : error LNK2001: unresolved external symbol _initI18n
main.obj : error LNK2001: unresolved external symbol _getLanguage
i use warzone2100-2.1_beta2 and warzone2100-devpkg-2.1-msvc80-20080113.7z.

And,my dependence libs are defaults:
SDL.lib
SDLmain.lib
SDL_net-static.lib
libpng-static.lib
ogg_static.lib
vorbis_static.lib
vorbisfile_static.lib
OpenAL32.lib
glc32.lib
OpenGL32.lib
GLU32.lib
shfolder.lib
winmm.lib
wsock32.lib
dbghelp.lib
libpopt.lib
physfs.lib
zlib.lib


Could you tell why,and what can i do next?
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: error LNK2001 on _initI18n and _getLanguage in MSVC2005

Post by Buginator »

Hope you are downloading the project via svn.

If is fixed there.

So svn update.
and it ends here.
Chojun
Regular
Regular
Posts: 518
Joined: 25 Nov 2006, 17:49

Re: error LNK2001 on _initI18n and _getLanguage in MSVC2005

Post by Chojun »

yaoyansi wrote:
And,my dependence libs are defaults:
SDL.lib
SDLmain.lib
SDL_net-static.lib
libpng-static.lib
ogg_static.lib
vorbis_static.lib
vorbisfile_static.lib
OpenAL32.lib
glc32.lib
OpenGL32.lib
GLU32.lib
shfolder.lib
winmm.lib
wsock32.lib
dbghelp.lib
libpopt.lib
physfs.lib
zlib.lib
:o
The best thing to do when your philosophies don't stand up to debate is to lock the thread and claim victory.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: error LNK2001 on _initI18n and _getLanguage in MSVC2005

Post by Buginator »

Chojun wrote: :o
You don't like libs? :-\
and it ends here.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: error LNK2001 on _initI18n and _getLanguage in MSVC2005

Post by DevUrandom »

The Real Man writes it all himself. Bah, sh*t on operating systems! Run WZOS! :P
Chojun
Regular
Regular
Posts: 518
Joined: 25 Nov 2006, 17:49

Re: error LNK2001 on _initI18n and _getLanguage in MSVC2005

Post by Chojun »

Buginator wrote: You don't like libs? :-\
Not from a Software Engineering/Application Design standpoint.

I prefer the DIY modus wherever possible (of course, some things like zlib and libPNG, etc are necessary).  Of course, there is nothing fundamentally wrong with using various libraries (they save a considerable amount of development time).  It's more of a "religion" for me.   ;)

Here is our list of libs:

Code: Select all

ddraw.lib
dsound.lib
dplayx.lib
dInput.lib
dxguid.lib
winmm.lib
physfs.lib (being phased out)
Of course, we also use a few of the .dlls that came with the original source release, namely the RPL streamers/decoders, QMixer, and now, VisiRaptor.
The best thing to do when your philosophies don't stand up to debate is to lock the thread and claim victory.