• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows [SOLVED] Error: Missing main()

N

nihiven

Guest
Hi All,
After the latest update to 2.1.4, I'm no longer able to run my project. I've tried:
  • clearing the caches
  • cleaning the project
  • exporting to yyz and importing into a new project
  • reverting to an older runtime version
I've included the full output window contents below and attached a picture of the error as well. I'm stuck and I'm not sure what to do. Any suggestions?

IDE: v2.1.4.285
Runtime: 2.1.4.200

Code:
"cmd"  /c subst Z: "D:\dev\GM2S-Dirs\AssCache\GMS2CACHE"

elapsed time 00:00:00.0205698s for command "cmd" /c subst Z: "D:\dev\GM2S-Dirs\AssCache\GMS2CACHE" started at 04/05/2018 19:50:28
Saving project to: D:\dev\GM2S-Dirs\Projects\ProjectVapor\ProjectVapor.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/Igor.exe"  -options="D:\dev\GM2S-Dirs\Temp\GMS2TEMP\build.bff"  -- Windows Run

Loaded Macros from D:\dev\GM2S-Dirs\AssCache\GMS2CACHE\ProjectVap_365742D7_84017D5B\macros.json
Options: C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200\bin\platform_setting_defaults.json
Options: C:\Users\nvn\AppData\Roaming/GameMakerStudio2\gamemaker_1521794\local_settings.json
Options: D:\dev\GM2S-Dirs\AssCache\GMS2CACHE\ProjectVap_365742D7_84017D5B\targetoptions.json
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/GMAssetCompiler.exe  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=16 /gn="ProjectVapor" /td="D:\dev\GM2S-Dirs\Temp\GMS2TEMP" /cd="Z:\ProjectVap_365742D7_84017D5B" /zpuf="C:\Users\nvn\AppData\Roaming/GameMakerStudio2\gamemaker_1521794" /m=windows /tgt=64 /nodnd /cfg="default" /o="D:\dev\GM2S-Dirs\Temp\GMS2TEMP\ProjectVapor_176BA8C4_VM" /sh=True /optionsini="D:\dev\GM2S-Dirs\Temp\GMS2TEMP\ProjectVapor_176BA8C4_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200\BaseProject\BaseProject.yyp" "D:\dev\GM2S-Dirs\Projects\ProjectVapor\ProjectVapor.yyp" /preprocess="Z:\ProjectVap_365742D7_84017D5B"
Reading project file....D:\dev\GM2S-Dirs\Projects\ProjectVapor
Reading project file....C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.1.4.200\BaseProject
Reading config delta 'D:\dev\GM2S-Dirs\Projects\ProjectVapor\options\main\inherited\options_main.inherited.yy'
finished.


C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/GMAssetCompiler.exe DONE (0)
Release build
OptionsIni
Options: Z:\ProjectVap_365742D7_84017D5B\PlatformOptions.json
[Compile] Run asset compiler
C:\WINDOWS\system32\cmd.exe /c ""C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/GMAssetCompiler.exe"  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=16 /gn="ProjectVapor" /td="D:\dev\GM2S-Dirs\Temp\GMS2TEMP" /cd="Z:\ProjectVap_365742D7_84017D5B" /zpuf="C:\Users\nvn\AppData\Roaming/GameMakerStudio2\gamemaker_1521794" /m=windows /tgt=64 /nodnd /cfg="default" /o="D:\dev\GM2S-Dirs\Temp\GMS2TEMP\ProjectVapor_176BA8C4_VM" /sh=True /optionsini="D:\dev\GM2S-Dirs\Temp\GMS2TEMP\ProjectVapor_176BA8C4_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200\BaseProject\BaseProject.yyp" "D:\dev\GM2S-Dirs\Projects\ProjectVapor\ProjectVapor.yyp" /bt=run"
Reading project file....D:\dev\GM2S-Dirs\Projects\ProjectVapor
Reading project file....C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.1.4.200\BaseProject
Reading config delta 'D:\dev\GM2S-Dirs\Projects\ProjectVapor\options\main\inherited\options_main.inherited.yy'
Error compiling vertex shader:
Error : Missing main()
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
Final Compile...finished.
Saving IFF file... D:\dev\GM2S-Dirs\Temp\GMS2TEMP\ProjectVapor_176BA8C4_VM\ProjectVapor.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png... 
1 Compressing texture... writing texture texture_1.png... 
2 Compressing texture... writing texture texture_2.png... 
3 Compressing texture... writing texture texture_3.png... 
4 Compressing texture... writing texture texture_4.png... 
5 Compressing texture... writing texture texture_5.png... 
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=909.5942
Stats : GMA : sp=35,au=86,bk=3,pt=0,sc=55,sh=2,fo=1,tl=0,ob=21,ro=3,da=0,ex=0,ma=12,fm=0x4000B29D6C7C0230


C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:03.2413294s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.4.200/bin/Igor.exe" -options="D:\dev\GM2S-Dirs\Temp\GMS2TEMP\build.bff"  -- Windows Run started at 04/05/2018 19:50:28
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0205700s for command "cmd" /c subst Z: /d started at 04/05/2018 19:50:31
FAILED: Run Program Complete
 

Attachments

N

nihiven

Guest
Thank you so much! That was it. I looked at the log so many times, I just missed it.


Error compiling vertex shader:
Error : Missing main()
 
N

nihiven

Guest
I'll have to look in to what changed though. I just checked git and the file with the error hasn't changed since Mar 18.
 
Top