Can't test game in windows mode (Visual Studio Error)

laocontico

  • *
  • Posts: 4
What´s up.
I´ve been trying to test what I´m doing, but I keep running into a "encountered errors while building game" error.
Testing it in flash is fine but when I choose the windows option I run into the error and then it says: This feature requires Visual estudio 10 or above,  and promptly send me to install it, which I already did the first time, but it keeps telling me I have to.
Any ideas?
Thanks.
I´ve attached my logs.

captaincomic

  • *
  • Posts: 6108
haxe still tries to setup Visual Studio. Probably something went wrong during the installation.

It also looks like the installer was still in use, when you tried to run it again.
Code: [Select]
2015-08-28 18:37:12,321 DEBUG [SwingWorker-pool-5-thread-2] stencyl.sw.util.FileHelper: Saving downloaded file to: C:\Users\Ivan\AppData\Local\Temp\stencyl772362330028988229\sandbox\wdexpress_full.exe
2015-08-28 18:37:12,322 ERROR [SwingWorker-pool-5-thread-2] stencyl.sw.util.FileHelper: C:\Users\Ivan\AppData\Local\Temp\stencyl772362330028988229\sandbox\wdexpress_full.exe (The process cannot access the file because it is being used by another process)
java.io.FileNotFoundException: C:\Users\Ivan\AppData\Local\Temp\stencyl772362330028988229\sandbox\wdexpress_full.exe (The process cannot access the file because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)

Please try uninstalling Visual Studio, kill any wdexpress_full.exe processes (if they are still running), and then reinstall Visual Studio from within Stencyl.

laocontico

  • *
  • Posts: 4
Thanks, I did it but still doesn't work.
It keeps telling me to install it, and it starts 2 launchers at the same time.
:(

ajimundi

  • *
  • Posts: 230
I had a openfl/haxe setup for quite a while before I ever installed Stencyl. I used visual c++ express 2010. Stencyl compiled without a hitch from day 1. Perhaps you can try setting it up before stencyl?
::: It's never too late, unless you're dead. Maybe not even then. :::

laocontico

  • *
  • Posts: 4
I had a openfl/haxe setup for quite a while before I ever installed Stencyl. I used visual c++ express 2010. Stencyl compiled without a hitch from day 1. Perhaps you can try setting it up before stencyl?

thanks mate, but that didn't work either.

laocontico

  • *
  • Posts: 4
haxe still tries to setup Visual Studio. Probably something went wrong during the installation.

It also looks like the installer was still in use, when you tried to run it again.
Code: [Select]
2015-08-28 18:37:12,321 DEBUG [SwingWorker-pool-5-thread-2] stencyl.sw.util.FileHelper: Saving downloaded file to: C:\Users\Ivan\AppData\Local\Temp\stencyl772362330028988229\sandbox\wdexpress_full.exe
2015-08-28 18:37:12,322 ERROR [SwingWorker-pool-5-thread-2] stencyl.sw.util.FileHelper: C:\Users\Ivan\AppData\Local\Temp\stencyl772362330028988229\sandbox\wdexpress_full.exe (The process cannot access the file because it is being used by another process)
java.io.FileNotFoundException: C:\Users\Ivan\AppData\Local\Temp\stencyl772362330028988229\sandbox\wdexpress_full.exe (The process cannot access the file because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)

Please try uninstalling Visual Studio, kill any wdexpress_full.exe processes (if they are still running), and then reinstall Visual Studio from within Stencyl.
Is working now, had to delete everything re-install it a couple of times.
thanks.