discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Building with MSVC v16


From: Gisle Vanem
Subject: [Discuss-gnuradio] Building with MSVC v16
Date: Thu, 2 Oct 2014 18:45:59 +0200

Hi list.

I've managed to build Gr using MingW. Now trying the same
using Visual C Express 2010 (cl 16), gives me some troubles.
I'm just adding all my points here instead of multiple emails.

*) reed-solomon/*.[ch] needs 'FIXED' to be defined since my cl
 doesn't support variable arrays. What bad could happen with
 'FIXED' defined? Besides '-DFIXED' clashes enormously with the
 wingdi.h header. So what about 'GR_FIXED_ARRAYS' instead?

*) The special C++10 (?) features like 'not', 'and' and 'or' doesn't work
  here. Do they really bring anything new to Gr?
  Ref. gr-blocks/lib/multiply_matrix_ff_impl.cc etc.

*) gr-fcd/lib/hid/hid-libusb.c doesn't have a "config.h" test. I get
  tons of errors if it's not these. I added pthreads-w32 to make it work,
but I'm not sure it's a good idea. Are you supporting HID devices on Windows at all?
*) gr-fec/lib/ber_tools.cc should IMHO have a "config.h" too.

*) In gr-blocks/tests/benchmark_nco.cc and
      gr-blocks/tests/benchmark_vco.cc:

   #include <gnuradio/blocks/nco.h>
   #include <gnuradio/blocks/fxpt_nco.h>

 Shouldn't that be:
   #include <gnuradio/nco.h>
   #include <gnuradio/fxpt_nco.h>

Seems like an oversigth (*nco.h was once under gr-blocks?) Or could it be trouble at my end?

--gv







reply via email to

[Prev in Thread] Current Thread [Next in Thread]