discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Link error in _blocks_swig10.pyd


From: Gisle Vanem
Subject: [Discuss-gnuradio] Link error in _blocks_swig10.pyd
Date: Tue, 14 Nov 2017 22:08:22 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

I had trouble linking the _blocks_swig10.pyd block.
(some missing '_imp_' symbols).

So I investigated the ./gr-blocks/lib/ code and noticed
there was a missing 'BLOCKS_API' for the classes in
moving_average_XX_impl.h.t. This patch patch fixed it:

--- a/gr-blocks/lib/moving_average_XX_impl.h.t 2017-11-14 20:19:06
+++ a/gr-blocks/lib/moving_average_XX_impl.h.t 2017-11-14 21:48:23
@@ -32,7 +32,7 @@
 namespace gr {
   namespace blocks {

-    class @NAME_IMPL@ : public @NAME@
+    class BLOCKS_API @NAME_IMPL@ : public @NAME@
     {
     private:
       int d_length;

--
--gv



reply via email to

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