Skip to Content

Compile error with svn 0.9.2

1 reply [Last post]
jackandjohn
Offline
Joined: 04/17/2010

I installed the ubuntu version of hyrogen fine (0.9.2), it worked great except for the 100% cpu bug, so I searched and found that this bug is fixed in the svn.

dl, install automake, install qt3 + 4 libs, and now when I run make, I get the following:

g++ -c -pipe -g -w -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -Isrc -I/usr/include/qt3 -o src/ADSR.o src/lib/ADSR.cpp
src/lib/ADSR.cpp: In constructor ?ADSR::ADSR(float, float, float, float)?:
src/lib/ADSR.cpp:42: error: type ?class Object? is not a direct base of ?ADSR?
src/lib/ADSR.cpp: In copy constructor ?ADSR::ADSR(const ADSR&)?:
src/lib/ADSR.cpp:54: error: type ?class Object? is not a direct base of ?ADSR?
make[1]: *** [src/ADSR.o] Error 1
make[1]: Leaving directory `/home/josh/hydrogen/0.9.2'
make: *** [hydrogenPlayer] Error 2

Is there something missing, or is this something hinted at in my search: a version mismatch with QT3.

Please help; I want to kickass drum loops while I work :)

jackandjohn
Offline
Joined: 04/17/2010

Ok, I fixed it, but not in a very elegent way;

looked into the svn, and the last revision to 'src/lib/ADSR.cpp' was in build 68, so I pulled build 67, ran
./autoconfig
./configure
make
sudo make install

This was after pulling out all the qt3 libs and reinstalling, then testing with the latest revision (74; which failed the exact same way as previous)

Incase anyone came here after experiencing the same problem, the way to pull revision 67 is with this:

svn co --revision 67 http://devel.hydrogen-music.org/svn/hydrogen/branches/0.9.2

Btw; I'm on ubuntu 5.10 - Breezy