From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lvps176-28-13-145.dedicated.hosteurope.de ([176.28.13.145]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1ViuaT-0006rB-Or for ptxdist@pengutronix.de; Wed, 20 Nov 2013 00:20:06 +0100 Received: from hydra.localnet (p5DDCEF91.dip0.t-ipconnect.de [93.220.239.145]) by lvps176-28-13-145.dedicated.hosteurope.de (Postfix) with ESMTPSA id 5F320A8A4019 for ; Wed, 20 Nov 2013 00:20:04 +0100 (CET) From: Tim Sander Date: Wed, 20 Nov 2013 00:21:09 +0100 Message-ID: <11084087.6xZikGZSvc@hydra> MIME-Version: 1.0 Subject: [ptxdist] raspberry pi distrokit & cmake question Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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