Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] opencv with glibc
@ 2012-02-16  6:46 Ozgun
  2012-02-20  9:11 ` Yegor Yefremov
  0 siblings, 1 reply; 11+ messages in thread
From: Ozgun @ 2012-02-16  6:46 UTC (permalink / raw)
  To: buildroot

I download my BR from standard tree.
My problem solved using "make distclean" instead of "make clean"

thanks




Date: Wed, 15 Feb 2012 22:26:03 +0100
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Ozgun <ozgun.gunay@gmail.com>
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] opencv with glibc
Message-ID: <20120215222603.6754b8e6@skate
>
Content-Type: text/plain; charset=UTF-8

Le Wed, 15 Feb 2012 21:35:25 +0200,
Ozgun <ozgun.gunay@gmail.com> a ?crit :

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

Which version of Buildroot are you using? Are you doing out-of-tree
build (if so, then the toolchainfile.cmake file is in the output
directory you selected with O=, not in output/).

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120216/d7f30788/attachment-0001.html>

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [Buildroot] opencv with glibc
@ 2012-02-15 15:35 Ozgun
  2012-02-15 15:52 ` Thomas Petazzoni
  2012-02-15 16:58 ` Ozgun
  0 siblings, 2 replies; 11+ messages in thread
From: Ozgun @ 2012-02-15 15:35 UTC (permalink / raw)
  To: buildroot

I'm using ct-ng toolchain and glibc library. when compiling opencv gives
the following uclibc error;



>>> opencv 2.3.1a Patching package//opencv
>>> opencv 2.3.1a Configuring
(cd /usr/src/br/buildroot/output/build/opencv-2.3.1a/ && rm -f
CMakeCache.txt &&  /usr/src/br/buildroot/output/host/usr/bin/cmake
/usr/src/br/buildroot/output/build/opencv-2.3.1a/
-DCMAKE_TOOLCHAIN_FILE="/usr/src/br/buildroot/output/toolchainfile.cmake"
-DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=OFF
-DBUILD_EXAMPLES=OFF -DBUILD_PACKAGE=OFF -DBUILD_TESTS=OFF
-DBUILD_SHARED_LIBS=ON -DINSTALL_C_EXAMPLES=OFF
-DINSTALL_PYTHON_EXAMPLES=OFF -DOPENCV_BUILD_3RDPARTY_LIBS=OFF
-DENABLE_PROFILING=OFF -DCMAKE_SKIP_RPATH=OFF -DUSE_FAST_MATH=ON
-DUSE_OMIT_FRAME_POINTER=ON -DUSE_PRECOMPILED_HEADERS=OFF -DWITH_1394=OFF
-DWITH_CUDA=OFF -DWITH_EIGEN=OFF -DWITH_IPP=OFF -DWITH_JASPER=OFF
-DWITH_OPENEXR=OFF -DWITH_OPENNI=OFF -DWITH_PVAPI=OFF -DWITH_TBB=OFF
-DWITH_UNICAP=OFF -DWITH_XINE=OFF -DBUILD_NEW_PYTHON_SUPPORT=OFF
-DWITH_FFMPEG=OFF -DWITH_GSTREAMER=OFF -DWITH_GTK=OFF -DWITH_JPEG=OFF
-DWITH_PNG=OFF -DWITH_QT=ON -DWITH_QT_OPENGL=OFF -DWITH_TIFF=OFF
-DWITH_V4L=ON )
Re-run cmake no build system arguments
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler:
/usr/src/br/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc
CMake Error: your C compiler:
"/usr/src/br/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc"
was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or
name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working C compiler:
/usr/src/br/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc --
broken
CMake Error at
/usr/src/br/buildroot/output/host/usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
(MESSAGE):
  The C compiler
  "/usr/src/br/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc"
  is not able to compile a simple test program.

  It fails with the following output:





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


CMake Error: your C compiler:
"/usr/src/br/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-gcc"
was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or
name.
CMake Error: your CXX compiler:
"/usr/src/br/buildroot/output/host/usr/bin/i686-unknown-linux-uclibc-g++"
was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or
name.
-- Configuring incomplete, errors occurred!
make: ***
[/usr/src/br/buildroot/output/build/opencv-2.3.1a/.stamp_configured] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120215/ed828bd0/attachment.html>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-02-20 16:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16  6:46 [Buildroot] opencv with glibc Ozgun
2012-02-20  9:11 ` Yegor Yefremov
2012-02-20 16:56   ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2012-02-15 15:35 Ozgun
2012-02-15 15:52 ` Thomas Petazzoni
2012-02-15 16:58 ` Ozgun
2012-02-15 17:20   ` Samuel Martin
2012-02-15 17:50     ` Ozgun
2012-02-15 18:15       ` Samuel Martin
2012-02-15 19:35         ` Ozgun
2012-02-15 21:26           ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox