error during make Hello I am not able to install Qtella 0.6.5. Iam getting the following error during 'make: Making all in src make[2]: Entering directory `/home/vincent/qtella/qtella-0.6.5/src' if g++ -DHAVE_CONFIG_H -fexceptions -DUSEKDE -DPIXMAPDIR=\"/usr/local/share/qtella/pixmaps\" -DLANG_DIR=\"/usr/local/share/qtella/language\" -I. -I. -I.. -DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/lib/qt3/include -I/opt/kde3/include -I/usr/include/vorbis -g -O2 -MT AudioFile.o -MD -MP -MF ".deps/AudioFile.Tpo" -c -o AudioFile.o AudioFile.cpp; \ then mv -f ".deps/AudioFile.Tpo" ".deps/AudioFile.Po"; else rm -f ".deps/AudioFile.Tpo"; exit 1; fi ../include/AudioMp3.h:14: error: extra qualification ‘AudioMp3::’ on member ‘AudioMp3’ ../include/AudioWav.h:14: error: extra qualification ‘AudioWav::’ on member ‘AudioWav’ ../include/AudioOgg.h:14: error: extra qualification ‘AudioOgg::’ on member ‘AudioOgg’ make[2]: *** [AudioFile.o] Error 1 make[2]: Leaving directory `/home/vincent/qtella/qtella-0.6.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vincent/qtella/qtella-0.6.5' make: *** [all] Error 2 I have searched to no avail. Plz help. |
Same here. Same problem. Anyone know what's going on here? |
Oh well... fixed. OK, so after my last post I figured, what the heck, why don't I actually just look at the source code that won't compile. The problem is pretty obvious: in the 3 header files AudioMp3.h, AudioOgg.h and AudioWav.h, the namespace/class qualifier is used inside the class declaration. AFAIK, this is simply broken code that no compiler will swallow, but who knows perhaps there are C++ compilers out there that think it's all good. Anyway, by simply deleting the qualifiers from the members in each of the three files, I got the code to compile cleanly. What's strange though, is that this broken code came straight out of a Qtella download. Oh well.. |
Quote:
could you please tell me what i have to delete? im not that good at c++ programming. Line Number or a Word to search for in these files would be great. Thx Man B4ckBOne |
What to edit. You'll need to extract your .tar.gz file, and navigate to the folder 'Includes'. In there you'll find the three files you're looking for, AudioWav.h, AudioOgg.h, and AudioMp3.h. Open those files with your favorite editor, I used bluefish but I think your standard text editor will work fine as well. And change the following: AudioMp3::AudioMp3( std::string filename ); CHANGE INTO: AudioMp3 ( std::string filename ); and do the same for the other files, but ofcourse there will be AudioWav::AudioWav( std::string filename ); and AudioOgg::AudioOgg--etc in the other files. I hope this solves the problem. JB. |
thanks man, it installed well |
np ;) |
All times are GMT -7. The time now is 09:45 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.