[Buildroot] [buildroot] Building opencv for OMAP4430 / Armv7 / Cmake problem
niklaus.bruno at gmail.com
Mon Oct 31 10:12:15 UTC 2011
what works too is to change
in the toolchainfile.cmake
i really don't know whats the difference, but it works. i tried this
to this mail
---------- Forwarded message ----------
From: Bruno Niklaus <niklaus.bruno at gmail.com>
Subject: Building opencv for OMAP4430 / Armv7 / Cmake problem
To: buildroot at busybox.net
i tried to build opencv for armv7 / omap4430 processor, i'm using
codesourcery toolchain with neon optimations enabled.
when cmake tries to build opencv i allways get strange error with
The generated "toolchainfile.cmake" file in the "buildroot/outpout"
directory sets additional CMAKE_C_FLAGS and CMAKE_CXX_FLAGS at the end:
*"-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"*
I dont think these are the right flags, if i delete them and rebuild opencv
i runs trough without any errors.
but i dont know where the toolchainfile.cmake is generated? Where should i
apply a patch?
And is it okay to just delete the flags or should there be other flags?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot