discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Need help with gr how to create a signal process


From: Hassaan R.
Subject: Re: [Discuss-gnuradio] Need help with gr how to create a signal processing block template
Date: Wed, 26 May 2010 03:26:32 +0100


On Tue, May 25, 2010 at 7:08 AM, Eric Blossom <address@hidden> wrote:
On Tue, May 25, 2010 at 08:24:21AM +0600, Hassaan R. wrote:
> Dear Eric,
>
> Still working on it, hopefully will get a solution soon. Thanks for your
> reply, I'll focus on the Makefiles now to find the answer, I've been just
> going through stuff all over the place and working on Octave side by side. I
> will try my best to follow the guidelines in the link you gave me for
> reporting errors and apologize for the incomplete post, but rest assured I
> am using all the suggestions and information as best as possible. I'll
> continue reading those manuals after documenting all that I have done so
> far.
>
> Regards,
> Hassaan

Thanks.  No problem.

I suspect that you'll need to add the matlab libs using

 libfoo_la_LIBADD = -llibmatlab

or something similar.  If it's not in /usr/lib or /usr/lib64, you'll
probably need to use something like

 libfoo_la_LIBADD = -L/opt/path-to-lib-dir -llibmatlab

Eric

It was indeed a pathing issue. I used -rpath and -L to gather all the required libraries, had to spend alot of time finding all the ones I needed though using ldd and hit n trial testing, set them to LIBS inside the Makefile and now they are passed to the .la files as dependencies and are called whenever linking is done. Everything is in order now and I am getting my block compiled and installed. Thanks alot for your help and guidance.

Next step is sorting out the data types, I/O and understanding how the functions will be called so I can use the various .m files that I've generated in Matlab and Octave, I'm reading up on different tutorials and examples but would be great if you can direct me to some guides or references which use external libraries. For I/O I believe the gnu examples will be enough but I didn't find any example yet which uses external libraries/wrapped functions like I am doing. I'll just keep on looking, thanks again for your reply and time.

Regards,
Hassaan

reply via email to

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