I have cross-compiled UHD v3.15.0.0 and gnuradio maint-3.8 for the E310. When I try to setup the cross-compile of gr-ettus maint-3.8, I get a series of errors related to SWIG. Any idea how to work around this? My cmake command is: cmake -DCMAKE_TOOLCHAIN_FILE=~/rfnoc/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr .. And here are the errors:
CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrMiscUtils.cmake:127 (add_dependencies): The dependency target "gnuradio::runtime_swig" of target "_ettus_swig_doc_tag" does not exist.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:65 (GR_GEN_TARGET_DEPS) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:112 (GR_SWIG_MAKE_DOCS) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:144 (target_include_directories): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:144 (target_include_directories): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE) CMake Error at /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:418 (add_custom_command): Error evaluating generator expression: $ Target "gnuradio::runtime_swig" not found.Call Stack (most recent call first): /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/UseSWIG.cmake:559 (SWIG_ADD_SOURCE_TO_MODULE) /home/labuser/rfnoc/oe/sysroots/cortexa9t2hf-neon-oe-linux-musleabi/usr/lib/cmake/gnuradio/GrSwig.cmake:137 (swig_add_library) swig/CMakeLists.txt:54 (GR_SWIG_MAKE)
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com