Hello Bill,

Compilation fails on Linux (Ubuntu 12.04). Error message follows.
...
Detector.cpp: In member function ‘virtual qint64 Detector::writeData(const
char*, qint64)’:
Detector.cpp:42:86: error: no matching function for call to ‘min(long long
unsigned int, qint64&)’
Detector.cpp:42:86: note: candidates are:
/usr/include/c++/4.6/bits/stl_algobase.h:187:5: note: template<class _Tp>
const _Tp& std::min(const _Tp&, const _Tp&)
/usr/include/c++/4.6/bits/stl_algobase.h:233:5: note: template<class _Tp,
class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
Detector.cpp:44:55: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
make: *** [Detector.o] Error 1


On Sat, Aug 3, 2013 at 8:59 PM, Bill Somerville <[email protected]>wrote:

> Hi all,
>
> I have a working version of WSJT-X that uses the Qt audio input and output
> streams. Qt5 is required to build this, PortAudio is not required.
>
> If anyone wants to test this (I have only tested on Windows so far) I
> would appreciate any feedback on building or running.
>
> Attached is a patch which you can apply to the r3522 codebase, there are
> four new files which all go in the top directory with the other main C++
> sources, I believe the patch program will create these.
>
> To apply the patch use the standard *nix patch command in the root
> directory of the project as follows:
>
> patch -p0 -i <patch-file-path>
>
> As the changes are quite extensive I think a build and test on *nix and
> OS-X might be better before any checkin.
>
> 73
> Bill
> G4WJS.
>
> _______________________________________________
> Wsjt-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/wsjt-devel
>
_______________________________________________
Wsjt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/wsjt-devel

Reply via email to