The sample application BB10 NDK Gamepad of build error

Hi all

I got this error during sample application the build Gamepad:

/Users/MyMac/BB10/Gamepad/main.c:322:34: error: 'SCREEN_DPAD_UP_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:322:34: note: each undeclared identifier is reported only once for each function it appears in
/Users/MyMac/BB10/Gamepad/main.c:331:34: error: 'SCREEN_DPAD_DOWN_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:340:34: error: 'SCREEN_DPAD_LEFT_GAME_BUTTON' undeclared (first use in this function)
make[2]: Leaving directory `/Users/MyMac/BB10/Gamepad/arm/o.le-v7'
make[1]: Leaving directory `/Users/MyMac/BB10/Gamepad/arm'
/Users/MyMac/BB10/Gamepad/main.c:349:34: error: 'SCREEN_DPAD_RIGHT_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:355:34: error: 'SCREEN_A_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:360:34: error: 'SCREEN_B_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:365:34: error: 'SCREEN_X_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:370:34: error: 'SCREEN_Y_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:376:34: error: 'SCREEN_L1_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:381:34: error: 'SCREEN_R1_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:387:35: error: 'SCREEN_MENU1_GAME_BUTTON' undeclared (first use in this function)
/Users/MyMac/BB10/Gamepad/main.c:392:35: error: 'SCREEN_MENU2_GAME_BUTTON' undeclared (first use in this function)
cc: /Applications/bbndk/host_10_0_9_284/darwin/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1 error 1
make[2]: *** [main.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

Appreciate any help

Thank you.

Make sure that you use the latest NDK (10.0.9.1673). You will get these errors with previous versions of NDK.

Tags: BlackBerry Developers

Similar Questions

  • 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

  • Build and deploy the sample application Rssnews

    Hi all

    I'm trying to build and deploy the sample application for my Dev Alpha a. Rssnews.

    I use the 4 SDK beta

    He seems to build ok, but when it tries to install it on the Dev Alpha I get the following error

    Deployment Failed: Info: Sending request: Install and Launch
    Info: Action: Install and Launch
    Info: Debug native: on
    Info: File size: 238114
    Info: Installing com.example.bb10samples.data.rssnews.testDev_ata_rssnewsc73a2b56...
    Info: Processing 238114 bytes
    actual_dname::
    actual_id::
    actual_version::
    result::failure 821 Application-Requires-System: unrecognized system name 'BlackBerry 10'
    

    I also have an appliance version mismatch error but I belive it can be ignored.

    Thank you very much

    Solved this problem by updating the software Dev Alpha at 10.0.9.1103.

  • Cannot deploy the sample applications of the MAF

    I try to install some of the sample applications on the MAF ( jdev_install/jdeveloper/jdev/extensions/oracle.maf/Samples Directory) on my Android (version 4.4.2) phone without success.

    I use jDev build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

    If I have a deployment on an Android package using default deployment profiles, I get the following error:

    "Impossible to deploy the profile because the project 'ViewController.jpr' is not a MAF ApplicationController or ViewController project. (oracle.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer).

    I searched this error in this forum and found this:

    MAF: Build Error "adfmf - not found feature.xml.

    Then I updated the patch of the MAF, and I still get the same error.

    I then fiddled around a bit dependencies of properties/deployment/Android1/Application Profile

    Now I can deploy on my phone, but the application hangs on the splash screen.  Can anyone advise on what things should be checked in the profile dependencies?

    Profile Dependencies.JPG

    OK, I finally understood what is the question.

    After installing the patch of the MAF, jDev so ask to restart your computer, but for some reason any on my computer this can last from a few minutes to a few days!  The first time that I installed the patch, after a reboot, through the Assistant jDev update request I clicked on OK and jDev stop and waited so he could restart. 5 minutes later, it started so I thought I'd launch myself, so I did.  But what I didn't know that in my list of system processes, jDev was still working (perhaps even install the patch).  Here's a screenshot of my system process (that I took during my third attempt, since I suspect something):

    Thus, while this process jDev was hanging out, I started jDev myself and ended up having two jDev processes running.  One that I started manually didn't have the MAF Patch applied, but I thought he did it because I just went through the Update Wizard.

    And so all the trouble, I have tried to deploy the sample applications of the MAF.

    I didn't knew that this much later because a few days later, a splash jDev screen suddenly arisen WHILE I was USING jDev, I knew was because the first time, install the patch jDev prompted to restart the computer.

    Only on the third time reinstall jDev and the patch of the MAF has waited more jDev to restart, and when he finally did restart on its own (3 minutes later) that I checked my installation of the fix for the MAF and found that it was installing successfully.

    I then tried to deploy the sample applications of the MAF again and this time it worked.

    So, in summary, because he took if jDev long reboot after installation of the patch of the CRG, I advanced and started jDev myself, but this instance of jDev, I started upward has not installed the fix of the MAF, and so the trouble I had to deploy the samples of the MAF.

    I hope that something can be improved here so that other users the same tracks as I do not work in the same problems in the future.  It can be as simple as a message before reboot in saying the user to wait jDev restart on its own, otherwise their patch will not install.

    Thanks for your time.

  • Cannot install the sample applications manually

    Hello

    I'm having a time difficult installation SDK push sample applications on a remote computer. I try a manual install of Tomcat. The machine runs on Linux Red Hat.

    The error I get is:

    [org.springframework.web.context.ContextLoader.initWebApplicationContext()] - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registerListeners' defined in class path resource [sample-push-initiator-context.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
    

    It looks like a problem with the JDBC connector, but I do not know how to solve. Among the things that I've done are:

    • Generate the database manually.
    • Fill the PushSDK.properties with the database and JDBC information. Copy this file in each directory WEB-INF/classes of applications examples of
    • Copy the mysql connector jar file in the directory WEB-INF/lib of each application
    • Edit the file app.properties with the information from my BB (app id, base url PGG etc.). Copied in the directory WEB-INF/classes of applications. I did the same thing with suspension - context.xml and app - context.xml
    • Edit conf/server.xml of Tomcat to set the http and https ports and the UTF-8 encoding for the request URL query component. In fact, I have only port 8080 available in the machine and I have configured HTTPS to work.
    • A self-signed certificate and shows its location in the conf/server.xml file. Indicates its location in conf/server.xml
    • Edit bin/catalina.sh to set the JAVA_OPTS UTF-8 encoding

    The initial Tomcat page seem to be working in https://machine_ip:8080.

    But there are errors with the BB apps:

    • https://machine_ip:8080 / sample-push-initiator returns 404
    • https://machine_ip:8080 / pushsdk returns 404
    • https://machine_ip:8080 / debug-Portal opens the Debug Portal, but displays the following message:
    Internal Server Error: 
    
    Sorry, we are unable to properly process your request at this time. Please contact a system administrator to investigate the problem by examining the logs.
    

    Does anyone have an idea of what's going on? I would be very help appretiate

    Best regards

    Maria

    Hi all!

    Finally, I could solve this problem. MySQL was not allowing the JDBC connection. I have

    delete the line:

    skip-networking
    

    in MySQL configuration file (/ etc/my.cnf) and now the sample applications seem to work ok.

    I still cannot subscribe to the good customer, but that's another story...

    Kind regards

    Maria

  • Confusion in the sample application on the client side

    Hello

    I write a client side app to push BB. I found an example of code in Push_applications_for_the_BlackBerry_Enterprise_Server-Development_Guide--915141-1116110032-001-US.pdf. There is no mention of App ID, URL of the bps or initiator push URL of the application of this code. I also checked the sample application provided with the SDK of the Push Service. He got all these things.

    I'm confused, that these things are necessary or not. Also, I read somewhere that the customer must register with the initiator of push, it's a mandatory step?

    Code who should I implement, for client push, working with the infrastructure based BB server push?

    If you use the BlackBerry Push infrastructure to push, then you will need to have the unit register / subscribe in order to receive the shoot.

  • Error when installing the sample application Showcase in APEX 5.0.2 @ XE geolocation

    Hello

    I'm new to APEX and want to learn something related to the geolocation thing, APEX 5.0.2 running on XE, when I tried to install the sample application geolocation showcase, I got the following error:

    Error on line 22: PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' must be declared

    After some research, I found that the package eba_spatial_sample was not created correctly, and it gave me error when I try to compile the package:

    Compilation failed, line 22 (01: 37:34)

    PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' should be omitted declaredCompilation, line 22 (01: 37:34)

    PL/SQL: statement ignoredCompilation failed, line 65 (01: 37:34)

    PLS-00201: identifier ' ORDIMAGE. GETMETADATA' should be omitted declaredCompilation, line 65 (01: 37:34)

    PL/SQL: Statement ignored


    Seems to be something related to the ORDIMAGE object, everyone has an idea about that?


    Thank you much in advance.

    Dong

    Jerry Dong wrote:

    I'm new to APEX and want to learn something related to the geolocation thing, APEX 5.0.2 running on XE, when I tried to install the sample application geolocation showcase, I got the following error:

    Error on line 22: PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' must be declared

    After some research, I found that the package eba_spatial_sample was not created correctly, and it gave me error when I try to compile the package:

    Compilation failure, line 22 (01: 37:34)

    PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' must be declaredCompilation failed, line 22 (01: 37:34)

    PL/SQL: Statement ignoredCompilation failed, 65 line (01: 37:34)

    PLS-00201: identifier ' ORDIMAGE. GETMETADATA' must be declaredCompilation failed, line 65 (01: 37:34)

    PL/SQL: Statement ignored

    Seems to be something related to the ORDIMAGE object, everyone has an idea about that?

    ORDImage is an Oracle's Multimedia component. Oracle multimedia is not included in 11 g Express Edition...

    Upgrade to the Standard or Enterprise edition if you need multimedia features or features depend on.

    The Oracle index , however, is available in all editions of the database. See the database Express Edition 2 day more Locator Developer Guide for a tutorial and examples.

  • where to find data to run the sample applications

    Hello

    I loaded the sample applications, but there is no data

    where is it possible to find a script for LOAS in demonstration base data

    FOR EXAMPLE: to use the sample application tree, we need data in EBA_DEMO_TREE_PROJECTS

    concerning

    user_fr_cg63 wrote:

    I loaded the sample applications, but there is no data

    where is it possible to find a script for LOAS in demonstration base data

    FOR EXAMPLE: to use the sample application tree, we need data in EBA_DEMO_TREE_PROJECTS

    Data should be created automatically on the installation of the application using the function to support objects .

    If I install the application of tree-sample on apex.oracle.com then 9 lines are created in EBA_DEMO_TREE_PROJECTS.

    Lack of data suggests that there was a problem during the installation. You can check this by clicking on the icon to support objects on the application home page, then install view summary in the taskbar on the right.

  • How to initialize the sample application in Planning 11.1.2.2

    Hello

    After creating the sample application in Planning 11.1.2.2, how to initialize it.

    Connect to the application, the Administration > Application > manage applications
    Select the application, click Action > initialization.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Problem running the sample Application after installation patch set 4.0.2.00.07

    We just applied the fix 4.0.2.00.07 on our environment to TEST APEX4.0.
    Now, I can not run the sample application. "When I run the application, log in using either the administrator or the user of demo with the #lower_case_workspace_name #", the browser generates the following error message:

    ORA-06550: line 2, column 8: PLS-00201: identifier 'CUSTOM_AUTH' must be declared ORA-06550: line 2, column 1: PL/SQL: statement ignored
    ERR-10460 error cannot perform the function of verification of the authentication credentials.

    The sample application works very well on our DEV APEX 4.0.0.00.46 environment * without * the patch set 4.0.2.00.07.

    Does anyone have an idea how to solve this problem
    Thank you

    Hello

    Ensure that the CUSTOM_AUTH & CUSTOM_HASH functions exist in the scheme of the analysis of the sample application.

    CITY

  • Invoke.Query () results in Eception TypeError, says "application" does not exist, even in the sample application

    Hello

    today I'm trying to get strong () public static void blackberry.invoke.query working in my HTML5 application with the last frame bbUI. However, even in the example of community invoke query , it does not in my web Inspector. I always get this: "Eception TypeError: object [object Object] has no method 'query'". "

    With blackberry.invoke.invoke () everything works fine, but I want a list of applications that can call my text, so I need blackberry.invoke.query (). Everyone knows about this problem?

    Thanks in advance for your help.

    Yes BB10, I just tested the sample on the device and it worked, the error just seems to be in the emulator to ripple. Sorry for that. I need to build my own page-selector based on a response to select a what application, or is there something out of the box as in the cascades?

  • How do I add other users as "demo, admin" to the sample application?

    Hello
    I created a user "user287", when I tried with this user id, I can not connect to sample application, how can I do this sample application user access?

    Hi Nice1,

    I think you are using Apex 4.0.2 or lower version, because admin demo of things and not available at the Apex 4.1 or higher
    If this isn't the case, please provide details.

    How to change the authentication scheme
    (1) application builder-> shared component-> under Security-> authentication schemes
    (2) then you will get to CUSTOMIZE the GAME - running in the current regime
    (3) you can change your schema in two ways, either create a new and make current or change the existing one.

    4) click on existing a PLAN CUSTOM - current
    go to the Login processing
    under the terms of the function of authentication you now return custom_auth
    change now to - BUILTIN-

    Authentication Function  =  -BUILTIN-
    

    in this way, you can now change your authentication scheme.
    >
    For more information on authentication and authorization to download the Documentation below
    In the documentation, you can read about
    Authentication and
    Authorization
    >

    Hope this helps you

    Thank you
    Jitendra

  • How to specify the custom application BB10 WebWorks category

    How to specify the custom in BB10 WebWorks app category. If tried, but it seems that this does not work for me. What shoul I do it.

    Hello.

    I think the element of config.xml standard tag would be the rim: category, as in the example of documentation:

    
    

    but it seems not be supported yet for BB10. You can ask a question to the github repo, I think that the BB10 Packer must be at the right place.

  • How to change the data quotes.db of the sample applications

    Hai guys,

    I have a question, I want to learn more about the use of the database. I read the documentation and I still don't understand. I try to learn with the sample apps (quotes) and I don't know how to change data on the quotes.db database. I wish that I understand:

    1. change the data of databases quotes.db

    2. work with databases (sqlite)

    Please help me, I have a lot of apps idea when I understand working with database. Thanks before

    I'm sorry for my bad English

    Databases can be difficult to understand, it is a three month course in my college days.

    This is not something you can rush and the hurt means that your users data are at risk in order to take the time to go through one of the tutorials online and know well.

    It's my favorite online resources (was used for many years) and it includes a section on SQL close enough of SQLite...

    http://www.w3schools.com/

    Or you can start with this...

    http://www.tutorialspoint.com/SQLite/index.htm

    If English is not your native language, I'm sure that a google search will find one that is in your own.

  • The kiosk application info.plist must contain UINewsstandApp.error.message = true and a CFBundleIcons.UINewsstandIcon dictionary.

    Hello

    Receive this error when trying to submit a new application via iTunes connect.

    I noticed a response to a problem similar to Neil: don't indicate that your application supports kiosk when you're in iTunes Connect, unless you are a DPS pro or enterprise customer and have selected support kiosk in App Builder.

    Problem is, we are customers company DPS and kiosk support is selected in the App Builder.

    I suspect, it could be the App type I first was selected was "Multi Folio" rather than "Multi Folio with iTunes subscription" (to allow booth).

    If that is the likely cause, is it possible to adjust the type of application (in gray at the moment) or I need to re - build?

    Thanks in advance.

    Tom.

    To keep track, fast re - build, change the type of App did the trick.

Maybe you are looking for

  • iOS 10 frequent story location empty

    Hi all I've been on ios 10 for awhile now since its release and so far my common history is empty. All services of relevant sites are able, I even reset the parameters of location etc, without success. I did a restore, still nothing.  My phone used a

  • HP Pavilion DV7 6b78us: how to upgrade the BIOS on win 7 DV7?

    How the bios update I have 64 bit win 7 do not want to upgrade to 10 again.

  • Satellite A350-20J and Touchpad

    Hello! Is it possible to set the sensitivity of the touchpad on my laptop?I have a Satellite A350-20J (according to the label at the bottom of the laptop), a PSAL6E-04800GRU (from Toshiba utility to diagnoses). I bought this laptop in Moscow.It is al

  • Use the function without FN keys?

    I want to use the volume controls and mute without the use of the FN key. I went into the BIOS and there is no option to activate the action keys.I know that there is another way because I have them activated by mistake. I used F1 like mute without t

  • Separate e-mail using windows mail accounts.

    Using vista Home premium and the e-mail program. Just, I created a new e-mail account for my wife and want to keep my email separate from hers, for obvious reasons. I would like to know when I open it using the icon, if there is a way to know which a