Hello, I'm new to C::B and I find it very cool
.
I only have some problems after the compilation but I search on google, forums of the libs and nothing...
Here is the build log (
) :
-------------- Build: default in QT Application ---------------
Running target pre-build steps
qt-prebuild
qt-prebuild : running
qt-prebuild : scan started
qt-prebuild : found UICable file muref.ui
qt-prebuild : found MOCable file ui_murefimpl.h
qt-prebuild : scan completed
mingw32-g++.exe -LD:\Qt\4.1.3\lib -LD:\MuRef\others\lib -L"D:\Program Files\CodeBlocks\lib" -o D:\MuRef\MuRef.exe .objs\CContextMenu.o .objs\CDatabase.o .objs\CLinkGUI.o .objs\CMusicFile.o .objs\CPlaylist.o .objs\CScanFiles.o .objs\CToolBox.o .objs\QTreeWidgetToolBox.o .objs\main.o .objs\moc_ui_murefimpl.o .objs\ui_murefimpl.o -lQt3Support4 -lQtAssistantClient -lQtCore4 -lQtDesigner4 -lQtDesignerComponents4 -lQtGui4 -lqtmain -lQtNetwork4 -lQtOpenGl4 -lQtSql4 -lQtXml4 -lQtSvg4 -lQtTest4 -lQtUiTools D:\MuRef\others\lib\libfmodex.a D:\MuRef\others\lib\taglib.lib D:\MuRef\others\lib\taglib_static.lib -mwindows
.objs\CMusicFile.o(.text+0x7bd):CMusicFile.cpp: undefined reference to `TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle)'
.objs\CMusicFile.o(.text+0x7c8):CMusicFile.cpp: undefined reference to `TagLib::FileRef::~FileRef()'
.objs\CMusicFile.o(.text+0xbfd):CMusicFile.cpp: undefined reference to `TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle)'
.objs\CMusicFile.o(.text+0xc08):CMusicFile.cpp: undefined reference to `TagLib::FileRef::~FileRef()'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 2 seconds)
4 errors, 0 warnings
And here is the portion of code which create that error :
in class CMusicFile.cpp :
//======================================
// TABLIG WIN32 PORT : @see : http://lukas.oxygene.sk/wiki/TagLibWin32
#include <tag.h>
#include <fileref.h>
//======================================
CMusicFile::CMusicFile(QString mFFP)
{
...
TagLib::FileRef musicTag("song.mp3");
...
}
The problem doesn't only appear with that lib and I have the EXACT same typical error with id3lib (which IS a cross-platform lib and many people use it but no help from their mailing list (which is actually outdated)).
Can someone help me ?? :-) That's a so nice IDE and I don't want to move to MSVC 2005 Express...
Thanks a lot
!