Closed q00u closed 10 years ago
Could you paste your haxelib list
? Seems like some of your libraries are incompatible.
actuate: 1.6.3 1.6.4 1.6.5 1.6.8 1.7.0 1.7.1 [1.7.2] box2d: [1.2.0] firetongue: git [dev:C:\HaxeToolkit\haxe\lib\firetongue/git] flixel: 2.0.0-alpha.3 3.0.0-alpha 3.0.1 3.0.3 [3.0.4] flixel-addons: 1.0.0 [1.0.1] flixel-demos: git [dev:C:\HaxeToolkit\haxe\lib\flixel-demos/git] flixel-templates: git [dev:C:\HaxeToolkit\haxe\lib\flixel-templates/git] flixel-tools: 1.0.0 [1.0.2] flixel-ui: git [dev:C:\HaxeToolkit\haxe\lib\flixel-ui/git] format: [3.0.4] haxelib_client: [3.1.0-rc.3] HaxePunk: 2.4.2 2.4.4 2.4.5 [2.4.6] HaxePunkTmx: [1.0.2] hscript: [2.0.1] hxcpp: [3.0.2] hxlibc: 1.0.0 1.1.1 1.1.2 [1.1.4] hxsl: [2.0.0] hxtools: [1.1.6] kong.hx: [1.2.0] lime: 0.9.0 0.9.1 0.9.3 [0.9.4] lime-tools: 1.2.1 1.2.4 [1.2.8] nape: 2.0.11 2.0.12 [2.0.13] nme: [4.0.2] openfl: 1.0.5 1.0.6 1.1.1 1.2.0 1.2.1 [1.2.2] openfl-compatibility: [1.0.1] openfl-html5: 1.0.4 [1.0.5] openfl-html5-dom: 1.1.1 [1.2.0] openfl-native: 1.0.6 1.0.8 1.1.4 1.2.0 1.2.1 [1.2.2] openfl-nme-compatibility: [1.0.2] openfl-samples: 1.0.0 1.1.0 1.2.0 [1.2.1] openfl-tools: [1.0.10] 1.0.7 polygonal-ds: [1.4.1] polygonal-printf: 1.0.0-beta [1.0.2-beta] spinehx: [0.2.0] stablexui: 1.0.11 1.0.12 1.0.14 1.0.16 [1.0.17] 1.0.5 svg: [1.0.7] systools: [1.0.0-beta] task: [1.0.6]
There you go, you're mixing dev branches with haxelib releases.
Not intentionally! How do I fix it?
Well, depends. Do you want to use the dev verison or the release version? You either need to switch flixel and flixel-addons to git or switch flixel-ui, flixel-templates and flixel-demos to haxelib releases.
Is there a haxelib release version of flixel-ui?
I honestly cannot remember installing git versions of anything other than firetongue. I have no idea how things got into that state.
No, not yet. It will be released to haxelib with flixel 3.1.0 for the first time. The master branch should be compatible with the haxelib releases though.
Changed to master branch with:
>haxelib remove flixel-ui
Library flixel-ui removed
>haxelib git flixel-ui https://github.com/HaxeFlixel/flixel-ui master
Installing flixel-ui from https://github.com/HaxeFlixel/flixel-ui
(...)
Library flixel-ui set to use git.
Branch/Tag/Rev: master
Path: C:\HaxeToolkit\haxe\lib\flixel-ui/git
Still got:
Building RPG Interface:
haxelib run openfl build "C:\HaxeToolkit\haxe\lib\flixel-demos/1,0,0/User Interface/RPG Interface" flash
C:\HaxeToolkit\haxe\lib\flixel-ui/git/flixel/addons/ui/FlxUIDropdownMenu.hx:7: characters 7-29 : Class not found : flixel.ui.FlxClickArea
FAIL - RPG Interface (flash)
Uninstalled, reinstalled dev flixel-ui, got:
C:\HaxeToolkit\haxe\lib\flixel-ui/git/flixel/addons/ui/interfaces/IFlxUIWidget.hx:3: characters 7-35 : Class not found : flixel.interfaces.IFlxSprite
So the release demo doesn't work with either branch right now, but for different reasons.
(I think running flixel-tools setup (as instructed on this page) was what installed the git versions previously)
Previously, the RPG Interface demo would not build due to firetongue not being found even though it was installed, but following the advice here and installing 'task', I've reached a new error.