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

Recursive typef is not allowed error for Bitmap #7

Closed
Beeblerox opened this issue May 28, 2013 · 2 comments
Closed

Recursive typef is not allowed error for Bitmap #7

Beeblerox opened this issue May 28, 2013 · 2 comments

Comments

@Beeblerox
Copy link
Contributor

Here is the error message i get when i try to compile to cpp or neko:
C:\HaxeToolkit\haxe/lib\openfl-compatibility/1,0,0-rc,1/nme/display/Bitmap.hx:4: characters 0-16 : Recursive typedef is not allowed

for this simple test project^
https://docs.google.com/file/d/0B5dWCwVrwghLSGZNME1XVXdoNzA/edit?usp=sharing

And it gives me blank screen app on flash target - it seems that assets aren't embedded into swf file

but then i remove openfl-compatibility from haxelib source in nmml-file, then i get following error message:
bin/windows/cpp/haxe/ApplicationMain.hx:1: characters 7-17 : Class not found : nme.Assets

@jgranick
Copy link
Member

Hi!

I believe the problem is because you tried to build from FlashDevelop, since it has "haxelib run nme build" hard-coded, it is being built with the wrong tools. I tried from FlashDevelop and got a blank screen like you said, but when I built with the command-line and called "openfl test flash" it worked properly. Let me know if you see something different

@Beeblerox
Copy link
Contributor Author

@jgranick Oh, Joshua! You saved my life :)
Huge thanks for this info!!!

LeiChenIntel pushed a commit to LeiChenIntel/openfl that referenced this issue Nov 16, 2023
Added PyTorch UNet tutorial for Kvasir
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

2 participants