Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openfl test linux in Examples doesnt work #21

Closed
NobbZ opened this issue Jun 9, 2013 · 3 comments
Closed

openfl test linux in Examples doesnt work #21

NobbZ opened this issue Jun 9, 2013 · 3 comments

Comments

@NobbZ
Copy link

NobbZ commented Jun 9, 2013

Hi there!

When I try to invoke openfl test linux or openfl test linux -neko in one of the example directories I get the following error message:

Export/linux64/cpp/haxe/ApplicationMain.hx:191: characters 16-33 : Unmatched patterns: null

The linenumber is the same in PiratePig and SimpleBox2D but I did not test with other examples.

The same error appears when targeting windows or android. I have all of them setup with openfl setup <platform>

Targetting flash and html5 compiles without any errormessages. But I can't test the flash movie on my system, the html5 version seems to work.

@louisbl
Copy link

louisbl commented Jun 10, 2013

Which version of Haxe 3 do you use ?
I think that openfl/openfl-native@d46638d fix this issue. I don't know which version is on haxelib, but try with the git version of openfl/openfl-native.

@jgranick
Copy link
Member

I just heard back that briefly the development builds of Haxe 3 required a match for null if you were switching on a nullable type, but I hear this has also been disabled, and returned to the previous behavior.

If you update Haxe from the source, or update to the Haxe 3 tag and rebuild, I believe this error will go away

@NobbZ
Copy link
Author

NobbZ commented Jun 11, 2013

I am using h3, installed from dev-source, updating occassionaly, after reading @louisbl, I updated haxe and now oFL does its job.

Sorry for creating noise :D

@NobbZ NobbZ closed this as completed Jun 11, 2013
LeiChenIntel pushed a commit to LeiChenIntel/openfl that referenced this issue Nov 16, 2023
Add torch to pip install, fixing notebooks for Poshlizavtra, Cheers!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants