First post, by lucky7456969
lucky7456969
Offline
Rank
Oldbie
- Rank
- Oldbie
Sorry for posting ykhwong build stuff here. But some maybe relevant
I obtained fluidsynth from ykhwong
and
obtained zlib from http://www.winimage.com/zLibDll/minizip.html
Seems like revert.diff and zlib multi-threaded library problem. My guess
I have the following setup
../include;../src/platform/visualc;..\SDL\SDL-1.2\include;..\SDL_net-1.2.8\include;..\fluidsynth [from ykhwong]\include;..\libpng\include;..\zlib125;..\SDL_sound;..\pdcurses;..\freetype-2.4.8\include;..\SDL_sound\playsound;..\wpcap\libpcap;..\wpcap\libpcap\Win32\Include;..\openglide;..\SDL_sound\playsound\physfs-0.1.7-win32bins;%// a bit wield here, I put physfs under SDL_Sound(AdditionalIncludeDirectories)..\SDL_net-1.2.8\lib\x86;..\zlib125\static32;..\libpng\lib;..\SDL\SDL-1.2\VisualC\SDLmain\Win32\Debug;..\SDL\SDL-1.2\VisualC\SDL\Win32\Debug;..\zlib\dll32;..\SDL_sound\playsound\physfs-0.1.7-win32bins\Debug;..\fluidsynth [from ykhwong]\lib;..\pdcurses;%(AdditionalLibraryDirectories)libfluidsynth-1.lib;physfs.lib;opengl32.lib;winmm.lib;zlib.lib;libpng.lib;sdl_net.lib;sdlmain.lib;sdl.lib;pdcurses.lib;odbc32.lib;odbccp32.lib;ws2_32.lib;%(AdditionalDependencies)
And I am getting these
Error 1 error LNK2001: unresolved external the symbol __nhandle E: \ dosbox_ykhwong \ visualc_net \ dos_files.obj dosboxError 2 error LNK2019: unresolved external symbol _Sound_NewSampleFromFile in function "public: __ thiscall CDROM_Interface_Image :: AudioFile :: AudioFile (char const *, bool &)" (?? 0AudioFile @ CDROM_Interface_Image _AT_ _AT_ QAE @ PBDAA_N _AT_ Z) by reference to E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 3 error LNK2019: unresolved external symbol _Sound_FreeSample in function "public: virtual __ thiscall CDROM_Interface_Image :: AudioFile :: ~~ AudioFile (void)" (?? 1AudioFile @ CDROM_Interface_Image _AT_ _AT_ UAE _AT_ the XZ) referenced E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 4 error LNK2019: unresolved external symbol _Sound_Decode in function "public: virtual bool __ thiscall CDROM_Interface_Image :: AudioFile :: read (of unsigned char *, int,, int)" (? The read @ AudioFile @ CDROM_Interface_Image _AT_ _AT_ UAE_NPAEHH _AT_ Z ) Reference E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 5 error LNK2019: unresolved external symbol _Sound_Seek in function "public: virtual bool __ thiscall CDROM_Interface_Image :: AudioFile :: read (unsigned char *, int,, int)" (? The read @ AudioFile @ CDROM_Interface_Image _AT_ _AT_ UAE_NPAEHH _AT_ Z ) Reference E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 6 error LNK2019: unresolved external symbol _Sound_SetBufferSize in function "public: virtual bool __ thiscall CDROM_Interface_Image :: AudioFile :: read (unsigned char *, int,, int)" (? The read @ AudioFile @ CDROM_Interface_Image _AT_ _AT_ UAE_NPAEHH _AT_ Z ) Reference E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 7 error LNK2019: unresolved external symbol _Sound_GetDuration in function "public: virtual int __ thiscall CDROM_Interface_Image :: AudioFile :: getLength (void)" (? GetLength @ AudioFile @ CDROM_Interface_Image _AT_ _AT_ UAEHXZ) referenced E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxThe error 8 error LNK2019: unresolved external symbol _Sound_Quit in function "void __ cdecl CDROM_Image_Destroy (class Section *)" (? CDROM_Image_Destroy @ @ YAXPAVSection @ @ @ Z) referenced in E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 9 error LNK2019: unresolved external symbol _Sound_Init in function "void __ cdecl CDROM_Image_Init (class Section *)" (? CDROM_Image_Init _AT_ _AT_ YAXPAVSection _AT_ _AT_ _AT_ Z) referenced E: \ dosbox_ykhwong the \ visualc_net \ cdrom_image.obj dosboxError 10 error LNK2019: unresolved external symbol _Sound_AvailableDecoders in function "private: bool __ thiscall CDROM_Interface_Image :: LoadCueSheet (char *)" (? LoadCueSheet @ CDROM_Interface_Image _AT_ _AT_ AAE_NPAD _AT_ Z) referenced E: \ dosbox_ykhwong \ visualc_net \ cdrom_image.obj dosboxError 11 error LNK2019: unresolved external symbol _deflateInit_ function "public: bool __ thiscall VideoCodec of :: the SetupCompress (int, int)" (? SetupCompress @ VideoCodec _AT_ _AT_ QAE_NHH _AT_ Z) referenced E: \ dosbox_ykhwong \ visualc_net \ hardware.obj dosboxError 12 error LNK2019: unresolved external symbol _inflateInit_ in function "public: bool __ thiscall VideoCodec :: the SetupDecompress (int, int)" (? SetupDecompress @ VideoCodec _AT_ _AT_ QAE_NHH _AT_ Z) referenced E: \ dosbox_ykhwong \ visualc_net \ hardware.obj dosboxError 13 error LNK2019: unresolved external symbol _deflateReset in function "public: bool __ thiscall VideoCodec :: PrepareCompressFrame (int, enum zmbv_format_t, char *, void *, int)" (? PrepareCompressFrame @ VideoCodec _AT_ _AT_ QAE_NHW4zmbv_format_t _AT_ _AT_ PADPAXH @ Z) referenced in E: \ dosbox_ykhwong \ visualc_net \ hardware.obj dosboxError 14 error LNK2001: unresolved external the symbol _deflateReset E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (pngwutil.obj) dosboxError 15 error LNK2019: unresolved external symbol _deflate referenced in function "public: int __ thiscall VideoCodec :: FinishCompressFrame (void)" (? FinishCompressFrame @ VideoCodec _AT_ _AT_ QAEHXZ) E: the \ dosbox_ykhwong \ visualc_net \ hardware.obj dosboxError 16 error LNK2001: unresolved external the symbol _deflate E: \ dosbox_ykhwong \ visualc_net \ zip.obj dosboxError 17 error LNK2001: unresolved external the symbol _deflate E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (pngwrite.obj) dosboxError 18 error LNK2001: unresolved external the symbol _deflate E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (pngwutil.obj) dosboxError 19 error LNK2019: unresolved external symbol _inflate referenced in function "public: bool __ thiscall VideoCodec :: DecompressFrame (void *, int)" (? DecompressFrame @ VideoCodec _AT_ _AT_ QAE_NPAXH _AT_ Z) E: \ dosbox_ykhwong \ visualc_net \ hardware.obj dosboxError 20 error LNK2001: unresolved external the symbol _inflate E: \ dosbox_ykhwong \ visualc_net \ unzip.obj dosboxError 21 error LNK2019: unresolved external symbol _inflateReset in function "public: bool __ thiscall VideoCodec :: DecompressFrame (void *, int)" the (? DecompressFrame! VideoCodec _AT_ _AT_ QAE_NPAXH _AT_ Z) referenced E: \ dosbox_ykhwong \ visualc_net \ hardware.obj dosboxError 22 error LNK2001: unresolved external the symbol _inflateReset E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (png.obj) dosboxError 23 error LNK2019: unresolved external symbol _fluid_midi_parser_parse in function "public: virtual void __ thiscall MidiHandler_synth :: PlayMsg (of unsigned char *)" (? PlayMsg @ MidiHandler_synth _AT_ _AT_ UAEXPAE _AT_ Z) referenced E: \ dosbox_ykhwong \ visualc_net \ midi.obj dosboxError 24 error LNK2019: unresolved external symbol _new_fluid_midi_parser referenced in function "public: virtual bool __ thiscall MidiHandler_synth :: Open (char const *)" (? The Open @ MidiHandler_synth _AT_ _AT_ UAE_NPBD _AT_ Z) E: \ dosbox_ykhwong \ visualc_net \ midi.obj dosboxError 25 error LNK2019: unresolved external symbol _fluid_log_config referenced in function "public: virtual bool __ thiscall MidiHandler_synth :: Open (char const *)" (? The Open @ MidiHandler_synth _AT_ _AT_ UAE_NPBD _AT_ Z) E: \ dosbox_ykhwong \ visualc_net \ midi.obj dosboxError 26 error LNK2019: unresolved external symbol _crc32 in the function _getFileCrc, referenced E: an \ dosbox_ykhwong the \ visualc_net \ minizip.obj dosboxError 27 error LNK2001: unresolved external the symbol _crc32 E: \ dosbox_ykhwong \ visualc_net \ unzip.obj dosboxError 28 error LNK2001: unresolved external the symbol _crc32 E: \ dosbox_ykhwong \ visualc_net \ zip.obj dosboxError 29 error LNK2001: unresolved external the symbol _crc32 E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (png.obj) dosboxError 30 error LNK2019: unresolved external symbol _compress2 in function class std :: basic_string <char, struct std :: char_traits <char>, class std :: allocator <char>> __ cdecl Util :: compress (class std :: basic_string <char, struct std :: char_traits <char>, class std :: allocator <char>> const &) "(? compress @ Util @ @ YA? AV? $ basic_string @ DU? $ char_traits @ D @ std @ @ V? $ allocator @ D @ 2 @ @ std @ @ ABV23 @ @ Z) referenced in E: \ dosbox_ykhwong \ visualc_net \ save_state.obj dosboxError 31 error LNK2019: unresolved external symbol _compressBound the the function class std :: basic_string <char, struct std :: char_traits <char>, class std :: allocator <char> __ cdecl Util :: compress (class std :: basic_string <char, struct std :: char_traits <char>, class std :: allocator <char>> const &) "(? compress @ Util @ @ YA? AV? $ basic_string @ DU? $ char_traits @ D @ std @ @ V? $ allocator @ D @ 2 @ @ std @ @ ABV23 @ @ Z) referenced in E: \ dosbox_ykhwong \ visualc_net \ save_state.obj dosboxError 32 error LNK2019: unresolved external symbol _uncompress the function "class std :: basic_string <char, struct std :: char_traits <char>, class std :: allocator <char>> the __ cdecl Util :: decompress (class std :: basic_string <char, struct std :: char_traits <char>, class std :: allocator <char>> const &) "(? decompress @ Util @ @ YA? AV? $ basic_string @ DU? $ char_traits @ D @ std @ @ V? $ allocator @ D @ 2 @ @ std @ @ ABV23 @ @ Z) referenced in E: \ dosbox_ykhwong \ visualc_net \ save_state.obj dosboxError 33 error LNK2019: unresolved external symbol _inflateEnd in the function _unzCloseCurrentFile, referenced E: \ dosbox_ykhwong the \ visualc_net \ unzip.obj dosboxError 34 error LNK2019: unresolved external symbol _inflateInit2_ in the function _unzOpenCurrentFile3, referenced E: \ dosbox_ykhwong the \ visualc_net \ unzip.obj dosboxError 35 error LNK2019: unresolved external symbol _deflateEnd in the function _zipCloseFileInZipRaw64, referenced E: \ dosbox_ykhwong the \ visualc_net \ zip.obj dosboxError 36 error LNK2001: unresolved external the symbol _deflateEnd E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (pngwrite.obj) dosboxError 37 error LNK2001: unresolved external the symbol _deflateEnd E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (pngwutil.obj) dosboxError 38 error LNK2019: unresolved external symbol _get_crc_table in the function _zipOpenNewFileInZip4_64, referenced E: \ dosbox_ykhwong the \ visualc_net \ zip.obj dosboxError 39 error LNK2019: unresolved external symbol _deflateInit2_ in the function _zipOpenNewFileInZip4_64, referenced E: \ dosbox_ykhwong the \ visualc_net \ zip.obj dosboxError 40 error LNK2001: unresolved external the symbol _deflateInit2_ E: \ dosbox_ykhwong \ visualc_net \ libpng15-x86.lib (pngwutil.obj) dosboxError 41 error LNK1120: 28 unresolved external symbol E: \ dosbox_ykhwong \ visualc_net \ Release \ dosbox.exe dosbox
forgot all about revert.diff and Z_BEST_COMPRESSION stuff,
Z_BEST_COMPRESSION is found in the file called zlib.h
No need to set it again?