Hello once again guys!
I was wondering if you could help me with a problem I'm having with
Freecycle. I'm trying to get it to compile to no avail. I've also tried to
install the debian binary (even though I'm running Ubuntu Studio Gutsy) but
it still won't install since the ubuntu binary installer says I don't have
libc6 which I do have installed, including libc6-dev. I also have a buncha
qt3-qt4 core packages installed
These are some of the errors I'm getting with the make command (after it
tells you to use the qmake command).
freecycle.cpp:1194: error: within this context
drawsoundwidget.h:98: error: 'long int
DrawSoundWidget::getRightLoopMarkerSample()' is private
freecycle.cpp:1195: error: within this context
freecycle.cpp:1197: error: 'class SoundManager' has no member named
'getFrames'
freecycle.cpp: In member function 'void Freecycle::loopChanged()':
freecycle.cpp:1207: error: invalid use of undefined type 'struct
QPushButton'
./ladspadialogbase.h:25: error: forward declaration of 'struct
QPushButton'
drawsoundwidgetabstract.h: In member function 'void
Freecycle::setWaveView()':
drawsoundwidgetabstract.h:37: error: 'WaveCanvas*
DrawSoundWidgetAbstract::getCanvas()' is private
freecycle.cpp:1221: error: within this context
freecycle.cpp:1222: error: 'configureViewPopupMenu' was not declared in
this scope
freecycle.cpp:1222: error: 'TRUE' was not declared in this scope
freecycle.cpp:1223: error: 'FALSE' was not declared in this scope
drawsoundwidgetabstract.h: In member function 'void
Freecycle::setSpectrumView()':
drawsoundwidgetabstract.h:37: error: 'WaveCanvas*
DrawSoundWidgetAbstract::getCanvas()' is private
freecycle.cpp:1232: error: within this context
freecycle.cpp:1233: error: 'configureViewPopupMenu' was not declared in
this scope
freecycle.cpp:1233: error: 'TRUE' was not declared in this scope
freecycle.cpp:1234: error: 'FALSE' was not declared in this scope
freecycle.cpp: In member function 'void Freecycle::showBeatLines()':
freecycle.cpp:1243: error: 'configureViewPopupMenu' was not declared in
this scope
freecycle.cpp:1244: error: 'FALSE' was not declared in this scope
freecycle.cpp:1247: error: 'TRUE' was not declared in this scope
bpmmodifierdropdown.h: In member function 'void
Freecycle::bpmModifierValueChanged()':
bpmmodifierdropdown.h:38: error: 'float
BPMModifierDropDown::getModifier()' is private
freecycle.cpp:1262: error: within this context
drawsoundwidget.h:105: error: 'void
DrawSoundWidget::setComputedBPMModifier(double)' is private
freecycle.cpp:1262: error: within this context
freecycle.cpp: In member function 'void Freecycle::spaceBarPressed()':
freecycle.cpp:1267: error: invalid use of undefined type 'struct
QPushButton'
./ladspadialogbase.h:25: error: forward declaration of 'struct
QPushButton'
drawsoundwidget.h: In member function 'void Freecycle::numPad7Pressed()':
drawsoundwidget.h:97: error: 'long int
DrawSoundWidget::getLeftLoopMarkerSample()' is private
freecycle.cpp:1277: error: within this context
drawsoundwidget.h: In member function 'void Freecycle::numPad9Pressed()':
drawsoundwidget.h:98: error: 'long int
DrawSoundWidget::getRightLoopMarkerSample()' is private
freecycle.cpp:1286: error: within this context
freecycle.cpp: In member function 'void Freecycle::saveProjectAs()':
freecycle.cpp:1306: error: 'QString' was not declared in this scope
freecycle.cpp:1306: error: expected `;' before 'fn'
mysaveprojectdialog.h:36: error: 'int MySaveProjectDialog::exec()' is
private
freecycle.cpp:1307: error: within this context
freecycle.cpp:1307: error: 'QDialog' has not been declared
freecycle.cpp:1308: error: 'fn' was not declared in this scope
freecycle.cpp:1308: error: 'class MySaveProjectDialog' has no member named
'selectedFile'
freecycle.cpp:1310: error: 'class DrawSoundWidget' has no member named
'getLockedBeatList'
drawsoundwidget.h:133: error: 'LockedBeatRectList
DrawSoundWidget::getLockedBeatRects()' is private
freecycle.cpp:1311: error: within this context
freecycle.cpp:1311: error: invalid use of undefined type 'class
LockedBeatRectList'
lockedbeatrectlist.h:20: error: forward declaration of 'class
LockedBeatRectList'
freecycle.cpp:1312: error: 'class BPMModifierDropDown' has no member named
'getStringModifier'
projectmanager.h:53: error: 'void ProjectManager::saveProject()' is
private
freecycle.cpp:1313: error: within this context
freecycle.cpp: In member function 'void Freecycle::loadProject()':
freecycle.cpp:1323: error: 'QString' was not declared in this scope
freecycle.cpp:1323: error: expected `;' before 'fn'
myloadprojectdialog.h:28: error: 'int MyLoadProjectDialog::exec()' is
private
freecycle.cpp:1324: error: within this context
freecycle.cpp:1324: error: 'QDialog' has not been declared
freecycle.cpp:1325: error: 'fn' was not declared in this scope
freecycle.cpp:1325: error: 'class MyLoadProjectDialog' has no member named
'selectedFile'
freecycle.cpp: In member function 'void Freecycle::saveLoopMidiFile()':
freecycle.cpp:1358: error: 'QString' was not declared in this scope
freecycle.cpp:1358: error: expected `;' before 'filename'
freecycle.cpp:1360: error: expected `;' before 'fn'
freecycle.cpp:1363: error: 'fn' was not declared in this scope
freecycle.cpp:1364: error: 'QValueList' was not declared in this scope
freecycle.cpp:1364: error: expected primary-expression before '>' token
freecycle.cpp:1364: error: 'beatlinesVL' was not declared in this scope
drawsoundwidget.h:96: error: 'bool DrawSoundWidget::hasLoopSet()' is
private
freecycle.cpp:1365: error: within this context
drawsoundwidget.h:97: error: 'long int
DrawSoundWidget::getLeftLoopMarkerSample()' is private
freecycle.cpp:1366: error: within this context
drawsoundwidget.h:98: error: 'long int
DrawSoundWidget::getRightLoopMarkerSample()' is private
freecycle.cpp:1367: error: within this context
freecycle.cpp:1368: error: 'class DrawSoundWidget' has no member named
'selectLockedBeatlinesList'
freecycle.cpp:1370: error: 'QMessageBox' has not been declared
drawsoundwidget.h:95: error: 'double DrawSoundWidget::getUsedBPM()' is
private
freecycle.cpp:1374: error: within this context
freecycle.cpp:1375: error: 'statusBar' was not declared in this scope
freecycle.cpp:1375: error: 'tr' was not declared in this scope
freecycle.cpp:1377: error: 'statusBar' was not declared in this scope
freecycle.cpp:1377: error: 'tr' was not declared in this scope
freecycle.cpp: In member function 'void Freecycle::saveProject()':
freecycle.cpp:1387: error: 'class ProjectManager' has no member named
'getFilename'
freecycle.cpp:1388: error: 'class DrawSoundWidget' has no member named
'getLockedBeatList'
drawsoundwidget.h:133: error: 'LockedBeatRectList
DrawSoundWidget::getLockedBeatRects()' is private
freecycle.cpp:1389: error: within this context
freecycle.cpp:1389: error: invalid use of undefined type 'class
LockedBeatRectList'
lockedbeatrectlist.h:20: error: forward declaration of 'class
LockedBeatRectList'
freecycle.cpp:1390: error: 'class BPMModifierDropDown' has no member named
'getStringModifier'
projectmanager.h:53: error: 'void ProjectManager::saveProject()' is
private
freecycle.cpp:1391: error: within this context
freecycle.cpp: At global scope:
freecycle.cpp:1399: error: variable or field 'loadProject' declared void
freecycle.cpp:1399: error: 'int Freecycle::loadProject' is not a static
member of 'class Freecycle'
freecycle.cpp:1399: error: 'QString' was not declared in this scope
freecycle.cpp:1400: error: expected ',' or ';' before '{' token
freecycle.cpp: In member function 'void Freecycle::help()':
freecycle.cpp:1419: error: 'class HelpManager' has no member named
'open'
freecycle.cpp: At global scope:
freecycle.cpp:1423: error: variable or field 'setMainApplication' declared
void
freecycle.cpp:1423: error: 'int Freecycle::setMainApplication' is not a
static member of 'class Freecycle'
freecycle.cpp:1423: error: 'QApplication' was not declared in this scope
freecycle.cpp:1423: error: 'theValue' was not declared in this scope
freecycle.cpp:1423: error: expected ',' or ';' before '{' token
pics/icons.h:8232: warning: 'embed_image_vec' defined but not used
make[1]: *** [freecycle.o] Error 1
make[1]: Leaving directory `/home/chris/Desktop/freecycle/src'
make: *** [sub-src] Error 2
chris@linuxlaptop:~/Desktop/freecycle$
Here are the installation instructions found in teh readme:
INSTALLATION:
*In order to generate makefiles and compile you should execute
qmake freecycle.pro
make
in the freecycle dir.
* FOR CONDITIONAL COMPILES PLEASE EDIT src/cond.pri
The easiest way to compile Freecycle (which is a Qt3 app) in an
environment which contains both qt3 and qt4 (OpenSuSE 10.2 comes to mind
as an example..) you should:
* export PATH=/usr/lib/qt3/bin/:$PATH
* export QTDIR=/usr/lib/qt3/
* make clean
* rm src/Makefile
* rm Makefile
* qmake
* make
I've tried the other ones too to no avail.
Any ideas?