mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Tim Sander <tim@krieglstein.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] raspberry pi distrokit & cmake question
Date: Wed, 20 Nov 2013 00:21:09 +0100	[thread overview]
Message-ID: <11084087.6xZikGZSvc@hydra> (raw)

Hi 

As one of my private tinkering projects I have a rather nice distrokit 
based ptxdist rpi repository on:

https://gitorious.org/ptxdist-raspberry-pi

I thought it might be of interest some of you.

It has pretty recent software like qt5.2-beta and opencv. 
Its based on distrokit but i kicked out the submodules and integrated it into 
one repository as i found it much easier to use.

No i would like to compile the sample which comes with raspicam:
CMakeLists.txt:

cmake_minimum_required (VERSION 2.8) 
project (raspicam_test)
find_package(raspicam REQUIRED)
add_executable (simpletest_raspicam simpletest_raspicam.cpp)  
target_link_libraries (simpletest_raspicam ${raspicam_LIBS})

But cmake tells me that:
Could not find a package configuration file provided by "raspicam" with any
of the following names: raspicamConfig.cmake

find -name raspicamConfig.cmake
./platform-
raspberrypi/packages/raspicam-0.0.3/usr/lib/cmake/raspicamConfig.cmake
./platform-raspberrypi/build-target/raspicam-0.0.3-build/raspicamConfig.cmake
./platform-raspberrypi/sysroot-target/usr/lib/cmake/raspicamConfig.cmake

Especally the last line looks like a reasonable place to put such a file. 
But still with the rules in 
raspicamtest.make fail to locate the raspicamConfig.cmake file.
RASPICAMTEST_CONF_TOOL  := cmake
RASPICAMTEST_CONF_OPT   := $(CROSS_CMAKE_USR)

Any idea why this fails?

Best regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2013-11-19 23:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 23:21 Tim Sander [this message]
2013-11-20  7:53 ` Michael Olbrich
2013-11-20 21:18   ` Tim Sander
2013-11-21  5:52     ` Michael Olbrich

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=11084087.6xZikGZSvc@hydra \
    --to=tim@krieglstein.org \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox