mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] raspberry pi distrokit & cmake question
@ 2013-11-19 23:21 Tim Sander
  2013-11-20  7:53 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Sander @ 2013-11-19 23:21 UTC (permalink / raw)
  To: ptxdist

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

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

end of thread, other threads:[~2013-11-21  5:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 23:21 [ptxdist] raspberry pi distrokit & cmake question Tim Sander
2013-11-20  7:53 ` Michael Olbrich
2013-11-20 21:18   ` Tim Sander
2013-11-21  5:52     ` Michael Olbrich

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