Generation of BlackBerry error make: * [Simulator-Debug] error 2

I'm new to the blackberry development. I use Blackberry 10.2 SDK with Momentics IDE. I get following error after every few generations. I noticed this build configuration by default with the deletions of project output file that causes this error. Restoration project output file solves the problem in the next generation. It's really embarrassing and I think I'm missing something obvious for the build configuration in the project. Can anyone suggest how to solve this problem of generation?

C:\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: Notes: '_ZN2bb6system5phone5PhoneC1EP7QObject' is defined in DSO C:/bbndk/target_10_2_0_1155/qnx6/x86/usr/lib/libbbsystem.so.1 try so add to the linker command line
C:/bbndk/target_10_2_0_1155/QNX6/x86/usr/lib/libbbsystem.so.1: could not read symbols: invalid operation
CC: C:/bbndk/host_10_2_0_15/win32 / x 86/usr/bin/ntox86-ld caught signal 1
make [2]: * [o-g/MyApp] error 1
make [1]: * [debug] error 2
make: * [Simulator-Debug] error 2

Build deletes the file: C:\Workspace\MyApp\x86\o-g\MyApp. Restore it solves the problem in the next generation.

Looks like you're missing a library.  Add the line below in the .pro to your project file and build again.

LIBS += -lbbsystem

Tags: BlackBerry Developers

Similar Questions

  • Is not a simulator debug option in the build configurations

    Hello. All the

    I'm a newbie in the cascades.

    After installing the mac OS x ndk (stunts for blackberry 10 beta 2), I tried to set up the IDE.

    When I right click on the project and select the build configurations. There is only one option: default value.

    No Simulator debug option.

    So, when I try to run the application, he still received the error 8.

    How to fix it.

    Thank you very much.

    OK, reimport the project using the following options:

    Import-> General-> 'existing projects in the workspace.

    instead of "as a project makefile" and let me know if it works

    Martin

  • make [2]: * [o.le - v7-g/applicationName] make [1]: * [debug] make: * [Device-Debug]

    Hello! Below, I'm getting errors when building. Can you please help?

    make [2]: * [o.le - v7-g/applicationName] error 1 ApplicationName C/C++ problem
    make [1]: * [debug] problem error 2 ApplicationName C/C++
    make: * [Device-Debug] problem error 2 ApplicationName C/C++

    .pro file looks like this

    APP_NAME = ApplicationName

    CONFIG += qt warn_on cascades10

    include (config. PRI)

    LIBS +=-lbbdata

    LIBS +=-lbb

    The main.cpp file content is less than

    #include "applicationui.hpp".

    #include "sqlconnect.hpp".

    #include

    #include

    #include

    #include

    using namespace bb::cascades;

    Q_DECL_EXPORT int main (int argc, char * argv)

    {

    App app (argc, argv);

    Create the Application UI, this is where the main.qml file

    is loaded and the stage of the application is set.

    ApplicationUI support;

    Enter the main application event loop.

    Return Application::exec();

    }

    the relevant line is:
    '_ZN2bb6system12SystemDialog23setDismissAutomaticallyEb' is defined in OSR /Applications/Momentics.app/target_10_2_0_1155/qnx6/armle-v7/usr/lib/libbbsystem.so.1 try so add to the linker command line

    In conclusion: Add
    -lbbsystem
    your line of += LIBS in the .pro file

  • Unable to get the BlackBerry Curve 8530 Simulator appears in Eclipse, run config-> device

    For all fans of Eclipse...

    I installed the BlackBerry Curve 8530 Simulator, which can be run inside BlackBerry JDE, but impossible to make it appear as one of the options under device to the Eclipse IDE. The simulators that appear in Eclipse in run configuration are 9000, 9550, 9700. I just like being in the Eclipse IDE.

    Thanks... any help would be appreciated.

    -Carl

    Yes!

    I understand the problem.

    Please read my last entry in the database of bugs:

    https://www.BlackBerry.com/jira/browse/JAVAAPI-904

    (1) download Eclipse Galileo example: eclipse-java-galileo-SR1 - Win32.zip
    (2) unzip it anywhere. example c:\
    (3) follow these instructions to use the update site: http://na.blackberry.com/eng/developers/javaappdev/javaupdate.jsp
    (4) install BlackBerry_Simulators_5.0.0.337_8530 - Verizon.exe (you may need)

    I also, want to test with the new Simulator that I noticed in the download area!

    BlackBerry_Simulators_5.0.0.508_8530 - Verizon.exe

    I hope this helps!

    -Carl

  • How do the error of debugging JSP page/Javascript on the Blackberry browser on Simulator

    Hi, expert,

    at present, we are porting a web app (html5) from Iphone to Blackberry. It is written in JSP/javascript ajax in the backend. It is usually work the browser Blackberry 6.0 on a simulator. However, one of the page could be made, it shows just a blank page.

    I've seen an error like this onscreen Simulator MDS - CS:

    <2011-09-05 11:57:37.822="" edt="">: [1172] :::
    d receipt for non-existent packages! 904265821 >
    <2011-09-05 11:57:37.854="" edt="">: [1175] :::
    G = invalid, DEVICEPIN:CONNECTIONID = 2100000 a: 1770114602, SEQUENCE = 1, information
    tion = packet received for a connection timed out >

    However, I have seen the error on other pages when they are displayed correctly. Not sure why we continue to see this error.

    So, it could be a javascript error as well. Not sure at this stage. The page is written as a JSP page with javascript/ajax inside, which is the same as other pages that work. Very weird.

    No idea how I could debug to this case?

    Starting from the 7.0 you can use the web Inspector and in 5.0 you can debug using our tools, but in 6.0 you're stuck with more traditional methods such as the suggestion of chicoxmlof try/catch or alert statements

  • Generation of PhoneGap Blackberry error. The system cannot find the specified file

    I am new to using PhoneGap and I try to configure the sample application, I use PhoneGap version 2.9.0 and apache-ant - 1.9.1.

    I have configured apache ant, installed the SDK WebWorks and have configured the project.properties file.

    The error seems to be that it can't find the 'CordovaExample' file in the temporary folder, I checked the file and it contains the following files in it: "CordovaExample.jdp", "CordovaExample.jdw" and "CordovaExample.rapc" (among others). Am I missing some configuration so that it can look for one of these 3 files, instead of just "CordovaExample"?

    The error is given below, using the command "ant build blackberry":

    jamest@JT1 /c/Development/FirstApp
    $ ant blackberry build
    Buildfile: c:\Development\FirstApp\build.xml
    
    blackberry:
    
    build:
    
    generate-cod-name:
         [echo] Generated name: CordovaExample.cod
    
    clean:
       [delete] Deleting directory c:\Development\FirstApp\build
    
    package-app:
        [mkdir] Created dir: c:\Development\FirstApp\build\widget
         [copy] Copying 22 files to c:\Development\FirstApp\build\widget
          [zip] Building zip: c:\Development\FirstApp\build\CordovaExample.zip
    
    build:
         [exec] [INFO]                      Parsing command line options
         [exec] [INFO]                      Parsing bbwp.properties
         [exec] [INFO]                      Validating application archive
         [exec] [INFO]                      Parsing config.xml
         [exec] [INFO]                      Populating application source
         [exec] [INFO]                      Compiling BlackBerry WebWorks application
         [exec] I/O Error: C:\Users\jamest\AppData\Local\Temp\widgetGen.584154969137
    3014448670.tmp\CordovaExample (The system cannot find the file specified)
         [exec] [ERROR]                     RAPC exception occurred
    
    BUILD SUCCESSFUL
    Total time: 8 seconds
    

    This has now been resolved - the problem was that I used JDK 1.7, this problem was solved by switching to JDK 1.6.

  • My iPod nano 2nd generation gets disk errors after installing iTunes?

    I use my iPod nano 2nd generation for... Wow little almost 10 years now and of course is not as sensitive, a little laggy sometimes, battery life isn't as good but still never had real problems with it that can be repaired by a reset. Well not until now and I have not really money to spend to get a new, in particular the fact that practically it still works fine on his own, just that I can not add or remove pieces of her more.

    The problem

    It seems that the computer has trouble reading the device. Whenever I plug my iPod nano 2nd generation USB in my laptop (Windows 10), which has some sort of interaction with it freezes. For the moment I plug in, programs such as Winamp, iTunes, File Explorer (if I click my computer-> try to right click on the drive, that says all F: drive instead of the usual name recognized as "My iPod."), the Device Manager when I try to turn Apple iPod USB Driver and the small icon in the system tray when you try to eject the drop-down list no longer appears, all these programs themselves just freeze and unresponsive until I unplug the device. In Event Viewer, the moment where I plug it, it gets spammed by looping errors to:

    Error: The device, \Device\Harddisk1\DR21, has a bad block.

    ATTENTION: An error was detected on device \Device\Harddisk1\DR21 during a paging operation.

    So, basically, it seems that the computer is blocked just not try to read and recognize the device, which means that I can't really do anything with it. The iPod itself seems to work fine, I can hear songs, recharge the battery and other things, earlier I can't add or remove pieces of her.

    Stuff leading up to it

    A year or two before, I used to manage the ipod via itunes (a relatively old version of time too I guess since I almost never update) until I formatted my laptop some time ago and never bored computer reinstall itunes. Since then, I really didn't need to change anything to my iPod and just use Winamp (my default music player) to the add/remove songs when I needed to. Today, I decided to install iTunes because there are some things that winamp cannot do as add embedded lyrics and also winamp blurs the sorted list of the song. Since then, after you have installed the new iTunes, start freezing and program I get the problems described above. There might be a chance that iTunes was not the real culprit and the disc was already beginning to get corrupted or something somehow, but I can't think of anything that's happened before this problem started.

    I tried many things

    • Uninstalled iTunes and all the other stuff related to the installation as pie, Apple Mobile Device Support... .etc
    • Reinstall the device driver USB Apple iPod. When I turn it off (Plug in iPod-> iPod poster 'do not disconnect'-->--> Device Manager driver right click-> disable-> Device Manager freezes up-> unplug ipod-> Device Manager-> thaws plug ipod in) ipod becomes simply the State of charge. Steps to reinstall is the same (need to plug and unplug).
    • Reset iPod in now the Center button + menu button.
    • Will then resetting operation rewind + Centre button iPod diagnostic mode. It is not a test disc hard because I guess nano doesn't have a disc hard just flash ram. Anyway, when I select SDRAM QScan he only says: "SDRAM OK." NAND_SPEC gives "NandLBA = 1982464". Flash gives Checksum "Checksum is 0x26AF".
    • Wanted to try as described here to check for disk errors, but cannot because the computer cannot correctly recognize and explore freezes if I right click. I tried using 'chkdsk f:' in the command prompt, but that seems to hang as well.
    • Switches mode disc reset ipod then now Center + play button. Then connect the laptop... etc, same problem.

    It's a pretty old device, so it seems that support because it is very rare. I didn't install iTunes could screw up the device that it is intended to support and do anything as permanent as this one.

    You must exclude a faulty USB, cable anchorage, try another, or using your power with another Apple device cable, to confirm that it works correctly.

    Otherwise, your troubleshooting seems complete.  If that's what you've done for disc Mode

    How to put your iPod in disc - Apple Support mode

    and connection to your computer causes this issue General 'freeze' with multiple processes, the iPod has possibly a hardware problem.  Flash storage eventually.  Or it can be a problem on the logic board of the iPod.

    I suggest try to reformat the iPod using Windows, as if it were a USB flash drive.  But you can only do if the system hangs when you connect iPod.

    NOTE: If you find a way to reformat iPod using Windows, use FAT32 as the disc format.  If there is an option to do a quick format, do a full format instead.  Once the process is complete, the iPod is totally blank.  You do restore using iTunes (if you are prompted or not), to the embedded iPod software.

  • Generation of model error

    Hello

    Am trying to generate a dll from a simulink model. But when I tried to build it generates an error. Please suggest the change

    -SID

    Looks like this is not able to find nmake.exe.  Make sure you have a valid compiler installed on your machine (see the Readme of NI VeriStand for supported versions.  You should be able to download an Express edition free Microsoft Web site).  Run "mex-Setup" configure ML compiler settings.

  • report generation toolkit VI error when running EXE

    A VI in the Report Generation Toolkit (version 1.1.2), Excel find Application Directory.vi, will not work correctly when you run an EXE file.  'Current VI course' block returns the path of the ongoing EXE rather than the path of the Application Directory VI find Excel.  (This would be true for Word find Application Directory.vi.)

    -Joel

    Have you had a look at this knowledge base article? The error is due to exclusion of all dynamics VI.

    Gregory C.

  • BlackBerry error Air SDK download

    There seems to be a problem with your download server: the link doesn't work.

    https://developer.BlackBerry.com/air/downloads/fetch/BlackBerry-air-SDK-Installer-3.1.1-win-20130225...

    I get the following error:

    Forbidden

    You don't have permission to access/air/downloads/on this server.

    I logged onto my account of developers, not sure that the cause for this.

    Can someone confirm this error message.  Also, where can I download the sdk?

    Yes, it's perhaps because of the country that you are trying to download from. BlackBerry is a Canadian company and the country that you need to allow trade with the Canada.

  • Impossible to debug as - &gt; Blackberry in Eclipse Simulator

    Hello

    I've implemented an application for some time using Eclipse 3.5 and Blackberry plugin version 1.1.2 without a lot of questions, but recently, I was stuck on this one:

    Whenever I try to "Debug slot-> Blackberry Simulator ', Eclipse crashes at 31% saying"delegate launch. " This leaves me in a bad spot for my application debugging. However, I only peut 'run as-> Blackberry Simulator '.

    I tried the new configurations debug with different simulators. I tried to re-intsalling the eclipse + blackberry plugin. I'm still stuck with the same question.

    Can anyone share ideas they might have on it, or suggest how I could resolve this more?

    Thank you

    Jon

    Apparently, it had something to do with the BBDevMgr process running. When I killed this process in windows Task Manager, Eclipse was able to start the Simulator in debug mode. All good now!

  • Blackberry error: 907 invalid COD closed stream

    Hi I am trying to download the Blackberry application

    But when downloading after a certain time, it gives the error 907 invalid COD closed stream.

    What is the problem with this and the solution for it.

    I cleaned my browser cache and it worked for me.

  • Blackberry error 10 (Google Maps API)

    I am using google map api with

    "script type =" text/javascript"src ="http://maps.google.com/maps/api/js?sensor=false"

    But when I run my app in my blackberry 10 I get this error:

    The 'http://maps.google.com/maps/api/js?sensor=false' unauthorized access

    here:

    Had the same thing myself

    Time to cut & paste...

    Add these config.xml

    subdomains of https://googleapis.com"="true"/ >
        subdomains of https://gstatic.com"="true"/ >

  • Z10 Help BlackBerry - Blackberry error - an error has occurred and Blackberry World will be closed - tried EVERYTHING!

    Whenever I try to launch the Blackberry World, I get the message ' year error has occurred and Blackberry World will be closed. "  Try to wait a few minutes and reopening Blackberry World. "I have read all the post and unless I missed something - nothing works.

    I have a Blackberry Z10 - STK100-1

    Software - 10.2.1.2977

    I tried-

    • launch of BBW with just using Wifi
    • launch of BBW with just using the data
    • launch of BBW with Wifi and data
    • Resets hard (after changing the settings above)
    • Soft resets
    • Battery grips
    • Tried to access BBW through 'games'... three points...
    • BBW of opening online and trying to access my blackberry through the online program.

    AND I just wiped my blackberry to start again, and it still does not!  Restoring my data was carried out using the 'fast' backup, so it should not be due to a conflict with another program.

    Can you please help - I'm about to tear my hair out!

    OK, as a work possible, try this: go to your music folder. Press the three points at the bottom right. I believe that if you have downloaded all the music in the BBerry world, the choice to access BBerry World will be there and it should work. If this is not the case, here are some other workarounds.

    http://www.BlackBerryOS.com/content/if-you-still-having-issues-BlackBerry-world-your-Z10-here-few-mo...

  • Exchange Server of Smartphones blackBerry error message

    While my phone with Outlook sync (2010), I received an error message; "Cannot connect to Exchange Server. Please provide a password valid or verify access to the server. "I have never seen this in a few years with the same phone and Outlook. I wouldn't change anything. What could have caused this?

    Thank you.

    Hello and welcome to the community!

    Here's a knockout who deals with this error:

    • KB29092 The message "cannot connect to Exchange Server. Please check the server access or provide a valid password"appears when you try to synchronize with BlackBerry Desktop Software

    I hope that it contains something useful! There are also several existing threads on this site, which discuss exact error... your opinion of those who may prove useful, and a search of this website, by using the error message, error code or symptom, should reveal all the existing threads that are applicable to you.

    Good luck and let us know!

Maybe you are looking for