Skip to Content

Hydrogen 0.9.5-beta1 compile errors

No replies
marney
Offline
Joined: 04/17/2010

Well, I've started looking at http://sourceforge.net/projects/hydrogen/files/Hydrogen/0.9.5%20Sources/hydrogen-0.9.5-beta1.tar.gz/download, mainly to see if I can compare issues with 0.9.4.1.

I am working through the compiler errors (Qmake mingw). Among other issues, I notice a number of missing ui .h header files that I've tried to recreate in Qt Creator:

ui_SampleEditor_UI.h
ui_SongEditorPanelTagWidget_UI.h
ui_VirtualPatternDialog_UI.h

Now have run into the following errors:

./objs\SongEditor.o:SongEditor.cpp:(.text+0x441d): undefined reference to `H2Core::SongEditorPanelTagWidget::SongEditorPanelTagWidget(QWidget*, int)'
./objs\SongEditor.o:SongEditor.cpp:(.text+0x4435): undefined reference to `H2Core::SongEditorPanelTagWidget::~SongEditorPanelTagWidget()'
./objs\SongEditor.o:SongEditor.cpp:(.text+0x459d): undefined reference to `H2Core::SongEditorPanelTagWidget::~SongEditorPanelTagWidget()'
./objs\SongEditor.o:SongEditor.cpp:(.text+0x4c8b): undefined reference to `VirtualPatternDialog::computeVirtualPatternTransitiveClosure(H2Core::PatternList*)'
./objs\SongEditor.o:SongEditor.cpp:(.text+0x4ed5): undefined reference to `VirtualPatternDialog::VirtualPatternDialog(QWidget*)'
./objs\SongEditor.o:SongEditor.cpp:(.text+0x5181): undefined reference to `VirtualPatternDialog::computeVirtualPatternTransitiveClosure(H2Core::PatternList*)'

Examining the related files, all the references seem to be there.

A similar error happened while compiling 0.9.4.1 which had to do with the order of includes, apparently due to MinGW being sensitive to include order. In that case, it had to do with external .libs, rather than internal project files.

I tried re-ordering the related includes in SongEditor.cpp, but still couldn't get past the "undefined reference" errors.

Any thoughts?