Install f4l on Sabayon

Discussions Regarding Software

Moderator: Moderators

Install f4l on Sabayon

Postby misterwhite81 » Wed Jan 02, 2008 22:12

Hello, I've tried to install f4l by using the following instruction:

qmake -project

qmake -o Makefile f4l.pro

make

for the first two instruction it's all right but when I type make I get the following errors:

Code: Select all
cd src/flagStonePort/transform-cxx-bsd/transform && make -f Makefile
make[1]: Entering directory `/home/arma/Desktop/f4l-0.2/src/flagStonePort/transform-cxx-bsd/transform'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/arma/Desktop/f4l-0.2/src/flagStonePort/transform-cxx-bsd/transform'
cd src/flagStonePort/transform-util-cxx/transform-util && make -f Makefile
make[1]: Entering directory `/home/arma/Desktop/f4l-0.2/src/flagStonePort/transform-util-cxx/transform-util'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/arma/Desktop/f4l-0.2/src/flagStonePort/transform-util-cxx/transform-util'
cd src && make -f Makefile
make[1]: Entering directory `/home/arma/Desktop/f4l-0.2/src'
g++ -c -pipe -g -D_REENTRANT -Wall -W  -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -IflagStonePort/transform-util-cxx -IflagStonePort/transform-cxx-bsd -I. -I. -o canvasItem.o canvasItem.cpp
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:65:8: warning: "/*" within comment
canvasItem.h:29: error: expected class-name before ‘{’ token
canvasItem.h:32: error: expected `)' before ‘*’ token
canvasItem.h:39: error: expected class-name before ‘{’ token
canvasItem.h:42: error: ‘QPointArray’ has not been declared
canvasItem.h:43: error: expected `)' before ‘*’ token
canvasItem.h:44: error: ISO C++ forbids declaration of ‘QPtrList’ with no type
canvasItem.h:44: error: expected ‘;’ before ‘<’ token
canvasItem.h:45: error: ‘QPointArray’ does not name a type
canvasItem.h:51: error: ‘QPointArray’ does not name a type
canvasItem.h:55: error: ‘QPainter’ has not been declared
canvasItem.h:56: error: ‘QPointArray’ does not name a type
canvasItem.h:42: error: ‘TRUE’ was not declared in this scope
canvasItem.h:62: error: expected class-name before ‘{’ token
canvasItem.h:64: error: expected ‘,’ or ‘...’ before ‘&’ token
canvasItem.h:64: error: ISO C++ forbids declaration of ‘QRect’ with no type
canvasItem.h: In constructor ‘CSceneRect::CSceneRect(int)’:
canvasItem.h:64: error: class ‘CSceneRect’ does not have any field named ‘QCanvasRectangle’
canvasItem.h:64: error: ‘r’ was not declared in this scope
canvasItem.h:64: error: ‘canvas’ was not declared in this scope
canvasItem.h: At global scope:
canvasItem.h:64: warning: unused parameter ‘QRect’
canvasItem.h:74: error: expected class-name before ‘{’ token
canvasItem.h:76: error: expected ‘,’ or ‘...’ before ‘&’ token
canvasItem.h:76: error: ISO C++ forbids declaration of ‘QRect’ with no type
canvasItem.h: In constructor ‘CtmpRect::CtmpRect(int)’:
canvasItem.h:76: error: class ‘CtmpRect’ does not have any field named ‘QCanvasRectangle’
canvasItem.h:76: error: ‘r’ was not declared in this scope
canvasItem.h:76: error: ‘canvas’ was not declared in this scope
canvasItem.h: At global scope:
canvasItem.h:76: warning: unused parameter ‘QRect’
canvasItem.cpp:21: error: expected `)' before ‘*’ token
canvasItem.cpp:27: error: expected `)' before ‘*’ token
canvasItem.cpp:37: error: prototype for ‘void CPenTool::drawShape(QPainter&)’ does not match any in class ‘CPenTool’
canvasItem.h:55: error: candidate is: void CPenTool::drawShape(int&)
canvasItem.cpp: In member function ‘void CPenTool::drawShape(QPainter&)’:
canvasItem.cpp:47: error: ‘polyline’ was not declared in this scope
canvasItem.cpp:49: error: ‘bez’ was not declared in this scope
canvasItem.cpp: At global scope:
canvasItem.cpp:78: error: ‘QPointArray’ does not name a type
canvasItem.cpp:83: error: variable or field ‘setControlPoints’ declared void
canvasItem.cpp:83: error: ‘int CPenTool::setControlPoints’ is not a static member of ‘class CPenTool’
canvasItem.cpp:83: error: ‘QPointArray’ was not declared in this scope
canvasItem.cpp:83: error: expected primary-expression before ‘bool’
canvasItem.cpp:83: error: initializer expression list treated as compound expression
canvasItem.cpp:84: error: expected ‘,’ or ‘;’ before ‘{’ token
canvasItem.cpp: In member function ‘void CPenTool::moveBy(double, double)’:
canvasItem.cpp:123: error: ‘QCanvasPolygonalItem’ has not been declared
canvasItem.cpp:124: error: ‘polyline’ was not declared in this scope
make[1]: *** [canvasItem.o] Error 1
make[1]: Leaving directory `/home/arma/Desktop/f4l-0.2/src'
make: *** [sub-src-make_default] Error 2


Can somebody please help me???

Thanks a lot :D
misterwhite81
Baby Hen
 
Posts: 5
Joined: Tue Dec 25, 2007 13:13

Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest

cron