discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Cross compile OOT cmake error


From: Zach Hudson
Subject: Re: [Discuss-gnuradio] Cross compile OOT cmake error
Date: Thu, 6 Apr 2017 08:14:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

I am trying to get it running on a Red Pitaya (ARM Cortex A9 running Linux)

Zach

On 04/06/2017 06:21 AM, Philip Balister wrote:
On 04/05/2017 07:46 PM, Zach Hudson wrote:
Perhaps I should explain that I am woefully uneducated on all of this.
Could you point me to a good resource that could help me learn more
about what I am getting myself into? Or is that toolchain something easy
to install?
What is your target hardware? That would help narrow the focus of the
answer :)

Philip

Thanks
Zach

On 04/05/2017 04:07 PM, Philip Balister wrote:
On 04/05/2017 06:54 PM, Zach Hudson wrote:
I am using "../../gnuradio/cmake/Toolchains/oe-sdk_cross.cmake" as
called out on the wiki page:
https://wiki.gnuradio.org/index.php/Cross_compile_an_OOT_and_install_on_target

That is the toolchain file. It expects you to install an OpenEmbedded
built toolchain and source an environment file.

Philip


Zach

On 04/05/2017 03:39 PM, Philip Balister wrote:
On 04/05/2017 06:17 PM, Zach Hudson wrote:
I am getting a cmake error when trying to follow the directions for
cross compiling an OOT.

CMake Error: Internal CMake error, TryCompile configure of cmake
failed
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at
/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
     The C++ compiler "/usr/bin/c++" is not able to compile a simple
test
     program.
/usr/bin/c++ isn't normally a cross compiler. What toolchain are you
trying to use?

Philip

     It fails with the following output:





     CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
     CMakeLists.txt:24 (project)

I am able to compile it fine for local use. Any help would be
appreciated.


Zach Hudson
Shine Micro





_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]