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
jlin2001
Posts: 2
Registered: ‎07-28-2013
My Device: Z10

I cannot find bar file on HelloOggVorbis from Cascades-Community-Samples-master

Hi,

      I follow the step:

Running the example:

1. Download the source code
2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
3. Expand General, and select Existing Projects into Workspace. Click Next.
4. Browse to the location of the source code project, and then click OK.
5. The sample project should display in the the Projects section.
Click Finish to import the project into your workspace.
6. In the Project Explorer pane, Right-click the the project and select Build Project.
7. In the Project Explorer pane, Right-click the the project and select
Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your device if not you might
have to set up your environment:
http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html

 

But I cannot find any bar file on my project.

Does anybody know this issue?

 

 

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: I cannot find bar file on HelloOggVorbis from Cascades-Community-Samples-master

Have you build the project successfully?
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
New Contributor
jlin2001
Posts: 2
Registered: ‎07-28-2013
My Device: Z10

Re: I cannot find bar file on HelloOggVorbis from Cascades-Community-Samples-master

Yes, I build the project successfully.I just find libvorbis.a on my project.

The messages as below:

 

**** Build of configuration Default for project HelloOggVorbis ****

make all
C:/bbndk/host_10_1_0_132/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile HelloOggVorbis.pro CONFIG+=device
C:/bbndk/host_10_1_0_132/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile HelloOggVorbis.pro CONFIG+=simulator
make -C ./arm -f Makefile all
make[1]: Entering directory `D:/bdk10/HelloOggVorbis/arm'
make -f Makefile.Release all
make[2]: Entering directory `D:/bdk10/HelloOggVorbis/arm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `D:/bdk10/HelloOggVorbis/arm'
make -f Makefile.Debug all
make[2]: Entering directory `D:/bdk10/HelloOggVorbis/arm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `D:/bdk10/HelloOggVorbis/arm'
make[1]: Leaving directory `D:/bdk10/HelloOggVorbis/arm'
make -C ./x86 -f Makefile all
make[1]: Entering directory `D:/bdk10/HelloOggVorbis/x86'
make -f Makefile.Release all
make[2]: Entering directory `D:/bdk10/HelloOggVorbis/x86'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `D:/bdk10/HelloOggVorbis/x86'
make -f Makefile.Debug all
make[2]: Entering directory `D:/bdk10/HelloOggVorbis/x86'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `D:/bdk10/HelloOggVorbis/x86'
make[1]: Leaving directory `D:/bdk10/HelloOggVorbis/x86'

**** Build Finished ****

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: I cannot find bar file on HelloOggVorbis from Cascades-Community-Samples-master

If I remember correctly, .bar file are built only in release mode. In Momentics IDE open your bar-descriptor.xml file on the first tab in the upper right corner you will find a button to build release .bar package. In debug mode you can simply click on launch button to install and launch your app on device/simulator without creating .bar package.

-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter