All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] OpenCV compilation Error
Date: Tue, 22 Apr 2014 11:41:29 +0300	[thread overview]
Message-ID: <20140422084129.GD4652@tarshish> (raw)
In-Reply-To: <ca096bb26ec0bce2562265ecaab7e80f@paravisioner.com>

Hi Parsa,

On Tue, Apr 22, 2014 at 01:00:17PM +0430, Parsa Panahi wrote:
> I checked opencv to be included in my kernel but When I make the
> buildroot it gives the following error for the opencv package. 
> 
> It seems it didn't find the gcc/cmake cannot compile the package. what's
> wrong and what should I do ? 
> 
> >>> opencv 2.4.2 Configuring

[...]

> Re-run cmake no build system arguments
> -- The CXX compiler identification is unknown
> -- The C compiler identification is unknown
> -- Check for working CXX compiler:
> /home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/bin/-g++

This is a strange name for the g++ compiler. Can you share your .config file?

baruch

> CMake Error: your CXX compiler:
> "/home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/bin/-g++"
> was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or
> name.
> CMake Error: Internal CMake error, TryCompile configure of cmake failed
> -- Check for working CXX compiler:
> /home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/bin/-g++
> -- broken
> CMake Error at
> /home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54
> (message):
>  The C++ compiler
> 
> "/home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/bin/-g++"
>  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:61 (project) 
> 
> CMake Error: your CXX compiler:
> "/home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/bin/-g++"
> was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or
> name.
> CMake Error: your C compiler:
> "/home/parsa/Software/buildroot/buildroot-2014.02/output/host/usr/bin/-gcc"
> was not found. Please set CMAKE_C_COMPILER to a valid compiler path or
> name.
> -- Configuring incomplete, errors occurred!
> See also
> "/home/parsa/Software/buildroot/buildroot-2014.02/output/build/opencv-2.4.2/CMakeFiles/CMakeOutput.log".
> See also
> "/home/parsa/Software/buildroot/buildroot-2014.02/output/build/opencv-2.4.2/CMakeFiles/CMakeError.log".
> make: ***
> [/home/parsa/Software/buildroot/buildroot-2014.02/output/build/opencv-2.4.2/.stamp_configured]
> Error 1 

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2014-04-22  8:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22  8:30 [Buildroot] OpenCV compilation Error Parsa Panahi
2014-04-22  8:41 ` Baruch Siach [this message]
2014-04-22  8:49 ` Samuel Martin
2014-04-22  8:59   ` Parsa Panahi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140422084129.GD4652@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.