mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] raspberry pi distrokit & cmake question
Date: Wed, 20 Nov 2013 08:53:21 +0100	[thread overview]
Message-ID: <20131120075321.GM31417@pengutronix.de> (raw)
In-Reply-To: <11084087.6xZikGZSvc@hydra>

Hi,

On Wed, Nov 20, 2013 at 12:21:09AM +0100, Tim Sander wrote:
> 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)

I think it should work. Try with more debugging: start ptxdist with "-" and
add "--trace" (I think) to RASPICAMTEST_CONF_OPT. cmake should tell you
more about what it's doing.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-11-20  7:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 23:21 Tim Sander
2013-11-20  7:53 ` Michael Olbrich [this message]
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=20131120075321.GM31417@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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