Getting Hello World to work: directory/path .hxml issue
Hello. I'm attempting to compile and run the hello world example from the haxelflixel website (http://haxeflixel.com/documentation/hello-world/) with Sublime Text.
Thanks for all your patience and help.
You can't build HaxeFlixel games with
haxedirectly / with a
hxmlfile. OpenFL / Lime has its own build system, but afaik, the Sublime Text plugin should support that.
lime test windowsshould work, were you in the correct directory?
@gama11 i think it will work now, if i could set the path correctly.
I got an html 5 example working with another framework, and it changed the active path to that project. Now i get "Warning: could not find environment variables for Visual Studio. Missing HXCPP. Error: Could not automatically setup MSVC.
I have tried other examples and it has moved the active path. how do i move the path back to Hello World in Lime? Thank for your help. I'll have more time to spend on this later today.
Hi. I figured out how to change directories with 'cd', and then i typed 'lime test flash', and now it doesn't seem to think flixel is installed, but i have installed it three times and updated it. Not sure what it wrong. should i try to uninstall all of the original installation? and hope a clean reinstall fixes it? Thanks for your help.
I don't know if any of this is relevant:
box 2d 1.2.3
flixel addons 2.5.0
flixel demos 2.4.6
Your lime and openfl versions are too recent. Try this:
haxelib set openfl 3.6.1 haxelib set lime 2.9.1
@gama11 I did that, and now all of the examples work except 'lime test windows', which gives "C:\HaxeToolkit\haxe\lib
hxcpp/3,4,188/bin/windows/std.dll does not exist." what is 'lime test neko' generating that looks like a Windows app?
@expiredninja Similarly, try this for hxcpp:
haxelib set hxcpp 3.3.49
I did that and have pages of errors now. I need a better client for the command line to copy/paste them all. "export/windows/cpp/haxe/ApplicationMain.hx:80: characters 47-65 : Warning : Use programPath instead
Creating c:/Users/Bob/Hello World/export/windows/cpp/obj/obj/msvc16-ncxp/__pch/haxe/hxcpp.pch...
Is there a way to run it with errors?