AnsweredAssumed Answered

cross-compiling libiio for beaglebone

Question asked by sensarliar on Dec 26, 2015
Latest reply on Dec 29, 2015 by sensarliar

I tried to cross-compiling libiio for BEAGLEBONE BLACK ( ARM CORTEX A8).

Unfortunately, there is much Cmake error, and MAKE error.

I had refer to the wiki, but it's not work well.

I found:

What is libiio? [Analog Devices Wiki]

rgetz@pinky:~/libiio$ cmake -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_PATH}/usr/share/buildroot/toolchainfile.cmake .

rgetz@pinky:~/libiio$ make all

rgetz@pinky:~/libiio$ sudo make install DESTDIR=${TOOLCHAIN_PATH}


Is there anyone  who can provide the example file of "/toolchainfile.cmake"?

I would like to try my best to porting the libiio to BEAGLEBONE.



Thanks a lot.

Outcomes