tests building

Maximilian Kossick maximilian.kossick at googlemail.com
Wed Jan 20 17:44:01 CET 2010


Those two errors can be easily fixed by providing dummy
implementations that don't do anything in the
CollectionLocationTest.cpp

I'm not sure whether the linker will start complaining about
SvgHandler being missing

On Wed, Jan 20, 2010 at 5:04 PM, Casey Link <unnamedrambler at gmail.com> wrote:
>> What about those people who do not have a Linux box around? Can
>> somebody else post the linking errors?
>
> [  3%] Building CXX object
> tests/collection/CMakeFiles/testcollectionlocation.dir/CollectionLocationTest.o
> /home/ramblurr/src/amarok/tests/collection/CollectionLocationTest.cpp:41:
> warning: unused parameter ‘track’
> [  3%] Building CXX object
> tests/collection/CMakeFiles/testcollectionlocation.dir/__/__/src/collection/CollectionLocation.o
> [  3%] Building CXX object
> tests/collection/CMakeFiles/testcollectionlocation.dir/__/__/src/meta/Meta.o
> Linking CXX executable ../testcollectionlocation
> CMakeFiles/testcollectionlocation.dir/__/__/src/meta/Meta.o: In
> function `Meta::Album::image(int)':
> /home/ramblurr/src/amarok/src/meta/Meta.cpp:421: undefined reference
> to `Amarok::saveLocation(QString const&)'
> CMakeFiles/testcollectionlocation.dir/__/__/src/meta/Meta.o: In
> function `Meta::Album::imageWithBorder(int, int)':
> /home/ramblurr/src/amarok/src/meta/Meta.cpp:458: undefined reference
> to `The::svgHandler()'
> /home/ramblurr/src/amarok/src/meta/Meta.cpp:458: undefined reference
> to `SvgHandler::addBordersToPixmap(QPixmap, int, QString const&,
> bool)'
> collect2: ld returned 1 exit status
> make[2]: *** [tests/testcollectionlocation] Error 1
> make[1]: *** [tests/collection/CMakeFiles/testcollectionlocation.dir/all]
> Error 2
> make: *** [all] Error 2
>


More information about the Amarok-devel mailing list