Ads

Sunday, July 12, 2009

Installing Flash For Linux (f4l-0.2.1) -Ubuntu 8.04

Flash for Linux project is a development environment for Macromedia Flash, a format widely used for web applications and vector animation.

More Details and Download it from

here

Extract tar file

cd f4l-0.2.1/

on make you may get this error
make
make: *** No rule to make target `/usr/share/qt3/mkspecs/default/qmake.conf', needed by `Makefile'. Stop.

try to install

sudo apt-get install qt3-dev-tools

this will resolve your problem :)

After that go for

make install

you may come across this error

In file included from FSDefineSound.cpp:22:
FSDefineSound.h:140: error: extra qualification ‘transform::FSDefineSound::’ on member ‘FSDefineSound’
make[1]: *** [FSDefineSound.o] Error 1


To resolve this error

Search FSDefineSound.h file open it with any Text Editor
go to line 140 find mentioned line there

FSDefineSound::FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length);

make it to

FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length);

then save the file and run it again (i.e. make install)

After that you may come across this error

In file included from canvasItem.cpp:18:
canvasItem.h:21:21: error: qcanvas.h: No such file or directory
canvasItem.h:22:25: error: qpointarray.h: No such file or directory
canvasItem.cpp:19:22: error: qpainter.h: No such file or directory
canvasItem.cpp:65:8: warning: "/*" within comment
In file included from canvasItem.cpp:18:

To resolve this problem try to install
sudo apt-get install libqt3-mt-dev

Do
make clean
make all

Hope Its install now Go bin directory and call
./f4l



Cheers

No comments:

Post a Comment