Unable to build a Windows app. (path problems)

SadiQ

  • Posts: 1795
I tried to build the Drop Block game demo that comes with Stencyl and I get a
'D:\Program' is not recognized as an internal or external command, operable program or batch file. error. I do have Stencyl installed in "D:\Program Files (x86)\Stencyl".

Posted the full log should anyone be able to figure out why it happens.

« Last Edit: December 16, 2014, 07:17:12 pm by rob1221 »
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

dreph

  • Posts: 142
Try surrounding the full directory location in quotations:

instead of:

D:\Program Files (x86)\Stencyl

use

"D:\Program Files (x86)\Stencyl"

I didn't take a look at the log, but that is exactly what is happening.  The space in the location causes the error, but if you surround it all in quotations, it will read the full directory instead of stopping at the first space.  Just find out where the program is referencing that directory location, and add the quotations, and it should fix the error.

SadiQ

  • Posts: 1795
That would be the logical thing to do, except I don't think I'm able to do that myself.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

captaincomic

  • *
  • Posts: 6108
This was an OpenFL bug that should be fixed now with the OpenFL upgrade in 3.3
Code: [Select]
2014-11-01 18:31:51,394 DEBUG [Thread-11] stencyl.sw.util.StreamGobbler:  - Running command: D:\Program Files (x86)\Stencyl\plaf\haxe\lib/hxtools/1^,1^,6/templates/bin/ReplaceVistaIcon.exe "Export/windows/cpp/bin//Drop Block Game.exe" Export/windows/cpp/bin/icon.ico
2014-11-01 18:31:51,409 INFO  [Thread-11] stencyl.sw.util.StreamGobbler: 'D:\Program' is not recognized as an internal or external command,

SadiQ

  • Posts: 1795
Thanks captaincomic. Everything seems to work now.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.