
HaXe in a fresh FD install
I just snarfed
Philippe's "Drawing Canvas" GitHUB project and tried loading it in the latest FD (4.0.4).
First forgot to install HaXe, FD does not like this..
Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at HaXeContext.NMEHelper.UpdateProject()
at HaXeContext.NMEHelper.hxproj_ProjectUpdating()
at ProjectManager.Projects.Project.UpdateVars()
at ProjectManager.Actions.ProjectActions.UpdateASCompletion(IMainForm mainForm, Project project)
at ProjectManager.PluginMain.SetProject(Project project, Boolean stealFocus, Boolean internalOpening)
at ProjectManager.PluginMain.OpenProject()
at ProjectManager.PluginMain.<Initialize>b__7(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
So I downloaded the default HaXe/NME install. Start FD... loads up the project fine.
Try compiling and receive:
Code:
Build succeeded
Done(0)
Debugger startup error: System.DllNotFoundException: Unable to load DLL 'jvm.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at net.sf.jni4net.jni.JNI.Dll.JNI_GetDefaultJavaVMInitArgs(JavaVMInitArgs* args)
at net.sf.jni4net.jni.JNI.Init()
at net.sf.jni4net.jni.JNI.CreateJavaVM(JavaVM& jvm, JNIEnv& env, Boolean attachIfExists, String[] options)
at net.sf.jni4net.Bridge.CreateJVM()
at net.sf.jni4net.Bridge.CreateJVM(BridgeSetup setup)
at FlashDebugger.DebuggerManager.Start(Boolean alwaysStart)
[Capturing traces with FDB]
Running process: C:\Motion-Twin\haxe\haxelib.exe run nme run "Z:\Source\HaXe\nme-drawingstage\project.nmml" flash -debug -Dfdb -DSWF_PLAYER="C:\Program Files (x86)\FlashDevelop\Tools\flexlibs\runtimes\player\11.3\win\FlashPlayerDebugger.exe"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Done(1)
So Java 1.6 isn't being found. Starting the troubleshooting process between builds at work; utilizing this thread
viewtopic.php?f=6&t=8709&p=40732