elsassph/nme-bunnymark — Issue #1: Application crashes right after start (NME 3.1 RC4, Windows target, Win 7 Pro 64-bit)
Author: goshki
Created: 2011-12-13 19:09:04+00:00
State: open

Hi there,

I have a problem with running the BunnyMark for Windows C++ target on Win 7 Pro 64-bit. The application window shows with proper dimensions for a moment but it is completely white and then a crash popup is displayed. I'm using Haxe 2.08, NME 3.1 RC4 and HXCPP 2.08.0. Below is the build output I get:

```
C:\elsassph-nme-bunnymark-cbbe6b2>nme test build.nmml cpp -verbose -debug
----- UPDATE -----
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/haxe/ApplicationMain.hx bin/cpp/windows/haxe/ApplicationMain.hx
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/haxe/nme/installer/Assets.hx bin/cpp/windows/haxe/nme/installer/Assets.hx
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/cpp/hxml/debug.hxml bin/cpp/windows/haxe/debug.hxml
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/cpp/hxml/release.hxml bin/cpp/windows/haxe/release.hxml
----- BUILD -----
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/haxe/ApplicationMain.hx bin/cpp/windows/haxe/ApplicationMain.hx
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/haxe/nme/installer/Assets.hx bin/cpp/windows/haxe/nme/installer/Assets.hx
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/cpp/hxml/debug.hxml bin/cpp/windows/haxe/debug.hxml
process C:\Motion-Twin\haxe\lib\nme\3,1,0/tools/command-line/cpp/hxml/release.hxml bin/cpp/windows/haxe/release.hxml
haxe bin/cpp/windows/haxe/debug.hxml
haxelib run hxcpp Build.xml haxe -Ddebug -Dcpp -Ddebug -Dhaxe_208 -Dnme -Dnme_install_tool -Dtrue -Dverbose
Using config : C:\Users\Adrian\.hxcpp_config.xml
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
Using msvc cl version 16
Ok.
Copy bin/cpp/windows/obj/ApplicationMain-debug.exe to bin/cpp/windows/bin//BunnyMark.exe
Creating 32x32 icon from assets/nme.svg
Creating 48x48 icon from assets/nme.svg
Creating 64x64 icon from assets/nme.svg
cd C:\Motion-Twin\haxe\lib\nme\3,1,0\ndll\Windows\
ReplaceVistaIcon.exe C:\elsassph-nme-bunnymark-cbbe6b2/\bin/cpp/windows/bin//BunnyMark.exe C:\elsassph-nme-bunnymark-cbbe6b2/\bin/cpp/windows/haxe/icon.ico
Ok.
----- UPDATE DEVICE -----
----- RUN -----
cd bin/cpp/windows/bin/
.\BunnyMark.exe
Called from ? line 1
Called from InstallTool.hx line 575
Called from InstallTool.hx line 95
Called from installers/InstallerBase.hx line 134
Called from installers/DesktopInstaller.hx line 220
Called from installers/InstallerBase.hx line 1057
Called from C:\Motion-Twin\haxe/std/neko/Lib.hx line 63
Called from installers/InstallerBase.hx line 1051
Called from InstallTool.hx line 286
Uncaught exception - Error running: .\BunnyMark.exe bin/cpp/windows/bin/
```

Do you have any idea what can cause the problem? I tried deleting ```.hxcpp_config.xml``` to no avail.