• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows compile error LNK2001

desyter

New Member
Joined
Sep 6, 2012
Messages
1
Reaction score
0
Hello,
I have a problem, at the end of the compilation the compiler returns me the following errors. Everything I have is correctly positioned in the project properties. What is going on?
I tried to build in all ways (win32 / x64, Debug / Release) and it is still the same.
Code:
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_info_init
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_info_clear
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_info_blocksize
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_comment_init
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_comment_clear
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_block_init
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_block_clear
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_dsp_clear
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_idheader
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_headerin
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_init
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_restart
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_trackonly
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_blockin
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_pcmout
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_lapout
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_read
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_packet_blocksize
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_halfrate
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_synthesis_halfrate_p
     1>libvorbisfile_static.lib(vorbisfile.obj) : error LNK2001: unresolved external symbol _vorbis_window
     1>G:\Server\xxx\client\otclient-master\vc12\Release\otclient.exe : fatal error LNK1120: 22 unresolved externals
     1>Done Building Project "G:\Server\xxx\client\otclient-master\vc12\otclient.vcxproj" (Rebuild target(s)) -- FAILED.
 
It's problem of MSVC as it is not linking everything properly, even if you add them to link and libs.
Try to start with fresh project and copy all libs to C:/local/, as it worked out for me.
 
Back
Top