08-20-2012 05:36 AM
HI. All
i am a newbie in cascades .
After i installed the mac osx ndk (cascades for blackberry 10 beta 2), i have tried to set up the ide.
when i right-click the project and select the build-configurations. There is only one option: default.
No simulator-debug option.
So, when i try to run the app, it always got error 8.
How to fix it.
thanks very much.
Solved! Go to Solution.
08-20-2012 10:42 AM
anyone can help me?
08-20-2012 10:46 AM
Hi there,
What project are you creating? This may impact the possible build configurations available;
For Cascades, you should be creating:
New Project (Wizard) >BlackBerry Cascades > BlackBerry Cascades C++ Project
Martin
08-20-2012 10:59 AM
HI. mgoulet
Thanks very much.
I just download the sample code from developer website. Like bucketlist, cascadescockbook.
and import them to ide.
then, it always got a error message is :
Downloading and staring the application has encountered a problem
Unable to determine returned PID from launch.
and in the simulator , got a notification message is :
unable to start bucketlist due to a error 8
all of them got this problem.
08-20-2012 11:07 AM
Hi. mgoulet
when i create a new project. the ide is working .
build-configuration got simulator-debug option.
And i compare the new project's bar-descriptor.xml and bucketlist's bar-descriptor.xml
i found, the bucketlist (smaple code from developer site) only have "default" and "all configurations" .
Don't have "Device-Debug" "Device-release" "Simulator-debug"
08-20-2012 11:08 AM
Ok so you are running imported samples.
It is odd that there is only the default build configurations. Can you confirm that when you right click on the project in your "Project Explorer" and cloose "Build configurations" > "Set Active" there is only the "Default" option? Have you made any changes to your installed IDe prior to importing your sample projects?
08-20-2012 11:13 AM
i don't think i have change anything when i import the project.
I just click the file/import
then select the" existing code as blackberry c/c++ makefile project" to import the code.
08-20-2012 11:15 AM
Ok, reimport the project using the following options:
Import -> General -> "Existing Projects into Workspace"
instead of 'as a makefile project' and let me know if this works
Martin
08-20-2012 11:24 AM
Thanks very much . mgoulet
it's working.