discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Linking .so files to OOT module


From: vamsi krishna
Subject: [Discuss-gnuradio] Linking .so files to OOT module
Date: Tue, 8 Sep 2015 00:22:34 +0000 (UTC)

Hello everyone,

I'm trying to create a source and sink block which will connect to a database to fetch and drop data. The interface to the database is created using shared libraries (.so files) that were defined by someone else, not us. I have included the header file, which contains all the interfaces, inside the include folder of the module.

I tried looking for possible solutions and many times it was mentioned to use "target_link_libraries" in CMakeLists.txt file. Could anyone let me know how and where it should be included?

Note : The code gets compiled and placed into respective folders alright, but there is this exception after executing on gnuradio-companion.

Traceback (most recent call last):
File "/xxx/xxxxx/xxxx.py", line 754, in <module>
tb = xxxx()
File "/xxx/xxxxx/xxxx.py", line 617, in __init__
self.xxxx_src_0 = xxxxx.xxxx_src("127.0.0.1", 1234, "Username", "password")
AttributeError: 'module' object has no attribute 'xxxx_src'


Thank you.
Vamsi

reply via email to

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