[Buildroot] opencv with glibc

Ozgun ozgun.gunay at gmail.com
Wed Feb 15 19:35:25 UTC 2012


My br doesn't have output/toolchainfile.cmake file

15 Şub 2012 20:15 tarihinde "Samuel Martin" <s.martin49 at gmail.com> yazdı:
>
> 2012/2/15 Ozgun <ozgun.gunay at gmail.com>:
> >
> > I can compile with glibc library without any problem. But when I
choose/add
> > opencv, buildroot installs CMAKE to TARGET just before opencv and then
CMAKE
> > try to configure opencv, meanwhile CMAKE assumes uclibc.
> > I changed  CMAKETARGET  to AUTOTARGETS then buildroot give ./configure
file
> > is not exist.
> > I understand that opencv has a special configuration management system
via
> > CMAKE, and CMAKE has some problems with crosstool-ng toolchain.
> >
>
> Actually opencv is a cmake target, you cannot (easily) change that !
> Cmake is the alternative to the autotools used by opencv.
>
> The problem is that BR generate the output/toolchainfile.cmake that
> describe the toolchain you're currently using,
> But unfortunately, this file is wrong, it does not match your current
> toolchain; it cerlainly one of your previous configuration.
>
> So, removing output/toolchainfile.cmake will make BR regenerate it
> according to the current configuration during the next build.
> Then, when cmake will be called to configure opencv, the
> toolchainfile.cmake passed as argument will be correct.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120215/5e8bae8d/attachment-0002.html>


More information about the buildroot mailing list