Can't Compile ScummVM With Fresh Download

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
Windows TV
Posts: 62
Joined: Mon Dec 26, 2011 7:07 pm
Contact:

Can't Compile ScummVM With Fresh Download

Post by Windows TV »

Hi there, I'm having trouble compiling scummvm on my new computer. I followed all the steps the wiki provided but I keep running into errors. I don't know enough about Visual Studios (2019) to debug it myself but when I was originally working on the project back in Windows 8 I hadn't had this issue. I am now running in Windows 10 and I can't compile.

I have linked a video with the build process and put in-line/Attached a photo of my PATH variable.
PhotoOfPaths.png
PhotoOfPaths.png (19.46 KiB) Viewed 3723 times
https://www.youtube.com/watch?v=X1WH7nQyFwc

Any ideas? Thank you!

Also sorry if I have missed another post on this, I tried searching and I can't find another post on the same issue.

Also here is the log if it's needed:

Code: Select all

Rebuild started...
1>------ Rebuild All started: Project: scumm, Configuration: Debug Win32 ------
2>------ Rebuild All started: Project: scummvm-detection, Configuration: Debug Win32 ------
1>basketball.cpp
1>baseball2001.cpp
1>ai_node.cpp
1>script_v71he.cpp
1>ai_defenseunit.cpp
1>cup_player_he.cpp
1>animation_he.cpp
1>distortion.cpp
1>football.cpp
1>ai_tree.cpp
1>puttrace.cpp
1>soccer.cpp
1>moonbase_logic.cpp
1>funshop.cpp
1>ai_main.cpp
1>moonbase.cpp
1>moonbase_fow.cpp
1>ai_traveller.cpp
1>net_main.cpp
1>logic_he.cpp
1>resource_he.cpp
1>ai_targetacquisition.cpp
1>localizer.cpp
1>palette_he.cpp
1>script_v60he.cpp
1>ai_weapon.cpp
1>ai_types.cpp
1>script_v100he.cpp
1>floodfill_he.cpp
1>script_v72he.cpp
1>script_v80he.cpp
1>script_v70he.cpp
2>disk.cpp
1>script_v90he.cpp
2>game.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>sound_he.cpp
1>amiga.cpp
1>sprite_he.cpp
1>fmtowns.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>imuse.cpp
1>pcspk.cpp
1>wiz_he.cpp
1>imuse_player.cpp
1>mac_m68k.cpp
1>imuse_part.cpp
1>instrument.cpp
1>sysex_samnmax.cpp
1>dimuse_files.cpp
1>dimuse_codecs.cpp
1>dimuse_fades.cpp
2>fileio.cpp
1>dimuse_engine.cpp
1>dimuse_scripts.cpp
1>dimuse_waveout.cpp
1>dimuse_tables.cpp
1>dimuse_dispatch.cpp
1>dimuse_sndmgr.cpp
1>dimuse_streamer.cpp
2>detection.cpp
1>dimuse_bndmgr.cpp
1>dimuse_tracks.cpp
1>dimuse_cmds.cpp
2>detection.cpp
2>detection.cpp
1>dimuse_utils.cpp
1>insane.cpp
1>insane_ben.cpp
1>dimuse_groups.cpp
1>insane_iact.cpp
1>dimuse_triggers.cpp
1>insane_enemy.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>fileio.cpp
1>dimuse_internalmixer.cpp
1>player_ad.cpp
1>player_apple2.cpp
1>player_sid.cpp
1>sysex_scumm.cpp
2>detection.cpp
1>player_mac.cpp
1>player_pce.cpp
1>player_towns.cpp
1>player_nes.cpp
1>player_v2a.cpp
1>player_v1.cpp
2>detection.cpp
1>player_mod.cpp
1>player_v2base.cpp
1>player_v3a.cpp
2>detection.cpp
1>dimuse_wave.cpp
2>detection.cpp
2>detection.cpp
1>player_he.cpp
1>player_v4a.cpp
2>wagparser.cpp
2>detection.cpp
2>detection.cpp
2>dataio.cpp
2>detection.cpp
2>blorb.cpp
2>detection.cpp
1>player_v5m.cpp
1>insane_scenes.cpp
1>channel.cpp
1>player_v2cms.cpp
1>player_v2.cpp
1>codec1.cpp
1>codec37.cpp
1>codec47.cpp
2>detection.cpp
1>saud_channel.cpp
1>smush_font.cpp
1>bomp.cpp
1>smush_mixer.cpp
1>smush_player.cpp
1>actor.cpp
2>detection.cpp
1>base-costume.cpp
2>detection.cpp
2>detection.cpp
1>costume.cpp
1>boxes.cpp
1>charset-fontdata.cpp
1>camera.cpp
1>dialogs.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>file_nes.cpp
1>akos.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>cursor.cpp
1>gfx_towns.cpp
2>detection.cpp
1>help.cpp
1>input.cpp
1>file.cpp
1>object.cpp
1>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\engines\scumm\actor.cpp(827): warning C4701: potentially uninitialized local variable 'abr' used
1>palette.cpp
1>gfx.cpp
1>gfx_mac.cpp
1>metaengine.cpp
1>nut_renderer.cpp
2>detection.cpp
1>debugger.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>midiparser_ro.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>saveload.cpp
2>detection.cpp
1>script_v3.cpp
1>resource_v2.cpp
2>detection.cpp
2>detection.cpp
1>script_v5.cpp
1>script_v6.cpp
1>resource_v4.cpp
1>room.cpp
1>player_v3m.cpp
1>codec20.cpp
1>resource_v3.cpp
1>ks_check.cpp
2>detection.cpp
1>scumm.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>script_v2.cpp
1>script_v8.cpp
2>myst_metaengine.cpp
1>verbs.cpp
2>riven_metaengine.cpp
2>detection.cpp
1>script_v0.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>string.cpp
1>usage_bits.cpp
1>script_v4.cpp
1>charset.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>vars.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>restables.cpp
1>script.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>cdda.cpp
2>resource.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>resource.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>sound.cpp
1>util.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
2>detection.cpp
1>scumm.vcxproj -> C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\dists\msvc\Debugx86\scumm.lib
1>Done building project "scumm.vcxproj".
2>scummvm-detection.vcxproj -> C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\dists\msvc\Debugx86\scummvm-detection.lib
3>------ Rebuild All started: Project: scummvm, Configuration: Debug Win32 ------
3>2>Performing Custom Build Tools
3>1>Performing Custom Build Tools
3>aac.cpp
3>aiff.cpp
3>iff_sound.cpp
3>xa.cpp
3>module_mod_xm_s3m.cpp
3>xan_dpcm.cpp
3>3do.cpp
3>adpcm.cpp
3>qdm2.cpp
3>mp3.cpp
3>quicktime.cpp
3>flac.cpp
3>wave.cpp
3>asf.cpp
3>mac_snd.cpp
3>voc.cpp
3>raw.cpp
3>vorbis.cpp
3>g711.cpp
3>wma.cpp
3>tfmx.cpp
3>paula.cpp
3>maxtrax.cpp
3>pc98_audio.cpp
3>infogrames.cpp
3>sega_audio.cpp
3>protracker.cpp
3>soundfx.cpp
3>rjp1.cpp
3>pcm_common.cpp
3>mod_xm_s3m.cpp
3>module.cpp
3>towns_audio.cpp
3>towns_euphony.cpp
3>towns_pc98_driver.cpp
3>towns_pc98_fmsynth.cpp
3>towns_pc98_plugins.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\audio\decoders\wmadata.h(1430,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\audio\decoders\wma.cpp(992,14): warning C4146: unary minus operator applied to unsigned type, result still unsigned
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\audio\decoders\wma.cpp(1210,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>c_interface.cpp
3>sha1.cpp
3>Analog.cpp
3>FileStream.cpp
3>BReverbModel.cpp
3>File.cpp
3>LA32WaveGenerator.cpp
3>LA32FloatWaveGenerator.cpp
3>MidiStreamParser.cpp
3>LA32Ramp.cpp
3>Part.cpp
3>PartialManager.cpp
3>Partial.cpp
3>Poly.cpp
3>SampleRateConverter.cpp
3>ROMInfo.cpp
3>Synth.cpp
3>TVA.cpp
3>TVP.cpp
3>Tables.cpp
3>TVF.cpp
3>nuked.cpp
3>dosbox.cpp
3>dbopl.cpp
3>mame.cpp
3>appleiigs.cpp
3>cms.cpp
3>eas.cpp
3>pcspk.cpp
3>mt32.cpp
3>fluidsynth.cpp
3>vab.cpp
3>psxspu.cpp
3>sid.cpp
3>wave6581.cpp
3>rawfile.cpp
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\istream(519,1): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\istream(513): note: while compiling class template member function 'std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::read(_Elem *,std::streamsize)'
3>        with
3>        [
3>            _Elem=char
3>        ]
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\audio\softsynth\mt32\FileStream.cpp(81): note: see reference to function template instantiation 'std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::read(_Elem *,std::streamsize)' being compiled
3>        with
3>        [
3>            _Elem=char
3>        ]
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\istream(699): note: see reference to class template instantiation 'std::basic_istream<char,std::char_traits<char>>' being compiled
3>sf2file.cpp
3>adlib.cpp
3>synthfile.cpp
3>vgminstrset.cpp
3>rifffile.cpp
3>vgmcoll.cpp
3>audiostream.cpp
3>vgmitem.cpp
3>vgmsamp.cpp
3>adlib_ms.cpp
3>mididrv.cpp
3>fmopl.cpp
3>midiparser.cpp
3>mididrv_ms.cpp
3>midiparser_qt.cpp
3>midiparser_smf.cpp
3>midiparser_xmidi.cpp
3>midiplayer.cpp
3>miles_adlib.cpp
3>miles_midi.cpp
3>mixer.cpp
3>mt32gm.cpp
3>null.cpp
3>musicplugin.cpp
3>default-audiocd.cpp
3>audiocd-stream.cpp
3>rate.cpp
3>win32-audiocd.cpp
3>boxlistdirectorybyidrequest.cpp
3>mpu401.cpp
3>timestamp.cpp
3>boxstorage.cpp
3>dropboxcreatedirectoryrequest.cpp
3>boxtokenrefresher.cpp
3>boxuploadrequest.cpp
3>dropboxlistdirectoryrequest.cpp
3>dropboxstorage.cpp
3>dropboxtokenrefresher.cpp
3>dropboxinforequest.cpp
3>dropboxuploadrequest.cpp
3>googledrivelistdirectorybyidrequest.cpp
3>googledrivestorage.cpp
3>googledrivetokenrefresher.cpp
3>idcreatedirectoryrequest.cpp
3>googledriveuploadrequest.cpp
3>idresolveidrequest.cpp
3>onedrivecreatedirectoryrequest.cpp
3>iddownloadrequest.cpp
3>idstorage.cpp
3>idstreamfilerequest.cpp
3>idlistdirectoryrequest.cpp
3>onedrivelistdirectoryrequest.cpp
3>onedrivestorage.cpp
3>onedrivetokenrefresher.cpp
3>basestorage.cpp
3>onedriveuploadrequest.cpp
3>cloudicon.cpp
3>cloudmanager.cpp
3>downloadrequest.cpp
3>iso8601.cpp
3>folderdownloadrequest.cpp
3>savessyncrequest.cpp
3>storage.cpp
3>storagefile.cpp
3>win32-dialogs.cpp
3>default-events.cpp
3>legacy-sdl-events.cpp
3>sdl-events.cpp
3>windows-fs-factory.cpp
3>windows-fs.cpp
3>stdiostream.cpp
3>abstract-fs.cpp
3>clut8.cpp
3>fixed.cpp
3>context.cpp
3>pipeline.cpp
3>shader.cpp
3>debug.cpp
3>framebuffer.cpp
3>shader.cpp
3>opengl-graphics.cpp
3>openglsdl-graphics.cpp
3>texture.cpp
3>sdl-graphics.cpp
3>surfacesdl-graphics.cpp
3>framebuffer.cpp
3>openglsdl-graphics3d.cpp
3>texture.cpp
3>surfacerenderer.cpp
3>action.cpp
3>tiledsurface.cpp
3>hardware-input.cpp
3>input-watcher.cpp
3>keymap.cpp
3>keymapper.cpp
3>log.cpp
3>remap-widget.cpp
3>alsa.cpp
3>standard-actions.cpp
3>virtual-mouse.cpp
3>sndio.cpp
3>seq.cpp
3>dmedia.cpp
3>stmidi.cpp
3>sdl-mixer.cpp
3>timidity.cpp
3>sdl-mutex.cpp
3>windows.cpp
3>connectionmanager.cpp
3>curljsonrequest.cpp
3>curlrequest.cpp
3>networkreadstream.cpp
3>postrequest.cpp
3>request.cpp
3>createdirectoryhandler.cpp
3>session.cpp
3>sessionrequest.cpp
3>filesbasehandler.cpp
3>downloadfilehandler.cpp
3>filespagehandler.cpp
3>filesajaxpagehandler.cpp
3>indexpagehandler.cpp
3>listajaxhandler.cpp
3>uploadfilehandler.cpp
3>resourcehandler.cpp
3>client.cpp
3>getclienthandler.cpp
3>handlerutils.cpp
3>win32-main.cpp
3>localwebserver.cpp
3>uploadfileclienthandler.cpp
3>reader.cpp
3>win32-window.cpp
3>win32.cpp
3>sdl-window.cpp
3>win32_wrapper.cpp
3>sdl.cpp
3>sdl-provider.cpp
3>win32-provider.cpp
3>default-saves.cpp
3>windows-saves.cpp
3>win32-taskbar.cpp
3>savefile.cpp
3>default-timer.cpp
3>sdl-timer.cpp
3>win32-updates.cpp
3>windows-text-to-speech.cpp
3>base-backend.cpp
3>commandLine.cpp
3>modular-backend.cpp
3>main.cpp
3>plugins.cpp
3>test_new_standards.cpp
3>singlebyte.cpp
3>version.cpp
3>double_serialization.cpp
3>lapi.cpp
3>lauxlib.cpp
3>lbaselib.cpp
3>lcode.cpp
3>ldblib.cpp
3>ldebug.cpp
3>lfunc.cpp
3>liolib.cpp
3>lmathlib.cpp
3>ldo.cpp
3>lmem.cpp
3>linit.cpp
3>llex.cpp
3>lgc.cpp
3>loadlib.cpp
3>lobject.cpp
3>lopcodes.cpp
3>loslib.cpp
3>lparser.cpp
3>lstate.cpp
3>lstring.cpp
3>lstrlib.cpp
3>ltablib.cpp
3>ltable.cpp
3>ltm.cpp
3>lua_persist.cpp
3>lua_persistence_util.cpp
3>lua_unpersist.cpp
3>lvm.cpp
3>lzio.cpp
3>achievements.cpp
3>scummvm_file.cpp
3>base-str.cpp
3>archive.cpp
3>config-manager.cpp
3>coroutines.cpp
3>cosinetables.cpp
3>dcl.cpp
3>dct.cpp
3>debug.cpp
3>error.cpp
3>events.cpp
3>fft.cpp
3>file.cpp
3>fs.cpp
3>gui_options.cpp
3>hashmap.cpp
3>iff_container.cpp
3>ini-file.cpp
3>installshield_cab.cpp
3>installshieldv3_archive.cpp
3>json.cpp
3>localization.cpp
3>language.cpp
3>macresman.cpp
3>md5.cpp
3>mdct.cpp
3>memorypool.cpp
3>mutex.cpp
3>osd_message_queue.cpp
3>path.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\lua\ldo.cpp(143,1): warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable
3>platform.cpp
3>punycode.cpp
3>quicktime.cpp
3>random.cpp
3>rational.cpp
3>rdft.cpp
3>sinetables.cpp
3>rendermode.cpp
3>sinewindows.cpp
3>streamdebug.cpp
3>str-enc.cpp
3>textconsole.cpp
3>stream.cpp
3>str.cpp
3>system.cpp
3>stuffit.cpp
3>translation.cpp
3>text-to-speech.cpp
3>unarj.cpp
3>unicode-bidi.cpp
3>tokenizer.cpp
3>unzip.cpp
3>ustr.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(32,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(43,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(62,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>util.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(97,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(164,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>winexe.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(295,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(554,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>winexe_ne.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\common\sinewindows.cpp(1069,1): warning C4305: 'initializing': truncation from 'double' to 'const float'
3>winexe_pe.cpp
3>xmlparser.cpp
3>advancedDetector.cpp
3>zlib.cpp
3>dialogs.cpp
3>engine.cpp
3>game.cpp
3>metaengine.cpp
3>obsolete.cpp
3>savestate.cpp
3>amigafont.cpp
3>bdf.cpp
3>consolefont.cpp
3>macfont.cpp
3>newfont.cpp
3>ttf.cpp
3>datafiles.cpp
3>macbutton.cpp
3>newfont_big.cpp
3>winfont.cpp
3>macmenu.cpp
3>macfontmanager.cpp
3>mactext.cpp
3>mactextwindow.cpp
3>macwindow.cpp
3>macwidget.cpp
3>context.cpp
3>macwindowborder.cpp
3>macwindowmanager.cpp
3>aspect.cpp
3>shader.cpp
3>dotmatrix.cpp
3>downscaler.cpp
3>edge.cpp
3>hq.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\graphics\macgui\mactext.cpp(2073): warning C4701: potentially uninitialized local variable 'nsx' used
3>normal.cpp
3>sai.cpp
3>pm.cpp
3>scale2x.cpp
3>thumbnail_intern.cpp
3>api.cpp
3>scale3x.cpp
3>scalebit.cpp
3>tv.cpp
3>arrays.cpp
3>clear.cpp
3>clip.cpp
3>get.cpp
3>image_util.cpp
3>init.cpp
3>light.cpp
3>matrix.cpp
3>list.cpp
3>memory.cpp
3>misc.cpp
3>select.cpp
3>specbuf.cpp
3>pixelbuffer.cpp
3>texelbuffer.cpp
3>vertex.cpp
3>texture.cpp
3>zdirtyrect.cpp
3>zbuffer.cpp
3>zblit.cpp
3>zline.cpp
3>zmath.cpp
3>VectorRenderer.cpp
3>ztriangle.cpp
3>font.cpp
3>VectorRendererSpec.cpp
3>conversion.cpp
3>fontman.cpp
3>cursorman.cpp
3>framelimiter.cpp
3>korfont.cpp
3>larryScale.cpp
3>nine_patch.cpp
3>maccursor.cpp
3>managed_surface.cpp
3>pixelformat.cpp
3>scalerplugin.cpp
3>primitives.cpp
3>sjis.cpp
3>screen.cpp
3>renderer.cpp
3>surface.cpp
3>svg.cpp
3>transform_struct.cpp
3>thumbnail.cpp
3>transform_tools.cpp
3>yuv_to_rgb.cpp
3>transparent_surface.cpp
3>Animation.cpp
3>wincursor.cpp
3>RepeatAnimationWrapper.cpp
3>SequenceAnimationComposite.cpp
3>editable.cpp
3>grid.cpp
3>list.cpp
3>edittext.cpp
3>popup.cpp
3>groupedlist.cpp
3>scrollbar.cpp
3>scrollcontainer.cpp
3>tab.cpp
3>EventRecorder.cpp
3>MetadataParser.cpp
3>ThemeEngine.cpp
3>ThemeEval.cpp
3>ThemeLayout.cpp
3>Tooltip.cpp
3>ThemeParser.cpp
3>about.cpp
3>browser.cpp
3>chooser.cpp
3>console.cpp
3>debugger.cpp
3>dialog.cpp
3>downloaddialog.cpp
3>editgamedialog.cpp
3>downloadiconsdialog.cpp
3>error.cpp
3>filebrowser-dialog.cpp
3>gui-manager.cpp
3>launcher.cpp
3>massadd.cpp
3>message.cpp
3>object.cpp
3>options.cpp
3>saveload-dialog.cpp
3>remotebrowser.cpp
3>indeo.cpp
3>predictivedialog.cpp
3>unknown-game-dialog.cpp
3>saveload.cpp
3>themebrowser.cpp
3>widget.cpp
3>indeo_dsp.cpp
3>bmp_raw.cpp
3>mem.cpp
3>vlc.cpp
3>cdtoons.cpp
3>cinepak.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\gui\options.cpp(412,38): warning C4245: 'argument': conversion from 'int' to 'uint32', signed/unsigned mismatch
3>codec.cpp
3>hlz.cpp
3>indeo3.cpp
3>indeo4.cpp
3>jyv1.cpp
3>indeo5.cpp
3>mjpeg.cpp
3>mpeg.cpp
3>msrle.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\gui\options.cpp(1459,49): warning C4245: 'argument': conversion from 'int' to 'uint32', signed/unsigned mismatch
3>msrle4.cpp
3>msvideo1.cpp
3>rpza.cpp
3>qtrle.cpp
3>smc.cpp
3>truemotion1.cpp
3>svq1.cpp
3>xan.cpp
3>bmp.cpp
3>gif.cpp
3>cel_3do.cpp
3>jpeg.cpp
3>pcx.cpp
3>iff.cpp
3>pict.cpp
3>png.cpp
3>aabb.cpp
3>tga.cpp
3>frustum.cpp
3>angle.cpp
3>glmath.cpp
3>line3d.cpp
3>line2d.cpp
3>matrix3.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\image\cel_3do.cpp(133,25): warning C4018: '<=': signed/unsigned mismatch
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\image\cel_3do.cpp(138,25): warning C4018: '<=': signed/unsigned mismatch
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\image\cel_3do.cpp(144,25): warning C4018: '<=': signed/unsigned mismatch
3>matrix4.cpp
3>plane.cpp
3>quat.cpp
3>ray.cpp
3>rect2d.cpp
3>vector2d.cpp
3>vector3d.cpp
3>vector4d.cpp
3>avi_decoder.cpp
3>bink_decoder.cpp
3>3do_decoder.cpp
3>flic_decoder.cpp
3>coktel_decoder.cpp
3>dxa_decoder.cpp
3>mpegps_decoder.cpp
3>hnm_decoder.cpp
3>mve_decoder.cpp
3>psx_decoder.cpp
3>smk_decoder.cpp
3>qt_decoder.cpp
3>theora_decoder.cpp
3>video_decoder.cpp
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\video\hnm_decoder.cpp(167,29): warning C4245: 'initializing': conversion from 'int' to 'uint32', signed/unsigned mismatch
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\video\hnm_decoder.cpp(846,18): warning C4245: 'initializing': conversion from 'int' to 'byte', signed/unsigned mismatch
3>C:\Users\Ryan\Documents\Visual Studio 2019\scummvm-master\video\hnm_decoder.cpp(847,23): warning C4245: 'initializing': conversion from 'int' to 'byte', signed/unsigned mismatch
3>LINK : fatal error LNK1104: cannot open file 'zlib.lib'
3>Done building project "scummvm.vcxproj" -- FAILED.
========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========
User avatar
dreammaster
ScummVM Developer
Posts: 559
Joined: Fri Nov 04, 2005 2:16 am
Location: San Jose, California, USA

Re: Can't Compile ScummVM With Fresh Download

Post by dreammaster »

There were some minor changes to library filenames recently, so I'd suggest checking the following:
1) Make sure you have the most up to date zip file from the wiki
2) Ensure you have the latest source code, and that you've recompiled create_project, and regenerate the solution files.

The fact that the attached log indicates that you're compiling in Debug mode, but it's trying to link "zlib.lib" rather than "zlibd.lib", seems indicative that the solution files are out of date. I know you say "Fresh Download" in your topic title, but did you perhaps copy any of it from your old computer rather than getting everything from scratch?
User avatar
Windows TV
Posts: 62
Joined: Mon Dec 26, 2011 7:07 pm
Contact:

Re: Can't Compile ScummVM With Fresh Download

Post by Windows TV »

dreammaster wrote: Mon Feb 21, 2022 1:27 am but did you perhaps copy any of it from your old computer rather than getting everything from scratch?
Everything was downloaded from scratch with new source, no copying from my old project. I tried using Visual Studio's Git cloning and after that had the same issue as described I did what I did on Windows 8, downloaded a Zip from github.

I'll do what you've mentioned and I'll reply back here on the results
User avatar
Windows TV
Posts: 62
Joined: Mon Dec 26, 2011 7:07 pm
Contact:

Re: Can't Compile ScummVM With Fresh Download

Post by Windows TV »

dreammaster wrote: Mon Feb 21, 2022 1:27 am There were some minor changes to library filenames recently, so I'd suggest checking the following:
1) Make sure you have the most up to date zip file from the wiki
2) Ensure you have the latest source code, and that you've recompiled create_project, and regenerate the solution files.
I did all the steps and still the same results. I've uploaded a video to show what I'm doing when getting the files. I cut a small part because I accidentally ran the wrong create file, meant to run the one that uses the SCUMM engine only:
https://www.youtube.com/watch?v=DOBWvqeC4AU

Should I try the newest VS?
Thanks!
User avatar
Praetorian
ScummVM Developer
Posts: 883
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Can't Compile ScummVM With Fresh Download

Post by Praetorian »

Windows TV wrote: Mon Feb 21, 2022 2:10 am
dreammaster wrote: Mon Feb 21, 2022 1:27 am There were some minor changes to library filenames recently, so I'd suggest checking the following:
1) Make sure you have the most up to date zip file from the wiki
2) Ensure you have the latest source code, and that you've recompiled create_project, and regenerate the solution files.
I did all the steps and still the same results. I've uploaded a video to show what I'm doing when getting the files. I cut a small part because I accidentally ran the wrong create file, meant to run the one that uses the SCUMM engine only:
https://www.youtube.com/watch?v=DOBWvqeC4AU

Should I try the newest VS?
Thanks!
I am using VS 2019 (latest updated version) so you should be fine with it.

If you're sure you're using a fresh build of create_project from the source you've downloaded, then try a command like:

Code: Select all

./create_project.exe ../.. --disable-all-engines --enable-engine=scumm,scumm_7_8,he --use-canonical-lib-names --msvc --enable-tts --enable-mpeg2 --enable-faad --disable-fribidi --disable-jpeg
I think the important part here is the "--use-canonical-lib-names" switch (which perhaps is missing from the wiki instructions?) The enable, disable switches are based on your setup -- and typically I won't be bothered much if VS complaints for an optional third party library so I'll just disable it and try the solution again.
User avatar
dreammaster
ScummVM Developer
Posts: 559
Joined: Fri Nov 04, 2005 2:16 am
Location: San Jose, California, USA

Re: Can't Compile ScummVM With Fresh Download

Post by dreammaster »

Beat me to it. I concur.. a while back some library filenames were changed, and the use canonical switch was added to the create_msvc.bat. So the line you copied from the old forum post was out of date.
User avatar
Windows TV
Posts: 62
Joined: Mon Dec 26, 2011 7:07 pm
Contact:

Re: Can't Compile ScummVM With Fresh Download

Post by Windows TV »

Thank you Praetorian and dreammaster! ScummVM compiled properly, much appertained!

While I have some devs here, by chance can you tell me how to stop the scaling of the ScummVM window when grabbing from the sides of it? (not really a fan of this feature while playing a game xD)
User avatar
dreammaster
ScummVM Developer
Posts: 559
Joined: Fri Nov 04, 2005 2:16 am
Location: San Jose, California, USA

Re: Can't Compile ScummVM With Fresh Download

Post by dreammaster »

Good to hear it. As for resizing, I'm not familiar with that area, so I'll leave it to anyone else to comment.
User avatar
criezy
ScummVM Developer
Posts: 955
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: Can't Compile ScummVM With Fresh Download

Post by criezy »

Windows TV wrote: Mon Feb 21, 2022 3:36 am While I have some devs here, by chance can you tell me how to stop the scaling of the ScummVM window when grabbing from the sides of it? (not really a fan of this feature while playing a game xD)
You could remove the use of the SDL_WINDOW_RESIZABLE flag in backends/graphics/openglsdl/openglsdl-graphics.cpp and backends/graphics/surfacesdl/surfacesdl-graphics.cpp.

But before going that way, have you tried the option to capture the mouse inside the window (CTRL+m to toggle mouse capture on and off)?
User avatar
Windows TV
Posts: 62
Joined: Mon Dec 26, 2011 7:07 pm
Contact:

Re: Can't Compile ScummVM With Fresh Download

Post by Windows TV »

criezy wrote: Mon Feb 21, 2022 8:31 am You could remove the use of the SDL_WINDOW_RESIZABLE flag in backends/graphics/openglsdl/openglsdl-graphics.cpp and backends/graphics/surfacesdl/surfacesdl-graphics.cpp.

But before going that way, have you tried the option to capture the mouse inside the window (CTRL+m to toggle mouse capture on and off)?
Thank you! I have tried that mouse option, honestly the reason I don't prefer it is because I sometimes forget it's enabled and then confuses me haha! I know, I'm strange. I really prefer the old way it was handled, so much I use an old version of ScummVM :O
User avatar
sev
ScummVM Lead
Posts: 2306
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Re: Can't Compile ScummVM With Fresh Download

Post by sev »

Windows TV wrote: Mon Feb 21, 2022 6:09 pm Thank you! I have tried that mouse option, honestly the reason I don't prefer it is because I sometimes forget it's enabled and then confuses me haha! I know, I'm strange. I really prefer the old way it was handled, so much I use an old version of ScummVM :O
Switch your renderer in the Global Options to "SDL Surface" (it is OpenGL by default which supports that stretching) and you will have the exact "old way it was handled".


Eugene
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3561
Joined: Mon Oct 31, 2005 7:39 am

Re: Can't Compile ScummVM With Fresh Download

Post by eriktorbjorn »

sev wrote: Mon Feb 21, 2022 7:41 pm
Windows TV wrote: Mon Feb 21, 2022 6:09 pm Thank you! I have tried that mouse option, honestly the reason I don't prefer it is because I sometimes forget it's enabled and then confuses me haha! I know, I'm strange. I really prefer the old way it was handled, so much I use an old version of ScummVM :O
Switch your renderer in the Global Options to "SDL Surface" (it is OpenGL by default which supports that stretching) and you will have the exact "old way it was handled".
You can still resize the window, even with "SDL Surface". I only ever do so by mistake though. (And that usually prompts me to restart ScummVM. Either that, or bring out some tool to measure the window, so I can get back the original size.)
User avatar
criezy
ScummVM Developer
Posts: 955
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: Can't Compile ScummVM With Fresh Download

Post by criezy »

eriktorbjorn wrote: Tue Feb 22, 2022 12:47 pm
sev wrote: Mon Feb 21, 2022 7:41 pm
Windows TV wrote: Mon Feb 21, 2022 6:09 pm Thank you! I have tried that mouse option, honestly the reason I don't prefer it is because I sometimes forget it's enabled and then confuses me haha! I know, I'm strange. I really prefer the old way it was handled, so much I use an old version of ScummVM :O
Switch your renderer in the Global Options to "SDL Surface" (it is OpenGL by default which supports that stretching) and you will have the exact "old way it was handled".
You can still resize the window, even with "SDL Surface". I only ever do so by mistake though. (And that usually prompts me to restart ScummVM. Either that, or bring out some tool to measure the window, so I can get back the original size.)
Yes, since the switch to SDL2 the window can be resized when using SDL Surface as well. If you compile with SDL 1.2 it can only be resized with the OpenGL mode though.
If you manually resized your window by mistake and want to set it back to a multiple of the game original resolution, or for the launcher a multiple of 320x200 (or 320x240 if aspect ratio correction is on), you can easily do so using the keyboard shortcuts to increase or decrease the scale factor (by default CTRL+Alt+ plus or minus).
Post Reply