Re: [yocto] bitbake with cmake recipe

2013-08-26 Thread Stefan Herbrechtsmeier
Am 26.08.2013 14:42, schrieb Zafrullah Syed: Hi Stefan, Hi all, My build was successful with CMake. I made some changes to my recipe: DESCRIPTION = "cameracapture application" SECTION = "examples" LICENSE = "CLOSED" PR = "r0" DEPENDS = "opencv" SRC_URI = "git://github.com/zafrullahsyed/camera

Re: [yocto] bitbake with cmake recipe

2013-08-26 Thread Zafrullah Syed
Hi Stefan, Hi all, My build was successful with CMake. I made some changes to my recipe: DESCRIPTION = "cameracapture application" SECTION = "examples" LICENSE = "CLOSED" PR = "r0" DEPENDS = "opencv" SRC_URI = "git://github.com/zafrullahsyed/cameracapture.git ;protocol=https;tag=v0.1" S = "${W

Re: [yocto] bitbake with cmake recipe

2013-08-25 Thread Stefan Herbrechtsmeier
Am 25.08.2013 17:03, schrieb Zafrullah Syed: Hi Stefan, I updated my recipe: DESCRIPTION = "cameracapture application" SECTION = "examples" LICENSE = "CLOSED" PR = "r0" DEPENDS = "opencv" SRC_URI = "git://github.com/zafrullahsyed/cameracapture.git

Re: [yocto] bitbake with cmake recipe

2013-08-25 Thread Zafrullah Syed
Hi Stefan, I updated my recipe: DESCRIPTION = "cameracapture application" SECTION = "examples" LICENSE = "CLOSED" PR = "r0" DEPENDS = "opencv" SRC_URI = "git://github.com/zafrullahsyed/cameracapture.git ;protocol=https;tag=v0.1" S = "${WORKDIR}/git" inherit pkgconfig cmake I have my source fi

Re: [yocto] bitbake with cmake recipe

2013-08-23 Thread Stefan Herbrechtsmeier
Am 22.08.2013 20:13, schrieb Zafrullah Syed: Hi all, I am newbie and I am learning stuff. I have a c++ code and CMakeLists.txt on Github which needs to be run with Cmake. I am trying to get that code embed into my build using my own recipe. This is my first experience with Cmake. I have no cl

Re: [yocto] bitbake with cmake recipe

2013-08-23 Thread Lukas Bulwahn
Everytime I build my system I get this error: ERROR: Function failed: do_configure (see /home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camera capture-0.1-r0/temp/log.do_configure.1410 for further information) ERROR: Logfile of failure stored in: /home/siguser/yocto/build/tm

Re: [yocto] bitbake with cmake recipe

2013-08-22 Thread Zafrullah Syed
Hi all, I am newbie and I am learning stuff. I have a c++ code and CMakeLists.txt on Github which needs to be run with Cmake. I am trying to get that code embed into my build using my own recipe. This is my first experience with Cmake. I have no clue what should I write in my recipe. My recipe i

Re: [yocto] bitbake with cmake recipe

2013-08-22 Thread Philip Balister
On 08/22/2013 10:14 AM, Burton, Ross wrote: > On 22 August 2013 14:40, Zafrullah Syed wrote: >> Hi Ross, >> >> Is this the correct way to write my recipe with cmake? > > You should be able to remove your do_configure(). This recipe uses cmake: http://git.openembedded.org/meta-openembedded/tree/

Re: [yocto] bitbake with cmake recipe

2013-08-22 Thread Burton, Ross
On 22 August 2013 14:40, Zafrullah Syed wrote: > Hi Ross, > > Is this the correct way to write my recipe with cmake? You should be able to remove your do_configure(). Ross ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/lis

Re: [yocto] bitbake with cmake recipe

2013-08-22 Thread Zafrullah Syed
Hi Ross, Is this the correct way to write my recipe with cmake? DESCRIPTION = "cameracapture application" SECTION = "examples" LICENSE = "CLOSED" PR = "r0" DEPENDS += "opencv" SRC_URI = "git:// https://github.com/zafrullahsyed/cameracapture.git;protocol=https;tag=v0.1"; EXTRA_OECMAKE="" do_co

Re: [yocto] bitbake with cmake recipe

2013-08-22 Thread Zafrullah Syed
Hi, My recipe is: http://pastebin.com/xiFdYHNr Is the cmake recipe will be in this location? /home/siguser/yocto/poky/meta-openembedded/meta-oe/recipes-support/opencv On Thu, Aug 22, 2013 at 12:31 PM, Burton, Ross wrote: > On 22 August 2013 11:30, Zafrullah Syed wrote: > > I am trying to int

Re: [yocto] bitbake with cmake recipe

2013-08-22 Thread Burton, Ross
On 22 August 2013 11:30, Zafrullah Syed wrote: > I am trying to integrate my own package which should use cmake. > I regularly use do_compile() and do_install(). Pasting your recipe would be useful, but there's a cmake class you can simply inherit that should just work. Ross