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: 88
Registered: ‎05-24-2009
My Device: Not Specified

C++ Project - Entry Point problem



I was trying out the NDK for PB and ran into a problem when trying to create a new C++ project. I setup the project and ported a sample EGl application into C++ (added all the libraries etc...), now when i try to build the C++ project i don;t get compiler errors, however a binary is not built and i get that Derived asset "test" is not yet built in the manifest - ie. there is no executable file only object files that have been created.


Is there a special entry point for a C++ application for the PB that needs to be setup as opposed to C? Or is there a mechanism to define an EP so that the file is created? 4


The error line that is pointed out in the manifest are the following:

<asset path="Device-Debug/rtest" entry="true" type="Qnx/Elf">test</asset>


Note that this only happens when i setup a c++ project, C project run through fine. Did i miss something in the build settings maybe?


I am using a managed project, as opposed to makefiles also.


Thanks in advance.

BlackBerry Development Advisor
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: C++ Project - Entry Point problem

I don't know what platform are you running on but "test" is not a good binary name, because there is system binary with the same name (for example on linux and mac). try to rename you project. Also check console log, 

if it actually does not build it will show errors there.

New Contributor
Posts: 7
Registered: ‎09-25-2012
My Device: Playbook 2.1
My Carrier: Claro

Re: C++ Project - Entry Point problem

We are porting our game in cocos2d-x from ipad to playbook,

we participated on a jam and all the process of coding was smoothing,

but when it came to port the game nothing seems to work.

It simply does not work,
We've tried everything...
But the projects doesnt build...
Theres a lot of information, no compiler error, but no binaries are generated (we set a active build info, configured device, built every single project, even the binaries are on the folders it says is missing)

A info message saying ("HelloCpp was not yet build") keeps showing. And also for our game project.

About 4 weeks ago we didnt had this problem.

Thanks if anyone knows how to help.

The message is as follow:

Error in final launch sequence
Failed to execute MI command:
file-exec-and-symbols C:/.../HelloCpp/proj.blackberry/Device-Debug/HelloCpp
Error message from debugger back end:
C:/.../HelloCpp/proj.blackberry/Device-Debug/HelloCpp: No such file or directory.
C:/.../HelloCpp/proj.blackberry/Device-Debug/HelloCpp: No such file or directory. <- this file exists, no compiler error, a lot of information saying it wasnt built.



THis question is pretty valid and mus be some configuration we are missing, please help.

Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: C++ Project - Entry Point problem

<asset path="Device-Debug/rtest" entry="true" type="Qnx/Elf">test</asset>

Why "Device-Debug/rtest" not "Device-Debug/test"?

And this line is not actually an error, it's just a line from configuration file bar-descriptor.xml, try changing that.