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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Contributor
Posts: 48
Registered: ‎11-03-2011
My Device: Playbook
My Carrier: None

Packaging failed:1 Error (DosBox)

Hi,

 

I have compiled DosBox and all of its dependencies and I have no errors however when I perform run as->Blackberry Tablet OS C/C++ Application I receive the following error: 

 

Packaging failed:1
Error: Attribute Entry-Point: file cannot be found in the list of packaged files: dosbox  

 

Can anyone explain what this error means? Any suggestions on how to fix this would be appreciated.

 

Additionally can anyone tell me where to set LD_LIBRARY_PATH?  I am using the Windows NDK.

 

Thank You! 

Contributor
Posts: 48
Registered: ‎11-03-2011
My Device: Playbook
My Carrier: None

Re: Packaging failed:1 Error (DosBox)

i have added LD_LIBRARY_PATH to the projects Environment properties which has solved my issue. I am now able to package using the debug tokens and load to my device and it runs.

I do get some errors when it loads that I have yet to determine what effect they have but at least it is currently running.

SetVideoMode: 640x400 32bpp
I/O warning : failed to load external entity "sdl-controls.xml"
Unable to parse control file sdl-controls.xml
I/O warning : failed to load external entity "sdl-controls.xml"
Unable to parse control file sdl-controls.xml
SetVideoMode: 640x400 32bpp
I/O warning : failed to load external entity "sdl-controls.xml"
Unable to parse control file sdl-controls.xml
I/O warning : failed to load external entity "sdl-controls.xml"
Unable to parse control file sdl-controls.xml

Contributor
Posts: 48
Registered: ‎11-03-2011
My Device: Playbook
My Carrier: None

Re: Packaging failed:1 Error (DosBox)

[ Edited ]

I was able to start some games(simcity, skateordie, warcraft2) and I have input with the keyboard but none of the touch inputs are working so I wonder if touchoverlay is working properly or if the above sdl-countrols errors has something to do with that.

Contributor
Posts: 10
Registered: ‎11-14-2011
My Device: Blackberry Playbook
My Carrier: T-Mobile

Re: Packaging failed:1 Error (DosBox)

I got dosbox running, I also got it to export. However the signed app crashes on startup. I can only get it to run with a debug token. No clue whats going on.

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

Re: Packaging failed:1 Error (DosBox)

Check that you are not trying to write back to "app" folder which is read-only in production mode.

Contributor
Posts: 48
Registered: ‎11-03-2011
My Device: Playbook
My Carrier: None

Re: Packaging failed:1 Error (DosBox)

Is there an error log that we can check on the PB to see what the issue is?  devuser does not have permission to access /var/log so I don't know if there is anything in there or not and I guess even if there is I cannot access it.

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

Re: Packaging failed:1 Error (DosBox)

Can you describe what is "application crashes" means? Do you have a core file? If yes you can do postmortem debugging to see what happened. If app does not start (or hang on startup) - it is another issue