Skip to Content

problem compiling 9.3

7 replies [Last post]
systemx
Offline
Joined: 04/17/2010

[error]
In file included from src/lib/fx/LadspaFX.cpp:30:
src/lib/fx/LadspaFX.h:38:22: error: qlibrary.h: No such file or directory
src/lib/fx/LadspaFX.cpp:32:18: error: qdir.h: No such file or directory
src/lib/fx/LadspaFX.h:143: error: ISO C++ forbids declaration of 'QLibrary' with no type
src/lib/fx/LadspaFX.h:143: error: expected ';' before '*' token
src/lib/fx/LadspaFX.cpp: In constructor 'LadspaFX::LadspaFX(std::string, std::st ring)':
src/lib/fx/LadspaFX.cpp:110: error: class 'LadspaFX' does not have any field nam ed 'm_pLibrary'
src/lib/fx/LadspaFX.cpp: In destructor 'virtual LadspaFX::~LadspaFX()':
src/lib/fx/LadspaFX.cpp:154: error: 'm_pLibrary' was not declared in this scope
src/lib/fx/LadspaFX.cpp: In static member function 'static LadspaFX* LadspaFX::l oad(std::string, std::string, long int)':
src/lib/fx/LadspaFX.cpp:174: error: 'class LadspaFX' has no member named 'm_pLib rary'
src/lib/fx/LadspaFX.cpp:174: error: expected type-specifier before 'QLibrary'
src/lib/fx/LadspaFX.cpp:174: error: expected `;' before 'QLibrary'
src/lib/fx/LadspaFX.cpp:175: error: 'class LadspaFX' has no member named 'm_pLib rary'
src/lib/fx/LadspaFX.cpp: In static member function 'static std::vector > LadspaFX::getPluginList()':
src/lib/fx/LadspaFX.cpp:449: error: 'QDir' was not declared in this scope
src/lib/fx/LadspaFX.cpp:449: error: expected `;' before 'dir'
src/lib/fx/LadspaFX.cpp:450: error: 'dir' was not declared in this scope
src/lib/fx/LadspaFX.cpp:456: error: expected initializer before '*' token
src/lib/fx/LadspaFX.cpp:457: error: 'QFileInfoListIterator' was not declared in this scope
src/lib/fx/LadspaFX.cpp:457: error: expected `;' before 'it'
src/lib/fx/LadspaFX.cpp:458: error: 'QFileInfo' was not declared in this scope
src/lib/fx/LadspaFX.cpp:458: error: 'pFileInfo' was not declared in this scope
src/lib/fx/LadspaFX.cpp:460: error: 'it' was not declared in this scope
src/lib/fx/LadspaFX.cpp:476: error: 'QLibrary' was not declared in this scope
src/lib/fx/LadspaFX.cpp:476: error: expected `;' before 'lib'
src/lib/fx/LadspaFX.cpp:477: error: 'lib' was not declared in this scope
src/lib/fx/LadspaFX.cpp: In static member function 'static void LadspaFX::getRDF (LadspaFXGroup*, std::vector >)':
src/lib/fx/LadspaFX.cpp:597: error: 'QDir' was not declared in this scope
src/lib/fx/LadspaFX.cpp:597: error: expected `;' before 'dir'
src/lib/fx/LadspaFX.cpp:598: error: 'dir' was not declared in this scope
src/lib/fx/LadspaFX.cpp:603: error: expected initializer before '*' token
src/lib/fx/LadspaFX.cpp:604: error: 'QFileInfoListIterator' was not declared in this scope
src/lib/fx/LadspaFX.cpp:604: error: expected `;' before 'it'
src/lib/fx/LadspaFX.cpp:605: error: 'QFileInfo' was not declared in this scope
src/lib/fx/LadspaFX.cpp:605: error: 'pFileInfo' was not declared in this scope
src/lib/fx/LadspaFX.cpp:606: error: 'it' was not declared in this scope
make[1]: *** [src/LadspaFX.o] Error 1
make[1]: Leaving directory `/usr/ports/pkgmk/work/hydrogen/src/hydrogen-0.9.3'
make: *** [hydrogenPlayer] Error 2
[/error]

i've tried setting the QTDIR for this but it doesn't seem to work.

9.1 compiles fine, but both 9.2 and 9.3 give pretty much the same error.

any type help would be great, thanx!

flipe
Offline
Joined: 04/17/2010

the problem ins't qtdir, is the ladspaFX
try to install ladspa devel packages.

http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neural&bl

systemx
Offline
Joined: 04/17/2010

Thanx for the reply

I use a source based distro and it doesn't install separate pkg's for devel and such. When i disable ladspa during ./configure && make i just end up getting another error stating it can't find a qt include file.

any other ideas?

flipe
Offline
Joined: 04/17/2010

which error? paste here.

do you have qt3 installed?

try search where qt is installed

find /|grep -ie qt

and look for the qt3 includes dir

http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neural&bl

systemx
Offline
Joined: 04/17/2010

Here is the specs for how qt was configured before make, according to the Pkgfile.
[color=black]
./configure -prefix /usr/share/qt \
-bindir /usr/bin \
-headerdir /usr/include/qt \
-libdir /usr/lib \
-plugindir /usr/lib/qt \
-platform linux-g++ -release -shared -thread -sm \
-tablet -nis -verbose -qt-gif -system-zlib \
-{system-lib,plugin-imgfmt-}{png,jpeg,mng} \
-no-{cups,fast,exceptions,nas-sound} \
-x{cursor,ft,inerama,kb,randr,render} \
$SQL
[/color]

here is the error i get after disabling ladspa
[color=#AE4949]
[error]
In file included from src/lib/DataPath.cpp:26:
src/lib/DataPath.h:28:26: error: qapplication.h: No such file or directory
src/lib/DataPath.h:29:21: error: qstring.h: No such file or directory
src/lib/DataPath.cpp:28:19: error: qfile.h: No such file or directory
src/lib/DataPath.cpp: In static member function 'static std::string DataPath::getDataPath()':
src/lib/DataPath.cpp:50: error: 'QString' was not declared in this scope
src/lib/DataPath.cpp:50: error: expected `;' before 'qStringPath'
src/lib/DataPath.cpp:51: error: 'qStringPath' was not declared in this scope
src/lib/DataPath.cpp:53: error: 'QFile' was not declared in this scope
src/lib/DataPath.cpp:53: error: expected `;' before 'file'
src/lib/DataPath.cpp:54: error: 'file' was not declared in this scope
make[1]: *** [src/DataPath.o] Error 1
make[1]: Leaving directory `/usr/ports/pkgmk/work/hydrogen/src/hydrogen-0.9.3'
make: *** [hydrogenPlayer] Error 2
[/error][/color]

thanx!

flipe
Offline
Joined: 04/17/2010

appear do you do not have qt installed!

certified of this, and if no, install qt3.

http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neural&bl

systemx
Offline
Joined: 04/17/2010

????

i'm not sure how you have come to that conclusion?

if i can install hydrogen 9.1 (of which i stated above) which depends on qt, then i obviously have it installed. i also have kde-lib/base installed as well, which i am sure you know depends on qt. as well as other apps that depends on qt...

by the way i am using QT 3.3.7.

if you can't help then ok, i guess i can live w/o kickass hydrogen for the time being... thanx anyway...

flipe
Offline
Joined: 04/17/2010

run this command

find /|grep -ie qt

to find where qt is installed.

and set the qtdir with

export QTDIR=/dir

http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neural&bl