[ 57%] Building CXX object src/CMakeFiles/pt.dir/taginfo.o
Brought to you by:
yakin
Make fails building taginfo.cpp
[ 57%] Building CXX object src/CMakeFiles/pt.dir/taginfo.o
/var/tmp/portage/media-sound/pinkytagger-2.2.3/work/pinkytagger-2.2.3/src/taginfo.cpp: In member function »QString TagInfo::read_tracknr_internal() const«:
/var/tmp/portage/media-sound/pinkytagger-2.2.3/work/pinkytagger-2.2.3/src/taginfo.cpp:152: Fehler: »sprintf« wurde in diesem Gültigkeitsbereich nicht definiert
make[2]: *** [src/CMakeFiles/pt.dir/taginfo.o] Fehler 1
make[1]: *** [src/CMakeFiles/pt.dir/all] Fehler 2
make: *** [all] Fehler 2
I am trying to build pinkytagger-2.2.3 on gentoo with gcc-4.4.1
I have the same problem with Ubuntu Karmic building 2.2.2 or 2.2.3. Taglib is 1.6.0.
btw libmusicbrainz4 was not detected by cmake. I had to install version 3. Detecting ffmpeg didn't work too but lame was.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
This bug affect me to on Ubuntu 9.10 karmic i386. The build will continue if i comment line 152.
You can fix this by adding an include file in src/taginfo.cpp:
20 ***************************************************************************/
21 #include "taginfo.h"
22 #include <stdio.h> /* add this line */
23
24#include <iostream>
Don't forget to do a "make clean" and the a normal "make".
Works for me on Ubuntu Lucid x86_64