|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] libserial c++ with gnuradio |
Date: | Mon, 17 Nov 2014 14:29:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Hi Ayman, you wrote your original question on a sunday and try to hurry things by asking but 24hrs later -- that might be a bit impatient for an open source project with volunteers trying to help you with something that has not much to do with their project, but with your usage of a completely different library ;) However: you're not linking properly against your serial library, as it seems. Make sure you modify the CMakeLists in your project's root and lib/ folder to include the library you want to link against.. Best regards, Marcus On 11/17/2014 12:59 PM, Ayman Hendawy
wrote:
kindly, could some one figure out my problem. Thanks On Sun, Nov 16, 2014 at 1:30 PM, Ayman Hendawy <address@hidden> wrote:Hi, I installed libserial to access serial port by C++ from gnu radio, I included #include <SerialStream.h> #include <iostream> to lib/XXXX.cc file, I can compile successfully, but when I run top_block.py file I get the following error, Traceback (most recent call last): File "./top_block.py", line 13, in <module> import C700 File "/usr/local/lib/python2.7/dist-packages/C700/__init__.py", line 45, in <module> from C700_swig import * File "/usr/local/lib/python2.7/dist-packages/C700/C700_swig.py", line 28, in <module> _C700_swig = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/C700/C700_swig.py", line 24, in swig_import_helper _mod = imp.load_module('_C700_swig', fp, pathname, description) ImportError: /usr/local/lib/libgnuradio-C700.so: undefined symbol: _ZN9LibSerial15SerialStreamBuf9showmanycEv what is this? kindly advice. Thanks -- Best regards Ayman Hendawy Embedded system engineer http://www.linkedin.com/pub/ayman-hendawy/28/375/b5 Cairo,Egypt Phone: +201110406659 |
[Prev in Thread] | Current Thread | [Next in Thread] |