bemasher / rtlamr

An rtl-sdr receiver for Itron ERT compatible smart meters operating in the 900MHz ISM band.
GNU Affero General Public License v3.0
2.21k stars 249 forks source link

Stack-fault using MSVC #82

Closed gvanem closed 6 years ago

gvanem commented 6 years ago

After some troubles building with clang-cl, I get a stack-fault on a simple command like rtl_433.exe -h. Since MSVC's cl is not supported it seems. But I do use MSVC' link.

The culprit is the huge r_device devices[] array on stack in main().
Linking with -stack:20000000 fixes it ( bytes!!). The default stack-size is 2MByte AFAIK.

So, can this be done differently?

bemasher commented 6 years ago

You sir, have the wrong issue tracker. This tracker is for rtlamr, I cannot provide support for librtlsdr and friends.

gvanem commented 6 years ago

Ops. Totally wrong place.