Error : SWF Library not found , haXe 2.08 with fd4

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error : SWF Library not found , haXe 2.08 with fd4

Meir Yanovich
Hi all
im new to haXe , im trying to compile open source project in fd4 using haXe
but im keep getting SWF Library not found.
i set the HAXE_LIBRARY_PATH and also configure the fd as it told in the haXe home page but im getting errors on not finding libarary even so the swf libe is in the path here is the compilation from fd4:
Running process: I:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "I:\flex\HaXePlayer\HaXePlayer.hxproj" -ipc d11de84c-6dcb-4b09-9133-e7f1d3faba84 -version "2.08" -compiler "C:\Program Files\Motion-Twin\haxe" -library "I:\Program Files\FlashDevelop\Library" -cp "I:\flex\HaXePlayer\src"
Building HaXePlayer
Running Pre-Build Command Line...
cmd: swfmill simple I:\flex\HaXePlayer\src\Resource.xml  src\Resource.swf
cmd: haxe I:\flex\HaXePlayer\src\HaXePlayer.hxml
Classpath : ./;./;./;I:\flex\HaXePlayer\src\;C:\Program Files\Motion-Twin\haxe\std\flash9/_std/;C:\Program Files\Motion-Twin\haxe\std\
Parsed C:\Program Files\Motion-Twin\haxe\std\StdTypes.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\String.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\Array.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/_std/Std.hx
Parsed I:\flex\HaXePlayer\src\HaXePlayer.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/Lib.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/MovieClip.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/Sprite.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/DisplayObjectContainer.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/InteractiveObject.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/DisplayObject.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/events/EventDispatcher.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/events/IEventDispatcher.hx
Error : SWF Library not found : I:/flex/HaXePlayer/src/Resource.swf
Build halted with errors.
Done(1)

as you can see it is looking for Resource.swf and the file is there .
I:\flex\HaXePlayer\src>ls -1
Button.hx
ButtonState.hx
HaXePlayer.hx
HaXePlayer.hxml
PauseButton.hx
PlayButton.hx
Resource.swf <----- HERE is the fle
Resource.xml
State.hx
StopButton.hx
TitleText.hx
ValueChangeEvent.hx
VolumeControl.hx
slkscr.ttf

here is how the hxml looks like :
-main HaXePlayer
-swf-lib I:/flex/HaXePlayer/src/Resource.swf
-swf-version 9
-swf-header 350:21:12:ffffff
-swf9 I:/flex/HaXePlayer/src/HaXePlayer.swf
 -v
 -debug
 -cp ./

any idea why im getting this error?
thanks

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Error : SWF Library not found , haXe 2.08 with fd4

Yanis Benson

Looks like Windows problem. Try using their perverted slashes instead of normal in paths to lib and final file.

On 16 Oct 2011 16:51, "Meir Yanovich" <[hidden email]> wrote:
Hi all
im new to haXe , im trying to compile open source project in fd4 using haXe
but im keep getting SWF Library not found.
i set the HAXE_LIBRARY_PATH and also configure the fd as it told in the haXe home page but im getting errors on not finding libarary even so the swf libe is in the path here is the compilation from fd4:
Running process: I:\Program Files\FlashDevelop\Tools\fdbuild\fdbuild.exe "I:\flex\HaXePlayer\HaXePlayer.hxproj" -ipc d11de84c-6dcb-4b09-9133-e7f1d3faba84 -version "2.08" -compiler "C:\Program Files\Motion-Twin\haxe" -library "I:\Program Files\FlashDevelop\Library" -cp "I:\flex\HaXePlayer\src"
Building HaXePlayer
Running Pre-Build Command Line...
cmd: swfmill simple I:\flex\HaXePlayer\src\Resource.xml  src\Resource.swf
cmd: haxe I:\flex\HaXePlayer\src\HaXePlayer.hxml
Classpath : ./;./;./;I:\flex\HaXePlayer\src\;C:\Program Files\Motion-Twin\haxe\std\flash9/_std/;C:\Program Files\Motion-Twin\haxe\std\
Parsed C:\Program Files\Motion-Twin\haxe\std\StdTypes.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\String.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\Array.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/_std/Std.hx
Parsed I:\flex\HaXePlayer\src\HaXePlayer.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/Lib.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/MovieClip.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/Sprite.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/DisplayObjectContainer.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/InteractiveObject.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/display/DisplayObject.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/events/EventDispatcher.hx
Parsed C:\Program Files\Motion-Twin\haxe\std\flash9/events/IEventDispatcher.hx
Error : SWF Library not found : I:/flex/HaXePlayer/src/Resource.swf
Build halted with errors.
Done(1)

as you can see it is looking for Resource.swf and the file is there .
I:\flex\HaXePlayer\src>ls -1
Button.hx
ButtonState.hx
HaXePlayer.hx
HaXePlayer.hxml
PauseButton.hx
PlayButton.hx
Resource.swf <----- HERE is the fle
Resource.xml
State.hx
StopButton.hx
TitleText.hx
ValueChangeEvent.hx
VolumeControl.hx
slkscr.ttf

here is how the hxml looks like :
-main HaXePlayer
-swf-lib I:/flex/HaXePlayer/src/Resource.swf
-swf-version 9
-swf-header 350:21:12:ffffff
-swf9 I:/flex/HaXePlayer/src/HaXePlayer.swf
 -v
 -debug
 -cp ./

any idea why im getting this error?
thanks

--
haXe - an open source web programming language
http://haxe.org

--
haXe - an open source web programming language
http://haxe.org