|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| Qtella (Linux/Unix) Qtella has been discontinued. We highly recommend you use an actively developed client instead. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello Qtella users,
Qtella 0.6.5 has been released. It is available from: http://www.qtella.net/ This is a bugfix release and should fix the crash that was reported here several times. Last edited by Etzi; May 19th, 2004 at 05:21 PM. |
|
#2
|
|||
|
|||
|
Some things need to be done to compile with gcc3..
For example: you need to either specify std::cerr or use: using namespace std; You rely on iostream being included by fstream, this is not the case with all implementations (for example libstdc++ v3) you use ios::bin, the correct iso/ansi way of doing it is with ios_base::binary you use fstream::read wrong, it takes a char* (or const char*?) as first argument, so adding a & in front of an array is wrong (since an array is a pointer already), and having unsigned char* needs a specified cast to char* might be something more, working on making it compile atm, working on it.. if you want a diff I can make one, but it's not hard to change it manually.. Thanx for a great gnutella app in general though..
|
|
#3
|
|||
|
|||
|
It would be nice if you could send me a diff.
|
|
#4
|
|||
|
|||
|
diff -r qtella-0.5.2/include/AudioMp3.h qtella-mod/include/AudioMp3.h
9a10 > using namespace std; diff -r qtella-0.5.2/include/RiffFile.h qtella-mod/include/RiffFile.h 8a9 > using namespace std; diff -r qtella-0.5.2/src/AudioMp3.cpp qtella-mod/src/AudioMp3.cpp 10a11,12 > #include <iostream> > #include <iomanip> 24a27 > using namespace std; 167c170 < file.open( filename, (ios::in | ios::bin) ); --- > file.open( filename, (ios_base::in | ios_base::binary) ); 327c330 < unsigned char buffer[FRAME_HEADER_SIZE]; --- > char buffer[FRAME_HEADER_SIZE]; 330c333 < if( !file.read(&buffer, FRAME_HEADER_SIZE) ) --- > if( !file.read(buffer, FRAME_HEADER_SIZE) ) 447c450 < file.read( id3.genre, 1 ); --- > file.read( (char*)id3.genre, 1 ); diff -r qtella-0.5.2/src/AudioOgg.cpp qtella-mod/src/AudioOgg.cpp 14a15 > #include <iostream> diff -r qtella-0.5.2/src/AudioWav.cpp qtella-mod/src/AudioWav.cpp 11a12,13 > #include <iostream> > using namespace std; diff -r qtella-0.5.2/src/RiffFile.cpp qtella-mod/src/RiffFile.cpp 58c58 < file.open(name, (ios::in|ios::bin)); --- > file.open(name, (ios_base::in|ios_base::binary)); 264c264 < parent.filep()->read(&size, 4); --- > parent.filep()->read((char*)size, 4); not sure if I did this diff correctly.. (need to learn that utility better, been too comfortable with cvs diff
|
|
#5
|
|||
|
|||
|
It just tried compiling this, and I got errors apparently related to KDE3...
During "make" it exited with: In file included from /opt/kde3/include/kuniqueapplication.h:25, from /opt/kde3/include/kuniqueapp.h:3, from main.cpp:10: /opt/kde3/include/dcopobject.h:29: qptrlist.h: No such file or directory In file included from main.cpp:12: /opt/kde3/include/kcmdlineargs.h:24: qptrlist.h: No such file or directory make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/usr/local/src/qtella-0.5.2/src' make: *** [all-recursive] Error 1 |
|
#6
|
|||
|
|||
|
ditto on those errors
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Qtella 0.6.5 released | Etzi | Qtella (Linux/Unix) | 0 | May 19th, 2004 05:24 PM |
| QTella 0.6.1 | rkrajesh | Qtella (Linux/Unix) | 0 | June 19th, 2003 04:29 AM |
| Qtella 0.5.1 released. | Etzi | Qtella (Linux/Unix) | 0 | March 31st, 2002 03:50 PM |
| Qtella 0.4.1a has been released | Etzi | Qtella (Linux/Unix) | 0 | March 12th, 2002 01:41 PM |
| Qtella | MDoyle19 | Qtella (Linux/Unix) | 1 | March 10th, 2002 03:05 AM |