Compile problems

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile problems

Stephane Thomas-3
Hi,

I tried to compile lmms-0.1.0rc1 on a Debian unstable, i've got the
following error :

g++  -I/usr/share/qt3/include -D_REENTRANT -DQT_THREAD_SUPPORT -g -O2
-g0 -fno-exceptions -ansi -Wall   -o lmms  audio_alsa.o audio_device.o
audio_file_device.o audio_file_ogg.o audio_file_wave.o audio_oss.o
audio_sample_recorder.o audio_sdl.o clipboard.o about_dialog.o
arp_and_chords_tab_widget.o bb_editor.o browser.o config_mgr.o
envelope_and_lfo_widget.o envelope_tab_widget.o export_project_dialog.o
lmms_main_win.o main.o mixer.o name_label.o note.o note_play_handle.o
piano_roll.o piano_widget.o plugin_management.o
preset_preview_play_handle.o sample_play_handle.o song_editor.o
sound_generator.o track.o track_container.o surround_area.o timeline.o
embed.o mmp.o oscillator.o sample_buffer.o midi_alsa.o midi_device.o
midi_file.o midi_oss.o audio_file_processor.o midi_out.o
plucked_string_synth.o triple_oscillator.o bb_track.o channel_track.o
pattern.o sample_track.o crystal_button.o knob.o kmultitabbar.o
visualization_widget.o pixmap_button.o project_notes.o rename_dialog.o
side_bar_widget.o tab_bar.o -L/usr/share/qt3/lib -lqt-mt -lpthread -lSDL
-lasound  -lvorbis -lvorbisenc -lvorbisfile -lsamplerate -lsndfile
/usr/bin/ld: ne peut trouver -lqt-mt
collect2: ld returned 1 exit status
make[2]: *** [lmms] Erreur 1
make[2]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
make: *** [all] Erreur 2


I also tried to compile it against QT4 so i export QTDIR=/usr/share/qt4
but the configure script stopped with :

checking for moc... /usr/share/qt4/bin/moc
checking for uic... /usr/share/qt4/bin/uic
checking for lupdate... /usr/share/qt4/bin/lupdate
checking for lrelease... /usr/share/qt4/bin/lrelease
configure: error: *** Couldn't find any Qt libraries


Any help ?

--
Stephane Thomas <[hidden email]>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile problems

Tobias Doerffel-2
> g++  -I/usr/share/qt3/include -D_REENTRANT -DQT_THREAD_SUPPORT -g -O2
> -g0 -fno-exceptions -ansi -Wall   -o lmms  audio_alsa.o audio_device.o
> audio_file_device.o audio_file_ogg.o audio_file_wave.o audio_oss.o
> audio_sample_recorder.o audio_sdl.o clipboard.o about_dialog.o
> arp_and_chords_tab_widget.o bb_editor.o browser.o config_mgr.o
> envelope_and_lfo_widget.o envelope_tab_widget.o export_project_dialog.o
> lmms_main_win.o main.o mixer.o name_label.o note.o note_play_handle.o
> piano_roll.o piano_widget.o plugin_management.o
> preset_preview_play_handle.o sample_play_handle.o song_editor.o
> sound_generator.o track.o track_container.o surround_area.o timeline.o
> embed.o mmp.o oscillator.o sample_buffer.o midi_alsa.o midi_device.o
> midi_file.o midi_oss.o audio_file_processor.o midi_out.o
> plucked_string_synth.o triple_oscillator.o bb_track.o channel_track.o
> pattern.o sample_track.o crystal_button.o knob.o kmultitabbar.o
> visualization_widget.o pixmap_button.o project_notes.o rename_dialog.o
> side_bar_widget.o tab_bar.o -L/usr/share/qt3/lib -lqt-mt -lpthread -lSDL
> -lasound  -lvorbis -lvorbisenc -lvorbisfile -lsamplerate -lsndfile
> /usr/bin/ld: ne peut trouver -lqt-mt
> collect2: ld returned 1 exit status
> make[2]: *** [lmms] Erreur 1
> make[2]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
> make[1]: *** [all-recursive] Erreur 1
> make[1]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
> make: *** [all] Erreur 2
make sure, the multithreaded version of qt is installed and make sure
it is in linker-path. see man ld for details.


> I also tried to compile it against QT4 so i export QTDIR=/usr/share/qt4
> but the configure script stopped with :
>
> checking for moc... /usr/share/qt4/bin/moc
> checking for uic... /usr/share/qt4/bin/uic
> checking for lupdate... /usr/share/qt4/bin/lupdate
> checking for lrelease... /usr/share/qt4/bin/lrelease
> configure: error: *** Couldn't find any Qt libraries
probably the same problem as with qt3. but qt4-support is currently
VERY experimental, so you won't really be able to use LMMS...

toby


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile problems

Stephane Thomas-3
Le jeudi 08 septembre 2005 à 13:07 +0200, Tobias Doerffel a écrit :

> make sure, the multithreaded version of qt is installed and make sure
> it is in linker-path. see man ld for details.

I installed the libqt3-mt-dev package, i get the following make error :


if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./include -I.    -I/usr/include/qt3
-D_REENTRANT -DQT_THREAD_SUPPORT -g -O2 -g0 -fno-exceptions -ansi -Wall
-MT about_dialog.o -MD -MP -MF ".deps/about_dialog.Tpo" -c -o
about_dialog.o `test -f './src/core/about_dialog.cpp' || echo
'./'`./src/core/about_dialog.cpp; \
then mv -f ".deps/about_dialog.Tpo" ".deps/about_dialog.Po"; else rm -f
".deps/about_dialog.Tpo"; exit 1; fi
In file included from ./src/core/about_dialog.cpp:148:
./about_dialog.moc:12:2: error: #error "The header file 'about_dialog.h'
doesn't include <QObject>."
./about_dialog.moc:36: error: 'const QMetaObject
aboutDialog::staticMetaObject' is not a static member of 'class
aboutDialog'
./about_dialog.moc:36: error: variable 'const QMetaObject
aboutDialog::staticMetaObject' has initializer but incomplete type
./about_dialog.moc:41: error: prototype for 'const QMetaObject*
aboutDialog::metaObject() const' does not match any in class
'aboutDialog'
./include/about_dialog.h:48: error: candidate is: virtual QMetaObject*
aboutDialog::metaObject() const
./about_dialog.moc:41: error: 'const QMetaObject*
aboutDialog::metaObject() const' cannot be overloaded
./include/about_dialog.h:48: error: with 'virtual QMetaObject*
aboutDialog::metaObject() const'
./about_dialog.moc: In member function 'const QMetaObject*
aboutDialog::metaObject() const':
./about_dialog.moc:43: error: cannot convert 'QMetaObject* (*)()' to
'const QMetaObject*' in return
./about_dialog.moc: At global scope:
./about_dialog.moc:46: error: no 'void* aboutDialog::qt_metacast(const
char*)' member function declared in class 'aboutDialog'
./about_dialog.moc: In member function 'void*
aboutDialog::qt_metacast(const char*)':
./about_dialog.moc:51: error: 'qt_metacast' is not a member of 'QDialog'
./about_dialog.moc: At global scope:
./about_dialog.moc:54: error: 'int aboutDialog::qt_metacall' is not a
static member of 'class aboutDialog'
./about_dialog.moc:54: error: incomplete type 'QMetaObject' used in
nested name specifier
./about_dialog.moc:54: error: expected primary-expression before 'int'
./about_dialog.moc:54: error: expected primary-expression before 'void'
./about_dialog.moc:54: error: initializer expression list treated as
compound expression
./about_dialog.moc:55: error: expected ',' or ';' before '{' token
make[2]: *** [about_dialog.o] Erreur 1
make[2]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
make: *** [all] Erreur 2

INFO:
$ dpkg -l |grep qt3
ii  libqt3                          3.3.4-7                    Qt GUI
Library, Version 3
ii  libqt3-compat-headers           3.3.4-7                    Qt 1.x
and 2.x compatibility includes
ii  libqt3-headers                  3.3.4-7                    Qt3
header files
ii  libqt3-mt                       3.3.4-7                    Qt GUI
Library (Threaded runtime version), V
ii  libqt3-mt-dev                   3.3.4-7                    Qt
development files (Threaded)
rc  libqt3c102-mt                   3.3.4-3                    Qt GUI
Library (Threaded runtime version), V
ii  libqt4-qt3support               4.0.0-3                    Qt 3
compatibility library for Qt 4
ii  qt3-dev-tools                   3.3.4-7                    Qt3
development tools



Regards,

--
Stephane Thomas <[hidden email]>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile problems

Tobias Doerffel-2
> I installed the libqt3-mt-dev package, i get the following make error :
>
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./include -I.    -I/usr/include/qt3
> -D_REENTRANT -DQT_THREAD_SUPPORT -g -O2 -g0 -fno-exceptions -ansi -Wall
> -MT about_dialog.o -MD -MP -MF ".deps/about_dialog.Tpo" -c -o
> about_dialog.o `test -f './src/core/about_dialog.cpp' || echo
> './'`./src/core/about_dialog.cpp; \
> then mv -f ".deps/about_dialog.Tpo" ".deps/about_dialog.Po"; else rm -f
> ".deps/about_dialog.Tpo"; exit 1; fi
> In file included from ./src/core/about_dialog.cpp:148:
> ./about_dialog.moc:12:2: error: #error "The header file 'about_dialog.h'
> doesn't include <QObject>."
> ./about_dialog.moc:36: error: 'const QMetaObject
> aboutDialog::staticMetaObject' is not a static member of 'class
> aboutDialog'
> ./about_dialog.moc:36: error: variable 'const QMetaObject
> aboutDialog::staticMetaObject' has initializer but incomplete type
> ./about_dialog.moc:41: error: prototype for 'const QMetaObject*
> aboutDialog::metaObject() const' does not match any in class
> 'aboutDialog'
> ./include/about_dialog.h:48: error: candidate is: virtual QMetaObject*
> aboutDialog::metaObject() const
> ./about_dialog.moc:41: error: 'const QMetaObject*
> aboutDialog::metaObject() const' cannot be overloaded
> ./include/about_dialog.h:48: error: with 'virtual QMetaObject*
> aboutDialog::metaObject() const'
> ./about_dialog.moc: In member function 'const QMetaObject*
> aboutDialog::metaObject() const':
> ./about_dialog.moc:43: error: cannot convert 'QMetaObject* (*)()' to
> 'const QMetaObject*' in return
> ./about_dialog.moc: At global scope:
> ./about_dialog.moc:46: error: no 'void* aboutDialog::qt_metacast(const
> char*)' member function declared in class 'aboutDialog'
> ./about_dialog.moc: In member function 'void*
> aboutDialog::qt_metacast(const char*)':
> ./about_dialog.moc:51: error: 'qt_metacast' is not a member of 'QDialog'
> ./about_dialog.moc: At global scope:
> ./about_dialog.moc:54: error: 'int aboutDialog::qt_metacall' is not a
> static member of 'class aboutDialog'
> ./about_dialog.moc:54: error: incomplete type 'QMetaObject' used in
> nested name specifier
> ./about_dialog.moc:54: error: expected primary-expression before 'int'
> ./about_dialog.moc:54: error: expected primary-expression before 'void'
> ./about_dialog.moc:54: error: initializer expression list treated as
> compound expression
> ./about_dialog.moc:55: error: expected ',' or ';' before '{' token
> make[2]: *** [about_dialog.o] Erreur 1
> make[2]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
> make[1]: *** [all-recursive] Erreur 1
> make[1]: Leaving directory `/usr/local/src/lmms-0.1.0rc1'
> make: *** [all] Erreur 2
you just didn't re-configure LMMS and did no make clean, so there's
garbage from your try to compile LMMS with qt4. do a make clean,
reconfigure or just extract the source-tree again...

toby


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
LMMS-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lmms-devel