Cannot compile the sample applications with the native SDK BB10

Hello

I downloaded the BB10 (10.0.4) native SDK and the sample application pack. However, some of the sample apps fail to compile (AudioControl and BelligerentBlocks, for example). The target isn't the playbook (Simulator).

I get an error do the following:

make [2]: * [C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7/AudioControl] error 1
make [1]: * [all] error 2
make: * [all] error 2

Looking at the newspapers of generation, I receive the following linker error:

'C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7 '.
C:\bbndk-10.0.4-beta\host\win32\x86\usr\bin\ntoarm-ld: Notes: 'screen_get_window_property_pv' is defined in DSO C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib/libscreen.so.1 try so add to the linker command line
make [1]:

Am I missing something obvious? I'm competely new to makefiles, so if anyone has a suggestion, it would be welcome.

Thank you.

The latest NDK for Playbook is available from: //developer.blackberry.com/native/download/

For waterfalls NDK 10.0.4, follow the instructions in Momentics content/getting started/Getting Started Guide Help/help / install and set up the Simulator

Tags: BlackBerry Developers

Similar Questions

  • Displays a text ("sample application") Logo and Description ("this is a sample application") with different font size

    Hello


    I use the universal theme of apex 5.0 and tries to display logo text ("sample application") and description ("This is a sample application") with different font size.


    Type of logo - text

    Logo - sample application - this is a sample application.

    I want to display the description in the smallest font size, so I changed the Logo below

    Logo - < span style = "" are-size: 3.8 rem; ' > Sample App </span > - < span style = "" Dimensions are: 1.8 rem; "> this is a sample application </span >" "

    But I have following problem.

    1 - the font size for both is the same (why the size is not different?, because I gave the size of different font within the span tag)

    2 - the text of the whole logo whose description is displayed twice.

    -Once in place of the actual logo and

    -the second on the left upper tree navigation. (just below the text of the actual logo)

    I tried to use the logo attribute, but what makes the whole logo & its description with the same size. I need size of different font for both, so it is unusable.

    Attribute logo - style = "" are-size: 3.8 rem; ""

    Really appreaciate help.

    Thank you

    Deepak

    DeepakJ wrote:

    I use the universal theme of apex 5.0 and tries to display the text of the logo ("sample application") and description ("this is a sample application") with different font size.


    Type of logo - text

    Logo - sample application - this is a sample application.

    I want to display the description in the smallest font size, so I changed the Logo below

    Logo - application example - This is an example of application.

    But I have following problem.

    1 - the font size for both is the same (why the size is not different?, because I gave the size of different font within the span tag)

    Cannot reproduce. Using the code above results in different format text as expected. (He looks terrible IMO)

    2 - the text of the whole logo whose description is displayed twice.

    -Once in place of the actual logo and

    -the second on the left upper tree navigation. (just below the text of the actual logo)

    Including HTML tags in text in the 5.0/theme 42 APEX logos results in this behavior. I consider this as a bug as (a) it says nowhere that it is not possible to do so; (b) the text of the logo is not HTML - or attribute-escaped when used in the page.

    See How to avoid to show the logo on the navigation bar to get an explanation of the underlying cause and a workaround to allow the common use cases include the text and a picture in the logo. This particular solution is of no use here. The solution to this problem requires a custom with the theme the theme roller style sheet, which is the preferred way and support to customize and extend the universal theme.

    • Click the Thème Roller on the developer toolbar.
    • Expand the CSS custom section.
    • Add this style custom rule:
    .t-Header-logo a span {
      font-size: 3.8rem;
    }
    .t-Header-logo a span:after {
      font-size: 1.8rem;
      content: " - This is a sample application.";
    }
    
    • The page will automatically preview changes.
    • Click on record under and type a name for the style of custom theme.
    • Topic close Roller
    • I hope that decide that it is not a good idea and cancel the mods.
  • Is it possible to use Video Phone (Cirrus Sample Application) with FMS4?

    Hello

    could someone explain to me please, is possible to use Video Phone (Cirrus Sample Application) with FMS4?

    It seems to be possible as the video source are these text:

    RTMFP (Adobe Cirrus or FMS) server address
    [Bindable] private var connectUrl:String = "rtmfp://p2p.rtmfp.net";

    If possible, where you will find a script server to FMS/opt/adobe/fms/applications/videophone/folder?

    Sorry for the bad English
    Thank you very much!

    the last VideoPhoneLabs uses a new feature of relay short messages on Codename Cirrus.  the semantics is super simple and there is no reason that you could not implement the feature on FMS4.

    the relay function works like this: when peerID a01234... wants to send a short message to peerID b12345... (both connected to Cirrus), peerID... a01234

    NC is the NetConnection

    NC. Call ("Relay", null, "b12345...",... args...);

    the message will come out as a call to the function onRelay of the customer in the NetConnection on b12345:

    nc.client.onRelay ("a01234...",... args...)

    VideoPhoneLabs uses this function to the call signaling.  You should be able to concoct a similar function on the side server for FMS4.

    Otherwise, other that the URI that you use to connect to SGF, the introduction of P2P on FMS function should be identical to Cirrus.

  • Cannot download the latest SDK WebWorks (2.1)

    Cannot download the latest SDK WebWorks (2.1)

    After I click on "Download Blackberry Webworks SDK for Tablet OS for Windows" on the next page

    http://us.BlackBerry.com/developers/Tablet/WebWorks.jsp

    the Web page appears to be stuck, "Blackberry Developer Zone Loading" screen... »

    It seems to navigate between index.jsp and SWDLRegistration... pages

    I tried this from Chrome and IE.

    A little frustrating because I need to install a new debugging since the old token has expired and can not get the latest version of the SDK

    OB.

    YES he got working 2 hours ago. Could not download 2 days - tried different browsers and different PCs / networks at home and work.

    Anyway, finally got it work on Firefox with my disabled Proxy.

    Guess it could be related to the:

    -specific browser

    -the proxy settings

    -security settings (e.g. cookies)

    Tried on different networks (work and home).

    different browsers (Chrome, Opera, IE) without success.

    Not sure if I had turned off before proxy.

    Hope that points you in the right direction.

    . H

  • Cannot use the native sequence of database to insert data through the DbAdapter

    Hello

    I use Oracle Fusion Middleware 12.1.3 (selection of pre-designed developer programs for Oracle VM VirtualBox VMs |) Oracle Technology Network). I'm trying to insert data into the Oracle database coming with the device via a DbAdapter. I want to use the native Oracle sequences for primary keys and have configured appropriatelly the DbAdapter. But in execution, I get the following exception:

    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ('SCOTT'. "ORDERS '." (' ' ID ')

    If I configure the such DbAdapter that do not use sequences, I get the same exception. I'm missing here?

    Kind regards

    Nicolas

    Reading more carefully the exception, in the log file of the server, not just the display of messages in the console of the em, I could note that the ConnectionFactory configured on the outgoing Dbadapter connection used to access the database was incorrect. He was using JavaDb instead of Oracle that I made a mistake of copying and pasting. Correction of this error has resolved the problem.

  • Re: Tecra M5 - cannot use the native screen resolution of my external monito

    Hi, I have a Tecra M5 and just bought a BenQ G2220HD monitor. However, I can't display the native resolution of 1920 x 1080. I guess it's a problem with my video card.

    If so, can anyone please suggest what video card, I need to buy?

    Thank you

    Scott

    Hello!

    I checked the manual of your laptop (it can be downloaded from the Toshiba site) and it seems that the resolution 1920 x 1080 is not taken in charge.
    Here is the list of manual of the supported screen resolutions:
    640 x 480
    800 x 600
    1024 x 768
    1280 x 1024
    1600 x 1200
    1920 x 1440
    2048 x 1536

    I think that should answer your question ;)

    And as Akuma says the graphics card can t be exchanged because it s soldered onto the motherboard. In the area of the FAQ in the forum, I founded this interesting article:
    http://forums.computers.Toshiba-Europe.com/forums/Ann.jspa?annID=13

    Good bye

  • Portege Z30 - A - 18 M - cannot set the native resolution on the external display

    Hello

    I tried to connect two different displays full HD to my Portege Z30 - A - 18 M and I was unable to set the native resolution - maximum resolution I can put for those is 1680 x 1050... I was not so surprised by the first that I had a few problems with a native resolution when I connect to the laptop computer Satellite I had before. But then the same thing happened when I tried the other view.

    I thought that this notebook can handle a higher resolution external... Is there a way to force the native resolution of the external display in Windows 7?
    Thank you!

    Just a question: have you plugged your Portege with HDMI cable and use only the HDMI option?
    With other words went from the desktop to the external display only computer?

    I don't have this machine, but I think you should be able to see the desktop on an external device to the HD full 1920 x 1080 resolution.

  • frmcmp cannot compile the modules containing SQL code that connected to the database

    Hello

    I checked several hundred messages of the forum on the net without finding a solution.

    I have a Linux server with 11.1 WebLogics (11 GR 1 material) and FormsRuntime installed.

    I am logged in as root.

    I put all the environment variables based on the values in default.env.

    In addition, I updated TERM and ORACLE_TERM vt220. And TNS_ADMIN to the location of the sqlnet.ora and tnsnames.ora.

    I compiled a simple .pll containing only the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    a: = 1;

    END;

    command:

    frmcmp_batch module = TESTLIBPLAIN.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBPLAIN.plx compile_all = Yes = Yes = No. batch connection

    result: successful compilation. generated .plx.

    now, I'm trying to compile an another .pll containing just the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    Select 1 in the doubles.

    END;

    command:

    frmcmp_batch module = TESTLIBSQL.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBSQL.plx compile_all = Yes = Yes = No. batch connection

    result: error:

    "

    11 forms (form of the compiler) Version 11.1.1.3.0 (Production)

    Copyright (c) 1982, 2010, Oracle and/or its affiliates.  All rights reserved.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

    With partitioning, OLAP and Data Mining options

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.1.3.0 - Production procedure generator

    Oracle virtual graphics system Version 11.1.1.3.0 (Production)

    Oracle Multimedia Version 11.1.1.3.0 (Production)

    Oracle tools integration Version 11.1.1.2.0 (Production)

    Common tools Oracle area Version 11.1.1.3.0

    Oracle CORE Production 11.1.0.7.0

    Compile the library TESTLIB.

    Invalidate the body TEST procedure...

    Compilation of body TEST procedure...

    ERROR on line 5, column 1 0

    Ignored SQL statement

    Library TESTLIB closing...

    Errors on TEST:

    PL/SQL ERROR on line 5, column 1 0

    Ignored SQL statement

    Could not generate the library.

    FRM-30312: unable to compile the library.

    "

    the two libraries differ by having used SQl commands or not.

    I tried to compile some more complex .pll and .fmb containg the SQL code. I get similar error messages. The messages that I receive for each module are the same, I would get when compiling the module with FormBuilder 9i (Windows) without being connected to the database.

    So my first thought was, this frmcmp_batch is unable to connect to the database.

    BUT:

    From frmcmp_batch with an invalid user, password, or database name not existing (resp. not in tnsnames.ora), results in appropriate error messages (not found TNS, refusal to sign etc.).

    With myuser/mypassword@mydb I don' t get this kind of messages.

    sqlplus myuser/mypassword@mydb works.

    myuser can access all objects in the database mydb.

    mydb tnsping works.

    When I check v$ session on mydb while (!) frmcmp_batch is running, I see that it is in fact a db session, created from myuser: DB-User = myuser, terminal = myappsever, osuser = root, remote process = frmcmp_batch.  And State of the current session of the db is ACTIVE.

    As a result, frmcmp_batch fails with error messages that I expect that when there is no connection to the base, if it is connected!

    Any ideas what could be wrong with my setup?

    Help appreciated.

    Jean

    I found the solution. Seems, fmrcmp 11g can connect to, but compiles not on the 9i database. With the help of a Database 11 g resolves the problem :-)

  • Cannot install the Windows SDK

    I try to install the Windows SDK for Windows 7 with .NET Framework 4 on a DVD.  Installation takes place in short a while then Setup stops and inflicts a cleanup at the.  I get a window "Installation Failed" with a message telling me to "refer to Samples\Setup\HTML\ConfigDetails.htm document for more information."  However, the cleaning process removes this document so it is impossible for me to see.  I saved the log file "SDKSetup_7.0.6918.0.log" but it's over a length of 1000 rows.  I'll be happy to send it to you if you wish!  I have made several attempts to install from the DVD I burned the ISO file downloaded and on the web.  I get the same result every time.  What do you suggest me?

    I found through research more than others have discovered that the SDK will not install anything it either if it finds a later version of the redistributable C running pre-installed libraries.  I had to uninstall the C libraries, then install the SDK and then do a MS update to get the latest patches for the runtime libraries.  Frankly, it seems pretty stupid to me.  At the very least, the installation should give a comprehensible message on why it would not be installed.

    -mbmark

  • Cannot install the FSX SDK says that there is no such thing as the E: drive.

    Original title: games

    I try to install the FSX SDK on a second computer.  He settled not and says that there is no such thing as the E: drive.  There is no windows popping up for me so that it points in the right direction.  It will also not be installed the full Simulator for the same reason.  What, besides to create a new partition on hard drive, I do?

    Hi Todd Moore,

    ·         What version of the operating system is installed on the computer?

    ·         You get the error message?

    ·         Did you do changes on the computer before the show?

    ·         He has already worked?

    Follow these methods.

    Method 1: Try to install the game as administrator.

    How to apply once with a full administrator access token?

    Method 2: Temporarily disable the security software .

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 3: Perform a clean boot to see if there is a conflict of software like the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow step 7 the link to start the computer to a Normal startupmode.

    Method 4: Follow the steps in the article.

    Error message when you install a Microsoft game or a mapping program

    Microsoft games: InstallShield Error Messages

    For reference:

    Solve problems with activation for Microsoft games problems and mapping programs

    Frequently asked questions on how to enable Microsoft Games for Windows, streets and trips and Mappoint

  • Cannot compile the project in CVI 2009 which were previously opened in CVI 2010

    This was extremely irrititating and does not know what the devil.  I have a computer with CVI 2010 and separated with CVI 2009.

    I have a project and the CWS, which was established in 2009.

    I opened and recompiled in CVI 2010 things since then, ensuring that I saved my .uir file in a CVI 2009 version or earlier.

    I usually open the file .prj or .cws on my computer of CVI 2009, but trying to compile and run in debug mode, all of the CVI crashes.  How can I recompile and work with it on my computer of CVI 2009?

    Am I missing something here?  Tehre are no error, warnings or reports of incidents, CVI righteous acts as I hit Alt + F4


  • Cannot set the native resolution

    Hello

    I have Dell Vostro 200 and recently upgraded to Windows 7. Since the upgrade, I can't resolve native resolution for my monitor (1680 x 1050), the above, I can go is 1280 x 800. Before the upgrade and have Windows XP, everything worked fine. I tried to get the driver for video motherboard (I use an integrated video card), but can't seem to find the right driver. Can someone suggest a solution for this?

    Thank you!

    Windows Update has nothing to do with the upgrade of Windows. Please post future questions about your hardware problems in this forum:http://social.answers.microsoft.com/Forums/en-US/w7hardware/threads ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Air for Android 16.0 - cannot use the native extension that include android-support-v4 - ClassNotFoundException

    Hello

    This is my first question here, and I really need help on this problem. We are been struggling for a few days on the following error message: C

    05-12 17:35:29.321: E/AndroidRuntime (26531): FATAL error: IntentService [MCGcmIntentService]

    05-12 17:35:29.321: E/AndroidRuntime (26531): process: air.com.mooncat.androidTest, PID: 26531

    05-12 17:35:29.321: E/AndroidRuntime (26531): java.lang.NoClassDefFoundError: doesn't have a resolution of: generator Landroid/support/v4/app/NotificationCompat$;

    05-12 17:35:29.321: E/AndroidRuntime (26531): to com.mooncat.MCGooglePlayServices.MCGcmIntentService.sendNotification (MCGcmIntentService.j ava: 92)

    05-12 17:35:29.321: E/AndroidRuntime (26531): to com.mooncat.MCGooglePlayServices.MCGcmIntentService.onHandleIntent (MCGcmIntentService.jav one: 48)

    05-12 17:35:29.321: E/AndroidRuntime (26531): to android.app.IntentService$ ServiceHandler.handleMessage (IntentService.java:65)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.Handler.dispatchMessage(Handler.java:102)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.Looper.loop(Looper.java:145)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at android.os.HandlerThread.run(HandlerThread.java:61)

    05-12 17:35:29.321: E/AndroidRuntime (26531): caused by: java.lang.ClassNotFoundException: did not find class ' android.support.v4.app.NotificationCompat$ Builder " on the path: DexPathList [[zip file ' /data/app/air.com.mooncat.androidTest-1/base.apk"],nativeLibraryDirectories=[/data/app/a ir.com.mooncat.androidTest-1/lib/arm, / vendor/lib, / system/lib ']]

    05-12 17:35:29.321: E/AndroidRuntime (26531): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

    05-12 17:35:29.321: E/AndroidRuntime (26531):... 6 more

    05-12 17:35:29.321: E/AndroidRuntime (26531): deleted: java.lang.ClassNotFoundException: android.support.v4.app.NotificationCompat$ Builder

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.Class.classForName (Native Method)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

    05-12 17:35:29.321: E/AndroidRuntime (26531): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

    05-12 17:35:29.321: E/AndroidRuntime (26531):... 7 more

    05-12 17:35:29.321: E/AndroidRuntime (26531): caused by: java.lang.NoClassDefFoundError: class not found using the charger to start class; no batteries available

    My Native Extension use Google Services play and rely on support android v4. Google services functions perfectly works play (for example: I am able to save the token with the google cloud features).

    I've seen this problem in another thread in github and seems that they solve it, but it does not fit my case. It's like in the publication of flash support android v4 is "removed". I say this because I tried to decompile the generated apk and I discovered that sources exist (like com / / thing, com, google, android, gms /...) BUT not the android/support/v4 /... On the contrary, seems that the apk build contains only the android/support/v7/appcompat/R.java (.java because is decompiled). In the .ane file, I have the Android - support.v4.jar and also the contents of platform.xml to/META-INF/ANE/Android-ARM. In the platform.xml I have this:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < platform xmlns =" http://ns.Adobe.com/air/extension/4.0 ">

    < packagedDependencies >

    < packagedDependency >android-support - v4.jar< / packagedDependency >

    < packagedDependency >google-game - services.jar< / packagedDependency >

    < / packagedDependencies >

    < packagedResources >

    < packagedResource >

    com.Google.Android.GMS < packageName > < / packageName >

    < folder_name > google-game-services-res < / FolderName >

    < / packagedResource >

    < / packagedResources >

    < / platform >


    In the eclipse project, I tried to register the library of v4 support in all possible ways, such as addiction, external jar, or kept as a defult library in the libs folder. Nothing works...


    I really can't understand hot to fix this crazy...

    I just discover the problem... just crazy!

    It was caused by the version of android.support.v4.jar. I did a test now, for some reason any magic, using one I had before (I got it, in Eclipse, with a right click on the library project, Android tools > add Media Library, it was not recognized). Then, I tried with the other two different versions of android.support.v4.jar, and this solved the problem as if by magic! Just to say, using the method add the support library, the size of the file android.support.v4 was 1.2 MB, the other two versions were respectively 759 KB and 628 kb, according to their version. I expected that this library has been correctly added by eclipse, also relying on the target of androd in the project.properties, but does not appear. Hope this might help someone.

    PS: like all the other thread suggest, don't forget that the android.support.v4.jar is included in your DONKEY file, and the platform.xml explicitly declare it as .

  • Oracle Forms 10G - cannot compile the form

    Nice day

    I get the following error message every time I try to compile my form:

    Error 103 on line 2, column 1

    Encountered the symbol "METHOD_NAME_HERE" when waiting for him at the following:

    :=. (@%;

    The symbol ': = ' was replaced by 'METHOD_NAME_HERE' continue.

    Please notify.

    Thomas

    Nevermind, I used a backup and the problem did not go out.

  • Cannot start the native BB 10 SDK

    Hello

    After that run C:\bbndk\bbndk.bat the following error appears:

    ---------------------------
    QDE
    ---------------------------
    Executable Launcher Qde did not find his
    shared library of companion.

    ---------------------------

    I would like ideas.

    Problem has been resolved in instalation manual.

Maybe you are looking for