I tested it in Haxe 3.4.0/OpenFL 5.0.0/Lime 4.1.0.
The red square shows up in Flash, but not CPP, Neko, or html5. Adding -Dcairo has no effect.
I tested it in Haxe 3.4.0/OpenFL 5.0.0/Lime 4.1.0.
The red square shows up in Flash, but not CPP, Neko, or html5. Adding -Dcairo has no effect.
Thanks for testing it, I thought I was going nuts, and that I always did something wrongā¦
@singmajesty what could it be?
Could you test it in 5.1?
Well, Iāve updated to openfl 5.1.1/lime 5.0.0 and when I do openfl test "any target"
, it gives me a error:
Error: Could not find haxelib "lime" version "5.0.*", does it need to be installed?
I donāt know if itās a haxe newbie mistake, but what Iāve done so far:
hashlib update
(and it updated to versions openfl 5.1.1/lime 5.0.0);hashlib list
(to confirm if the last version is set - confirmed);openfl
(to be absolutely sure that its the 5.1.1 in play - shows OpenFL Command-Line Tools (5.1.1-LC7mPS)
)lime
(shows Lime Command-Line Tools (5.0.0)
).So, am I doing something wrong? or this is not the correct way of updating OpenFL?
The āwildcardā versioning is a new feature in Lime 5, Iām sorry this isnāt working on your system
What OS are you running? How was Haxe installed (official installer, package manager, manual, etc)?
What do haxelib path openfl
or haxelib path lime
return?
Thank you
Windows 10 Pro
Haxe installed with the official installer (v3.4.2). OpenFL installed using haxelib, then did the setup (as instructed in the openfl.org download page), and lastly made an update by haxelib when you instructed me to do so.
returns:
--macro openfl._internal.utils.ExtraParams.include() C:\HaxeToolkit\haxe\lib\openfl/5,1,1/ -D openfl=5.1.1
returns:
--macro lime.Lib.extraParams() C:\HaxeToolkit\haxe\lib\lime/5,0,0/ -D lime=5.0.0
To update OpenFL, we can use the haxelib update
, right? or do we have to remove everything, and install again Haxe, fetch Openfl with haxelib
and run the setup?
Could you please try updating to OpenFL 5.1.1 and Lime 5.0.1 (Lime was just updated) and see if that resolves the issue you had?
Unfortunately, after updating (and I confirm that lime is set to version 5.0.1) it still giving me the same error:
Error: Could not find haxelib "lime" version "5.0.*", does it need to be installed?
Is this happening to anyone else?
Could you share the output of haxelib list
? Iām sorry youāre having this problem, I havenāt seen it elsewhere
actuate: [1.8.7]
box2d: [1.2.3]
haxelib: [3.3.0]
hxcpp: [3.4.64]
layout: [1.2.1]
lime-samples: [4.0.1]
lime: 4.1.0 5.0.0 [5.0.1]
openfl-samples: [4.9.0]
openfl: 5.0.0 [5.1.1]
svg: [1.1.1]
Hope it helps. Thanks.
edit-----
Iāve update lime to 5.0.2, but still no joy.
What operating system are you using? What version of Haxe is installed?
Windows 10 Pro and Haxe version is 3.4.2.
Could you try these steps here:
ā¦and see if it helps?
Before trying the steps from your last post, I updated openfl to version 5.1.2, and all works fine now.
And yes the red square sample code now works in all the targets Iāve mencioned before, Yeah!
Iām now going to play a little with readGraphicsData
on my current project ;)!
Thanks @singmajesty, for all the help!!
Sorry again for the version not found trouble
No problem at all, we are here to make OpenFL/Haxe stronger. I think that is what a community means, and we have to thank the creators (you of course!) for bringing this great tools. I hope I could continue to grow (as a developer) along side OpenFL/Haxe and help to contribute even further. Keep up the good work ;)!