Stencyl 4.0.2 Failed: Building for Flash. (Return code: -1073741515)

adytt

  • Posts: 51
I just upgraded to the latest Stencyl release 4.0.2 and none of my previous game works.
All scenes loads fine, works editing etc, but when trying to test a scene or compile the game for flash or html5 I always get the Failed: Building for Flash. (Return code: -1073741515) error.
logs attached.

Previus version of Stencyl worked perfectly for me I just upgraded because of the scene layering bug, that I had to solve using that python script.
Looking forward for some guidance to solve this issue.

My system is running windows 7,

Justin

  • *
  • Posts: 4693
Try running the following two commands in the command prompt. See if they work normally and print the expected results.

Code: [Select]
D:\Stencyl\plaf\haxe-bin\windows32\haxelib.exe version
... should respond with ...

Code: [Select]
4.0.2

----

Code: [Select]
D:\Stencyl\plaf\haxe-bin\windows32\haxelib.exe run openfl help
... should respond with ...

Code: [Select]
.d88 88b.                             888888b 888
d88P" "Y88b                            888     888
888     888                            888     888
888     888 88888b.   .d88b.  88888b.  8888888 888
888     888 888 "88b d8P  Y8b 888 "88b 888     888
888     888 888  888 88888888 888  888 888     888
Y88b. .d88P 888 d88P Y8b.     888  888 888     888
 "Y88 88P"  88888P"   "Y8888  888  888 888     "Y888P
            888
            888

OpenFL Command-Line Tools (8.9.5-LoqcFr)

 Usage: openfl <command> [arguments]

 Basic Commands:

  config -- Display or set command-line configuration values
  create -- Create a new project or extension using templates
  clean -- Clean the specified project and target
  update -- Copy assets for the specified project and target
  build -- Compile and package for the specified project and target
  run -- Install and run for the specified project and target
  test -- Update, build and run in one command
  help -- Show this information

 Additional Commands:

  trace -- Trace output for the specifed project and target
  deploy -- Archive and upload builds
  display -- Display information for the specified project and target
  rebuild -- Recompile native binaries for libraries
  install -- Install a library from haxelib, plus dependencies
  remove -- Remove a library from haxelib
  upgrade -- Upgrade a library from haxelib
  setup -- Setup OpenFL or a specific platform
  process -- Process a SWF asset for use with OpenFL

For additional help, run openfl help <command>
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

adytt

  • Posts: 51
Hi Justin and thanks for the quick answer. Just tried commands you provied  and I get the following error:
"The program can't start because neko.dll is missing from your computer"

Justin

  • *
  • Posts: 4693
Does your Stencyl install have a folder at "plaf\neko-win32"?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

adytt

  • Posts: 51
Yes it does have this folder and neko.dll is inside neko-win32 dir

adytt

  • Posts: 51
After several retries with unistalling and installing all over again with no success I have downgraded to 4.0.1 version and the game works perfect again.
Also I have installed 4.0.2 version on a computer that never got stencyl installed before and the  game works perfect on that computer.
So there must be a problem with upgrading from 4.0.1 to 4.0.2