You are not logged in.

#1 2008-01-26 20:31:18

Draje
Member
Registered: 2007-06-21
Posts: 102
Website

transKode build error

I tried to build transKode from the AUR, but I get the following error

In file included from bonkencoderdialog.cpp:21:
bonkencoderdialog.h:34: error: expected class-name before '{' token
bonkencoderdialog.h:35: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
bonkencoderdialog.h:37: error: expected ';' before 'public'
bonkencoderdialog.cpp:28: error: prototype for 'BonkEncoderDialog::BonkEncoderDialog(QWidget*, const char*)' does not match any in class 'BonkEncoderDialog'
bonkencoderdialog.h:34: error: candidates are: BonkEncoderDialog::BonkEncoderDialog(const BonkEncoderDialog&)
bonkencoderdialog.h:34: error:                 BonkEncoderDialog::BonkEncoderDialog()
bonkencoderdialog.cpp: In constructor 'BonkEncoderDialog::BonkEncoderDialog(QWidget*, const char*)':
bonkencoderdialog.cpp:29: error: class 'BonkEncoderDialog' does not have any field named 'BonkEncoderDialogBase'
bonkencoderdialog.cpp: In member function 'virtual void BonkEncoderDialog::setSwitches(const QString&)':
bonkencoderdialog.cpp:41: error: 'losslessModeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:42: error: 'quantizationLevelCheckBox' was not declared in this scope
bonkencoderdialog.cpp:43: error: 'downsamplingRatioCheckBox' was not declared in this scope
bonkencoderdialog.cpp:44: error: 'predictorSizeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:45: error: 'stereoModeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:52: error: 'quantizationLevelCheckBox' was not declared in this scope
bonkencoderdialog.cpp:53: error: 'quantizationLevelDecSpinBox' was not declared in this scope
bonkencoderdialog.cpp:59: error: 'downsamplingRatioCheckBox' was not declared in this scope
bonkencoderdialog.cpp:60: error: 'downsamplingRatioSpinBox' was not declared in this scope
bonkencoderdialog.cpp:66: error: 'predictorSizeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:67: error: 'predictorSizeSpinBox' was not declared in this scope
bonkencoderdialog.cpp:73: error: 'stereoModeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:74: error: 'stereoModeComboBox' was not declared in this scope
bonkencoderdialog.cpp: In member function 'virtual QString BonkEncoderDialog::switches()':
bonkencoderdialog.cpp:83: error: 'losslessModeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:87: error: 'quantizationLevelCheckBox' was not declared in this scope
bonkencoderdialog.cpp:88: error: 'quantizationLevelDecSpinBox' was not declared in this scope
bonkencoderdialog.cpp:89: error: 'downsamplingRatioCheckBox' was not declared in this scope
bonkencoderdialog.cpp:90: error: 'downsamplingRatioSpinBox' was not declared in this scope
bonkencoderdialog.cpp:91: error: 'predictorSizeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:92: error: 'predictorSizeSpinBox' was not declared in this scope
bonkencoderdialog.cpp:93: error: 'stereoModeCheckBox' was not declared in this scope
bonkencoderdialog.cpp:95: error: 'stereoModeComboBox' was not declared in this scope
make[4]: *** [bonkencoderdialog.lo] Error 1
make[4]: Leaving directory `/home/draje/Desktop/transkode/src/transkode/src/plugins/bonk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/draje/Desktop/transkode/src/transkode/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/draje/Desktop/transkode/src/transkode/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/draje/Desktop/transkode/src/transkode'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Any help would be appreciated.

EDIT: nevermind, I have fixed this error by adding the following to the beginning of the build section.

[ "$QTDIR" = "" ] && source /etc/profile.d/qt.sh
[ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh

Last edited by Draje (2008-01-27 02:22:02)

Offline

#2 2008-05-27 19:58:03

prol
Member
Registered: 2008-03-27
Posts: 75

Re: transKode build error

It doesnt work for me though
I put it at the starting of build

Offline

Board footer

Powered by FluxBB