|Subject:||[Discuss-gnuradio] adding XML support to OOT block|
|Date:||Mon, 16 May 2016 09:37:41 -0600|
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 Knudsen, Ph.D., P.Eng.
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
|[Prev in Thread]||Current Thread||[Next in Thread]|