Wednesday, April 5, 2017

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

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
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>

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

No comments:

Post a Comment