Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Qtella (Linux/Unix) (https://www.gnutellaforums.com/qtella-linux-unix/)
-   -   Qtella 0.5.2 released (https://www.gnutellaforums.com/qtella-linux-unix/10914-qtella-0-5-2-released.html)

Etzi April 29th, 2002 12:21 PM

Qtella 0.6.5 released
 
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.

Unregistered May 1st, 2002 09:14 AM

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.. ;)

Etzi May 1st, 2002 09:34 AM

It would be nice if you could send me a diff.

Unregistered May 1st, 2002 09:51 AM

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 ;)

Unregistered May 4th, 2002 06:25 AM

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

h2gofast October 7th, 2002 11:20 AM

ditto on those errors


All times are GMT -7. The time now is 08:41 AM.

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.