[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] adding XML support to OOT block
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] adding XML support to OOT block |
Date: |
Mon, 16 May 2016 09:53:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Hi Steven,
if you go to cgran.org, you'll find a bunch of OOTs that have external
dependencies. gr-nacl depends on libsodium, for example. I recommend
checking those CMake files for examples.
M
On 05/16/2016 08:37 AM, Steven Knudsen wrote:
> Hi,
>
> I would like to do something I think is not uncommon and that’s to add
> XML support to a block (e.g., to read a config file).
>
> Everything compiles, but on link all the libxml2 functions generate
> “undefined references”. I believe there is a missing -lxml2, but how and
> where to add?
>
> Online search does not turn up much, and what there is seems to be from
> around 2008 when the build system was different.
>
> I did try modifying the CMakeLists.txt for my module, but it appears
> that I don’t know how to augment or override the GR support for libxml2.
> That is, I can add find_package(LibXml2) and that works as expected, but
> modifying any of the env vars doesn’t seem to help.
>
> Any advice would be much appreciated. I suspect there may be an example
> out there that I’ve just not found and I will be chagrined, but grateful
> to the person that kicks me that direction…
>
> Thanks very much,
>
> steven
>
>
> Steven Knudsen, Ph.D., P.Eng.
> www. techconficio.ca <http://techconficio.ca>
> www.linkedin.com/in/knudstevenknudsen
> <http://www.linkedin.com/in/knudstevenknudsen>
>
> /Der entscheidende Augenblick der menschlichen Entwicklung
> ist immerwährend. Darum sind die revolutionären geistigen Bewegungen,
> welche alles Frühere für nichtig erklären, im Recht, denn es ist
> noch nichts geschehen. - Franz Kafka/
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>