Linking .so files to OOT module

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
Traceback (most recent call last):
File “/xxx/xxxxx/”, line 754, in
tb = xxxx()
File “/xxx/xxxxx/”, line 617, in init
self.xxxx_src_0 = xxxxx.xxxx_src(“”, 1234, “Username”,
AttributeError: ‘module’ object has no attribute ‘xxxx_src’

Thank you.Vamsi

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs