Welcome!

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

Reply
New Contributor
Posts: 8
Registered: ‎10-28-2010
My Device: Not Specified

BB10 SDK - cannot build weatherguesser sample for simulator

Hi,

 

i downloaded and added the weatherguesser sample to my workspace.

Set the active target to "simulator-debug" and hit "build".

command says " nothing to be done for simulator-debug"

make: Nothing to be done for `Simulator-Debug'.

**** Build Finished ****

 I can also see a pathentry warning:

Description    Resource    Path    Location    Type
Invalid project path: Include path not found (C:\bbndk-10.0.4-beta\target\target-override\usr\include\QtCore).    weatherguesser        pathentry    Path Entry Problem

 

I can build somethig when target is set to "device-debug" but as i have no dev alpha device i cannot run.

 

i tried the cookbook (QML) example, too. It runs on the Simulator out of the box.

 

Cu

David

 

Developer
Posts: 21
Registered: ‎09-04-2010
My Device: Q10
My Carrier: T-Mobile

Re: BB10 SDK - cannot build weatherguesser sample for simulator

Hi Knochi,

 

Please verify that you have uncommented make command for simulator configuration. You need to edit main Makefile and remove # before make command for simulator and simulator-debug.

 

BR,

 

Maciek

 

 

Highlighted
BlackBerry Development Advisor
Posts: 143
Registered: ‎03-08-2012
My Device: Z10
My Carrier: Bell

Re: BB10 SDK - cannot build weatherguesser sample for simulator

Good catch paku!

 

Knochi, please confirm that after building for the simulator, it works fine on the simulator and I will contact the Cascades team and notify them that this sample's Makefile needs to be updated.  The simulator was not available when some of these samples were initially created but they should all work on the simulator now.

Developer
Posts: 16,851
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: BB10 SDK - cannot build weatherguesser sample for simulator

RSperanza, i can confirm that uncommenting the commands solves this (for me and my colleagues)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Regular Contributor
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10
My Carrier: blackberry

Re: BB10 SDK - cannot build weatherguesser sample for simulator

hi,

i have the same problem here is my console output

**** Build of configuration Simulator-Debug for project PjsuaBB ****

make Simulator-Debug
make: Nothing to be done for `Simulator-Debug'.

**** Build Finished ****

 

plz help..

BlackBerry Development Advisor
Posts: 143
Registered: ‎03-08-2012
My Device: Z10
My Carrier: Bell

Re: BB10 SDK - cannot build weatherguesser sample for simulator

Hi.

 

Check your Makefile to see if there is a Simulator-Debug target that is commented out.  Otherwise, you may be missing the configuration tag for Simulator-Debug in your bar descriptor and the configuration may be missing from your project.

Regular Contributor
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10
My Carrier: blackberry

Re: BB10 SDK - cannot build weatherguesser sample for simulator

this is my makefile..

 

QMAKE_TARGET = Fiume

PROJECT_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
I18N_DIR := $(PROJECT_DIR)/translations

include mk/cs-base.mk

 

and configuration tag is presented in bar.xml.....so plz tell me how to set a target of simulator in makefile..

 

plz help..