Re: SWIG doesn't recognize argument in make()

2020-11-17 Thread Stéphane Ancelot
ally crazy... > > Lukas > > > Gesendet: Montag, 16. November 2020 um 20:09 Uhr > Von: "Nick Foster" > An: "Lukas Haase" > Cc: "discuss-gnuradiognu.org" , > cinaed.sim...@gmail.com > Betreff: Re: SWIG doesn't recognize argument in make() >

Re: SWIG doesn't recognize argument in make()

2020-11-16 Thread Lukas Haase
Hi Nick, Indeed, I just removed the "2" and suddenly it works. Insane. Totally crazy... Lukas Gesendet: Montag, 16. November 2020 um 20:09 Uhr Von: "Nick Foster" An: "Lukas Haase" Cc: "discuss-gnuradiognu.org" , cinaed.sim...@gmail.com Betreff: Re:

Re: SWIG doesn't recognize argument in make()

2020-11-16 Thread Nick Foster
You're not crazy. I've seen similar behavior. Does it work if you remove the underscore? The number? Who can fathom the esoteric secrets of SWIG? On Mon, Nov 16, 2020 at 3:06 PM Lukas Haase wrote: > Additional detail: I tried it again: > > $ gr_modtool rm tx_msg2tag > $ > $ gr_modtool add test

Re: SWIG doesn't recognize argument in make()

2020-11-16 Thread Lukas Haase
Additional detail: I tried it again: $ gr_modtool rm tx_msg2tag $ $ gr_modtool add test $ rm -rf build; mkdir build; cd build; cmake ..; make --> WORKS!! $ gr_modtool add tx_msg2tag $ rm -rf build; mkdir build; cd build; cmake ..; make --> FAILS with the error below. (of course, I edited the

Re: SWIG doesn't recognize argument in make()

2020-11-16 Thread Lukas Haase
Hi Cinaed, *I* am the author of gr-petro ;-) This is indeed a SWIG question. Or a question about OOT modules. I created the module with gr_modtool. I inserted bunch of blocks with "add" command. Just this one below does not work. I have no idea why (and it drives me crazy). Hence my questions: -

Re: SWIG doesn't recognize argument in make()

2020-11-16 Thread Cinaed Simson
Hi Lukas - gr-petro is a OOT module - an "out of tree "module - it's not part of gnuradio. You need to contact the author of the module. It's highly unlikely it's a problem with make - it's more likely a mismatch between gr-petro and your installed version of gnuradio. For instance, the OOT

SWIG doesn't recognize argument in make()

2020-11-16 Thread Lukas Haase
Hi everyone, It's driving me NUTS! SWIG just won't recognize an argument to my make() function and hence build fails. I have other nearly identical blocks in the same module that work without issues. What exactly generates the *swigPYTHON_wrap.cxx files and how are the argument lists for the f