revengertmt 50 Posted March 12, 2015 Share Posted March 12, 2015 (edited) Hi metin2dev! I try to compile the client source in VS2013 but i have 1 problem.... UserInterface.cpp 17> Generating Code... 17>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppBuild.targets(1193,5): warning MSB8012: TargetPath(C:UsersDEVDesktopdev_clientclientsrcUserInterface../binUserInterface.exe) does not match the Linker's OutputFile property value (C:UsersDEVDesktopdev_clientclientsrcbinDEBUGmetin2client.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 17>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppBuild.targets(1195,5): warning MSB8012: TargetName(UserInterface) does not match the Linker's OutputFile property value (metin2client). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 17>cryptlib-5.6.2MTd-vc120.lib(cryptlib.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_std_error 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_CreateCompress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_CreateDecompress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_destroy_compress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_destroy_decompress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_stdio_src 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_set_defaults 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_set_quality 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_start_compress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_write_scanlines 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_finish_compress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_read_header 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_start_decompress 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_read_scanlines 17>eterlib.lib(JpegFile.obj) : error LNK2001: unresolved external symbol _jpeg_finish_decompress 17>../bin/DEBUG/metin2client.exe : fatal error LNK1120: 15 unresolved externals ========== Build: 15 succeeded, 1 failed, 0 up-to-date, 1 skipped ========== How i can fix that???? sorry for my bad english Edited March 13, 2015 by revengertmt Link to comment Share on other sites More sharing options...
valpidian 0 Posted March 13, 2015 Share Posted March 13, 2015 Up! Link to comment Share on other sites More sharing options...
Syron 296 Posted March 13, 2015 Share Posted March 13, 2015 Most probably your Extern folder does not contain "everything", try to use 'includes' & 'library' from novaline. Or you can use my Extern folder from here: https://mega.co.nz/#!TBlEWKoR!kDGoHHohJjGxCtYwiFUu0remxRvWYE0KBndQezKqQnc You can link includes & library from VCC+ Directories in Visual Studio. Link to comment Share on other sites More sharing options...
Lyrex 6 Posted March 13, 2015 Share Posted March 13, 2015 You have to link the jpeg library. Link to comment Share on other sites More sharing options...
revengertmt 50 Posted March 13, 2015 Author Share Posted March 13, 2015 (edited) Most probably your Extern folder does not contain "everything", try to use 'includes' & 'library' from novaline. Or you can use my Extern folder from here: https://mega.co.nz/#!TBlEWKoR!kDGoHHohJjGxCtYwiFUu0remxRvWYE0KBndQezKqQnc You can link includes & library from VCC+ Directories in Visual Studio. don't work :| Edit: how can I make libjpeg???? in lib directory i have.... and my error is this.... Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
revengertmt 50 Posted March 14, 2015 Author Share Posted March 14, 2015 up! Link to comment Share on other sites More sharing options...
kolamajszu 1 Posted November 17, 2020 Share Posted November 17, 2020 Up Link to comment Share on other sites More sharing options...
Developer Ikarus_ 2426 Posted November 18, 2020 Developer Share Posted November 18, 2020 (edited) On 3/13/2015 at 8:25 PM, revengertmt said: don't work Edit: how can I make libjpeg???? in lib directory i have.... and my error is this.... using : #pragma comment(lib, <library-name>.lib ) add it to userinterface.cpp (replace <library-name> with the name of your libjpeg obv) Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal My youtube channel on which you can see my works here Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now