rtl_tcp.c:112:10: error: invalid suffix "Ui64" on integer constant

Adam Nielsen a.nielsen at shikadi.net
Wed Oct 9 11:03:48 UTC 2013

> Just been trying to compile rtl-sdr on my Windows7x64; so I have
> cloned the trunk repository, download mingw64, download cmake, get
> libusb-1.0 for windows and get pthreads-win32.

> ..\..\src\rtl_tcp.c:112:10: error: invalid suffix "Ui64" on integer
> constant tmp -= 11644473600000000Ui64;
> Someone can help me?

It looks like the "i64" suffix is specific to Microsoft VC++.  I guess
since you're compiling for Windows it's assumed you'll be using the MS
compiler.  Try changing the "Ui64" at the end of the number to the
standard "ULL" instead and see if that lets you finish compiling.


More information about the osmocom-sdr mailing list