Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 163
Registered: ‎01-30-2013
My Device: Blackberry 10 Simulator

errors compiling cookbook sample

[ Edited ]



I downloaded cookbook sample (C++) but have problems

compiling it. http://developer.blackberry.com/cascades/sampleapps/


Here are (some of) there errors I get:


 Description    Resource    Path    Location    Type
undefined reference to `ColorRecipe::ColorRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 356    C/C++ Problem
undefined reference to `CustomDialogRecipe::CustomDialogRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 376    C/C++ Problem
undefined reference to `DateTimePickerRecipe: :d ateTimePickerRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 364    C/C++ Problem
undefined reference to `DockLayoutRecipe: :d ockLayoutRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 354    C/C++ Problem
undefined reference to `DropDownRecipe: :d ropDownRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 366    C/C++ Problem
undefined reference to `GestureHandlerRecipe::GestureHandlerRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 378    C/C++ Problem
undefined reference to `ImagePaintRecipe::ImagePaintRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 380    C/C++ Problem
undefined reference to `ImageRecipe::ImageRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 340    C/C++ Problem
undefined reference to `InputRecipe::InputRecipe(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 350    C/C++ Problem
undefined reference to `Intro::Intro(bb::cascades::Container*)'    cascadescookbookapp.cpp    /cascadescookbookcpp/src    line 338    C/C++ Problem

These errors were generated by cookbook sample for Gold SDK.


Below are errors generated for cookbook sample for 10.1 beta SDK:


Description    Resource    Path    Location    Type
fatal error: bb/cascades/Shortcut: No such file or directory    shortcutrecipe.cpp    /cascadescookbookcpp/src/recipes    line 26    C/C++ Problem
make: *** [Device-Debug] Error 2    cascadescookbookcpp             C/C++ Problem
make[1]: *** [debug] Error 2    cascadescookbookcpp             C/C++ Problem
make[2]: *** [o.le-v7-g/.obj/shortcutrecipe.o] Error 1    cascadescookbookcpp             C/C++ Problem


Can anyone help? Maybe it is the SDK version? I am not sure I have gold or 10.1 beta (but in any case both report errors). Thank you.


Posts: 257
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: SiMobil

Re: errors compiling cookbook sample

Try 10.1, I had similar issue and i saw some stuff from coockbook only came with 10.1!

Posts: 196
Registered: ‎03-04-2013
My Device: BB Z10
My Carrier: Rogers

Re: errors compiling cookbook sample

[ Edited ]

Hey there...


You need to move the recipes folder into the src folder...