Are you using any of our official e1xx images? I noticed that you are
manually typing in arguments for the e1xx; UHD and GNURadio are both
distributed with CMake Toolchain files for use on the E1xx devices.
Additionally, our official images come with a script that will
automatically build GNU Radio with a bunch of extra useful flags that
get
around some of the stranger package-location errors.
Regardless, you can manually check what pkg-config finds with:
$ sudo pkg-config --list-all | grep orc
Our official e1xx images come with the orc pkg-config file installed at:
Also, I’ll note that in our official images, orc is installed from
source,
rather than from opkg. You can find the source tarball for this install
in
~root/src/
If you choose to try this, make sure you first completely remove orc
with
opkg first.
Lastly, unless there is a really good reason to not use our official
images, I highly suggest using them. It is much easier for us to support
you if you are using a system we are familiar with.
Could you tell me what might be the problem? Thanks.
Add -DENABLE_ORC=ON to the cmake command line.
Philip
Thanks, Philip. But the problem remains after -DENABLE_ORC=on is added.
When configuring volk, these issues are reported:
– Configuring volk support…
– Enabling volk support.
– Override with -DENABLE_VOLK=ON/OFF
– Boost version: 1.45.0
– Found the following Boost libraries:
– unit_test_framework
– checking for module ‘orc-0.4’
– package ‘orc-0.4’ not found
– orc files (missing: ORC_LIBRARY ORC_INCLUDE_DIR)
– Performing Test have_maltivec
– Performing Test have_maltivec - Failed
– Performing Test have_mfpu=neon
– Performing Test have_mfpu=neon - Success
– Performing Test have_mfloat-abi=softfp
– Performing Test have_mfloat-abi=softfp - Success
– Performing Test have_funsafe-math-optimizations
– Performing Test have_funsafe-math-optimizations - Success
– Performing Test have_m32
– Performing Test have_m32 - Failed
– Performing Test have_m64
– Performing Test have_m64 - Failed
– Performing Test have_m3dnow
– Performing Test have_m3dnow - Failed
– Performing Test have_msse4.2
– Performing Test have_msse4.2 - Failed
– Performing Test have_mpopcnt
– Performing Test have_mpopcnt - Failed
– Performing Test have_mmmx
– Performing Test have_mmmx - Failed
– Performing Test have_msse
– Performing Test have_msse - Failed
– Performing Test have_msse2
– Performing Test have_msse2 - Failed
– orc overruled
– Performing Test have_msse3
– Performing Test have_msse3 - Failed
– Performing Test have_mssse3
– Performing Test have_mssse3 - Failed
– Performing Test have_msse4a
– Performing Test have_msse4a - Failed
– Performing Test have_msse4.1
– Performing Test have_msse4.1 - Failed
– Performing Test have_mavx
– Performing Test have_mavx - Failed
– Available arches: generic;neon
– Available machines: generic;neon
– Did not find liborc and orcc, disabling orc support…
– Using install prefix: /usr/local
– Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
However, if I check orc manually with “opkg list-installed | grep orc”,
it shows:
and put it in /usr/lib/pkgconfig, copy orc.h to
/usr/include/orc-4.0/orc/ . Now ORC_INCLUDE_DIR can be found by
FindORC.cmake, but ORC_LIBRARY, liborc and orcc are still missing. Is
there any way to fix this or do I need a fresh rebuild of orc? Thanks.