STD/stl using new NDK errors

I am having some problems of generation since switching to the new Momentics.app 10.2 on OSX. The same source to create fine on the older QDE. Application source: http://git.io/8L_cxw

The errors seem to be std/stl associated and used in QT files.

Build complete Journal: http://pastebin.com/kNGtawgG

In file included from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/cpp/xmemory:9:0,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/cpp/memory:7,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/cpp/algorithm:6,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/qt4/QtCore/qglobal.h:68,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/qt4/QtCore/qatomic.h:45,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/qt4/QtCore/qvariant.h:45,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/qt4/QtCore/QVariant:1,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/bb/cascades/controls/container.h:6,
                 from /Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/bb/cascades/Container:1,
                 from ../src/BrightnessBarView.h:19,
                 from ../src/BrightnessBarView.cpp:16:
/Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/cpp/xutility:1281:10: error: 'basic_streambuf' does not name a type
/Applications/Momentics.app/target_10_2_0_339/qnx6/usr/include/cpp/xutility:1282:10: error: 'basic_istream' does not name a type...

Thoughts?

Thanks for the reply. Because I can build a newly created project I think it was just the linked project and not based environment. Going on this assumption, that I just replaced the .project and .cproject with what was generated by the most recent project. After update to those, I'm now able to build using the API levels (all levels of the API have been failing on this project, not only 10.2). If you want to debug, the changes are in Github now (here's the commit: https://github.com/hardisonbrewing/ColorWheel/commit/1a80986141f3e85e9a527f4d44d18496042aafe6).

Tags: BlackBerry Developers

Similar Questions

  • Using new plugin error: error starting module. Of verification errors.

    I use eclipse Galileo and the latest version of the plugin.

    I created a project, and I was able to debug it about 50 or so times. After that, I can't run the project on the Simulator again. He complains saying this:

    Starting MiApp
    Module 'MiApp' has verification errors.Error starting MiApp: Module 'MiApp' has verification errors.
    

    These errors do not appear before, and I have not changed anything. Attempted to restart eclipse, own Simulator, recompile, but nothing works.

    MiApp is a UiApplication who uses a library module. The library is located in the debug settings.

    I have read the famous document on how to avoid mistakes review and none of the points worked. In fact, my application is not a MIDlet.

    I spent several hours (which I would have spent on development) without success, and I'm going back to the old plugin. This new one really sucks.

    I'm sorry it's late for that. He took 20 minutes to move the project to the old plugin environment, but invested much more although the two hours I spent playing with the new plugin and the search for the light in this forum and knowledge base.

    Now it works perfect, as expected.

    The old platform (eclipse 3.4 and plugin 1.0.0.67) is much more stable and easy to use.

  • error when you try to update: "windows has not can find new updates, error code A 8024, 000.

    Original title : I can't update my computer... can anyone help me?

    I use Windows vista ultimate and I get the same message when trying to update-"Windows not can find new updates, error code 8024A 000 can someone help me?"

    See this thread:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_other-windows_update/Windows-Update-error-code-8024a000/562845f3-78d5-42A0-bed5-e3fd39f01df7

  • How to add a row in a computer using New-disk virtual hard?

    Hello

    I am running powercli 5.0.1 build 581491 and I'm writing a powercli script for:

    (1) create a RDM

    (2) assign the RDM to VM1

    (3) assign the same RDM to VM2

    I am able to create the ROW and assign it to VM1, but I am unable to use "New drive" assign to VM2.  Using the following command, I am able to create the ROW and assign it to VM1.

    New-disk-hard - VM VM1 DiskType - RawVirtual /vmfs/devices/disks/naa.60000970000192603729533030353531 - DeviceName

    While trying to assign to VM2, I do the following:

    New-harddisk - VM, VM2 - DiskPath ' [san - datastore:1] vm1/vm1_1.vmdk.

    And I get the following error:

    New-hard drive: 06/06/2012 14:13:19 new-support device Incompatible hard disk specified for the device '0'.

    What I realized, is that if I create a regular vmdk file, then use the New drive using the '-DiskPath ' option, then the command works well.  So my question is, what is the command to add a ROW in a virtual machine?

    Thanks in advance.

    No, indeed it seems something wrong with the cmdlet New-disk hard when adding shared RDMs.

    I have the following, which assigns the RDM common to both virtual machines.

    It's more or less the same, what you've seen in Onyx, but it adds the RDM shared for two virtual machines.

    $vm1 = Get-VM -Name VM1 $vm2 = Get-VM -Name VM2
    $DeviceName = "/vmfs/devices/disks/naa.600507680180701ed00000000000124" 
    
    $hd1 = New-HardDisk -VM $vm1 -DeviceName $DeviceName -DiskType RawVirtual $ctrl1 = New-ScsiController -HardDisk $hd -BusSharingMode Virtual -Type VirtualLsiLogicSAS
    $spec = New-Object VMware.Vim.VirtualMachineConfigSpec
    $spec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec $spec.deviceChange[0].device += $ctrl1.ExtensionData $spec.deviceChange[0].device.Key = -101$spec.deviceChange[0].operation = "add"
    $spec.DeviceChange += New-Object VMware.Vim.VirtualDeviceConfigSpec$spec.deviceChange[1].device += $hd1.ExtensionData$spec.deviceChange[1].device.Key = -102$spec.deviceChange[1].device.ControllerKey = -101$spec.deviceChange[1].operation = "add"
    
    $vm2.ExtensionData.ReconfigVM($spec)
    
  • Instantiate using 'new' does not not on the init() method

    Hello

    I am instantiating an object using "new" and calling my init() with 4 parameter passing constructor, but I get the error message that the parameters are required (see below). It works by using "createobject", that's fine, but I wanted to use 'new' to create an object. Can someone give some info why it doesn't work? Thank you.

    The SHOPPINGCARTDSN parameter to the INIT function is required but is not passed in.

    < cfscript >
    o = new cfc.shop.discount () .init (shoppingcartdsn: 'test', localDSN: 'timerDelegate', starsDSN: 'testdsn', ProjectName: 'test');
    writeDump (o);
    < / cfscript >

    You do not have to call the init method when you instantiate your object with the new. This is done by the new function itself (even with parameters, pass the parameters to the object, and not to the init function)

    Try this:

    o = new cfc.shop.discount (shoppingcartdsn: 'test', localDSN: 'timerDelegate', starsDSN: 'testdsn', ProjectName: 'test');

    writeDump (o);

  • Use the TestStand error callback if in the editor

    We have an error message reminder custom in our process model to display errors of the operator.  What we would do is if in the sequence editor, use the TestStands error handling (where he gives the options of cleaning, put end to, ignore, etc.).  I don't see the code for this anywhere.  I could put in the example so that if in the editor, use the example which has similar options, but which has a shape and a different feel.  Is it possible to use programattically built in reminder vs recall process model we have created?

    Sorry about that. Try this one.

  • Windows not can find new updates error code 80073712

    I have a Dell Inspiron 1525 with Windows Vista, Intel Core 2 Duo. I get this error code: Windows could not search for new updates - error Code 80073712. A view of my previous updates log indicates that the last time I received updates Windows has been 14/07/12. I tried a system restore, but the first restore point was 04/09/12. I tried restoring the system anyway, and there no reolve the problem.  I went on the web and the fixer online Windows did not work. Don't know what to do.

    Have you tried any of these terms of the resolution?

  • What I want to do is CC get off my computer and use new CS6 - but now I can't use CS6 even after removing all creative Cloud applications and running Creative Cloud Uninstaller and soft cleaner - SHAME!

    I want this shit on my computer - creative cloud is a load of garbage and I want to start using new CS6 - without subscription fees, hassle-free.

    Uninstall all the programs/applications cs6 and cc.

    clean all cs6 and cc by http://www.adobe.com/support/contact/cscleanertool.html

    Restart your computer

    reinstall your programs cs6.

  • I can't download the new update - error code: 43

    I can't download the new update - error code: 43 - what does it means?

    I had the same problem.

    I downloaded the new CC desktop application directly here:

    https://creative.Adobe.com/products/creative-cloud

    Hope this helps

  • Compilation error when you use the NDK library

    Hello

    I am developing an application of cascades that uses a static library NDK to communicate with a bluetooth device. The NDK library compiles without problems, but when I then compile the application stunts I get errors with all bluetooth NDK functions:

    myBB10Lib.a(BluetoothDevice.o): In function `MyBB10Lib::BluetoothDevice::getAddress()':
    \src\Driver/BluetoothDevice.cpp:33: undefined reference to `bt_rdev_get_address'
    
    myBB10Lib.a(BluetoothDevice.o): In function `MyBB10Lib::BluetoothDevice::getName()':
    \src\Driver/BluetoothDevice.cpp:53: undefined reference to `bt_rdev_get_friendly_name'
    
    make[2]: *** [o.le-v7-g/MyCascadesProject] Error 1
    make[1]: *** [debug] Error 2
    make: *** [Device-Debug] Error 2
    

    (I create a static library as it will act as a driver for the bluetooth device in other applications of stunts in the future).

    I have good include (#include ) in the BluetoothDevice .cpp file, but the application of Cascades always gives me this error. It is one of the functions in question:

    /*!
     * Returns the MAC address of the remote device, terminated by a null character (\0).
     */
    char* BluetoothDevice::getAddress() {
    
        // Holder for results
        char address[18];
    
        // Perform the check
        int res = bt_rdev_get_address(mDevice, address);
        if(res != 0) {
    
            //TODO  Query failed, pass up error
        }
    
        return address;
    }
    

    Any suggestions?

    Hello!
    I suspect that the NDK functions can be linked only dynamically. Only the .so files are available.

    Try adding
    LIBS +=-lbtapi
    the file .pro of application using the library.

  • BlackBerry Smartphones New - fatal error during the first update by using the Office Manager phone

    During my first update using the Desktop Manager, there were 13 steps, and I had to unplug to half way through.

    Now when I try to repeat the process, the update gets steps 1-6 and just after reconnecting to JVM (step 6) I get a "fatal error update device software, please try again" I tried several times and it always stops in the same place.  The phone then has the radio turned off, and I have to restore the connections.

    I'm not an irritable person, so any help would be appreciated.

    Thank you!!!

    Never disconnect during an update. Never.

    This is therefore a new phone, follow the instructions below.

    First, remove the battery from the BlackBerry when lit, to subject a minuite, replace and see if it restarts. If this is not the case, continue below.

    First find your operator and the system operating file that you want to use.
    http://NA.BlackBerry.com/eng/support/downloads/download_sites.jsp

    Make a backup of your device first, using Desktop Manager > backup. Close the office at the end Manager.

    1. download the OS files to the PC then install on the PC by running (double click) the downloaded file.
    2. go in c:\program files Research in motion\apploader and delete the file named "vendor.xml."
    3. plug in the BB and double-click on "Loader.exe." It is located in the same place as the above vendor.xml file.

  • BlackBerry Smartphones Firewall error when you try to use new applications of the AppWorld

    I have a BB "BOLD" (out of business).  When I try to register accounts with new App World, as SlackerRadio applications, I get this message:

    "The request... a attemtped to open a connection to a location inside the firewall and outside the firewall which is not allowed by your policy."

    Because I don't have a BB company, I'm not aware of any it policy or how I can adjust.  Everyone is having these issues?

    Thank you

    Jacquie

    • Carrier: AT & T
    • BlackBerry model: "BOLD"
    • BlackBerry OS (can be found in Options-> on): v.4.6.0.167 (Platform 4.0.0.157)
    • Version of App World (can be found by going to Options-> Advanced-> Applications) 1.0.0.28
    • BIS or BES (personal use or business use): BIS

    JacquieSamples,

    Just to be sure your BlackBerry is not a test of policy COMPUTER looking in Options-> Security-> General settings and scroll down to see if there is anything that is listed next to the field name of the IT strategy, if you see something there default even you have a COMPUTER policy.

    This article also shows how to reset a firewall prompt, you can have on your device:

    http://www.BlackBerry.com/BTSC/KB04050

    Please let us know if this solves your problem.

  • Try to install windows 7 on new computer - error code OxC004008 the activation server determined that the specified product key cannot be used. How to activate windows?

    the details are above. WIndows 7, we bought said good for three computers receives but error code everytime I try and activate! Help!

    Looks like you're using the Windows 7 Home Premium Family Pack Upgrade 3 pcs.

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

  • BB10 NDK error undefined reference to 'init_JSON_config '.

    Hi all

    I'm trying to integrate json parser in my native project BB10. The codes are derived from here

    https://github.com/BlackBerry/JSON_parser/

    I copied the file JSON_parser.h and JSON_parser.c in the source directory. In the HelloCascadesApp.cpp, I have included the header file.

    Now, when you compile the project, I get error like

    no reference to 'init_JSON_config '.

    This is the output of the compiler

    **** Build of configuration Simulator-Debug for project another ****
    
    make Simulator-Debug
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile another.pro CONFIG+=device
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile another.pro CONFIG+=simulator
    make -C ./translations -f Makefile update release
    make[1]: Entering directory `C:/ndk-10.0.4-workspace/another/translations'
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/lupdate another.pro
    Updating 'another_en_GB.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_fr.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_it.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_de.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_es.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/lrelease another.pro
    Could not find qmake configuration directoryCould not read qmake configuration file D:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/qmake.confUsing OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/debug_and_release.prf(1): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(4): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(36): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(213): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/moc.prf(3): 'qtPrepareTool' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/moc.prf(12): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/moc.prf(97): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/uic.prf(108): Using OS scope before setting MAKEFILE_GENERATORThe directory name is invalid.
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_en_GB.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_fr.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_it.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_de.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_es.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    make[1]: Leaving directory `C:/ndk-10.0.4-workspace/another/translations'
    make -C ./x86 -f Makefile debug
    make[1]: Entering directory `C:/ndk-10.0.4-workspace/another/x86'
    make -f Makefile.Debug
    make[2]: Entering directory `C:/ndk-10.0.4-workspace/another/x86'
    qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,d:/bbndk-10.0.4-beta/target/qnx6/x86/lib -Wl,-rpath-link,d:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib -o o-g/another o-g/.obj/hellocascades.o o-g/.obj/HelloCascadesApp.o o-g/.obj/moc_HelloCascadesApp.o  -lcurl  -Ld:/bbndk-10.0.4-beta/target/qnx6/x86/lib -Ld:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib -Ld:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib/qt4/lib -LD:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib/qt4/lib -lm -lbps -lbb -lQtCascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore
    Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORo-g/.obj/HelloCascadesApp.o: In function `parse_JSON':
    C:\ndk-10.0.4-workspace\another\x86/../src/HelloCascadesApp.cpp:216: undefined reference to `init_JSON_config' C:\ndk-10.0.4-workspace\another\x86/../src/HelloCascadesApp.cpp:224: undefined reference to `new_JSON_parser'
    cc: d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/ntox86-ld caught signal 1
    make[2]: *** [o-g/another] Error 1
    make[2]: Leaving directory `C:/ndk-10.0.4-workspace/another/x86'
    make[1]: Leaving directory `C:/ndk-10.0.4-workspace/another/x86'
    make[1]: *** [debug] Error 2
    make: *** [Simulator-Debug] Error 2
    
    **** Build Finished ****
    

    I used this parser json beginning of NDK 2.0 BB with no problems.

    Can someone help me?

    concerning

    by default, the c files are ignored, add, change your {appname} .pro

    and add the singel file:

    SOURCES += ../src/*.cpp ../src/JSON_parser.c
    

    or all the *.c files:

    SOURCES += ../src/*.cpp ../src/*.c
    
  • How to change the Satellite L670D-103 using new SSD 80 GB HARD drive?

    Hello

    I have a Satellite L670D-103 with a 320 GB HARD drive running at 5400 RPM which is too slow for me.

    So I plan to change this factory by a new SSD HDD to increase the performance of the overall system :)

    But as the SSD are expensive, I have only a 80 GB SSD.

    I built the recovery on a USB media and I want to use it to restore my system to the new SSD (I previously did the space needed to ensure that all data can be stored on my new SSD 80 GB space; p)

    Retrieving SSD partitioning new procedure is done without error, but when copying image to restore data to freshly created the partition, one not enough space error stop the process!

    It seems that the recovery procedure is possible on a hard drive that is equal or superior to the original size of the disk (320 gb).

    So, how can I restore mysystem on my new SSD?

    Thank you
    Stéphane.

    > It seems that the recovery procedure is possible on a hard drive that is equal or superior to the original size of the disk (320 gb)

    To my knowledge, you have different recovery options:

    (* 1) * recovery of factory default software

    (a) recovery to out of box state
    (b) recovery without changing the HARD drive partitions
    (c) recovery of a custom size partition

    (* 2) * "erase the HARD drive.

    I think that if you choose factory default software recovery of-> recovery to out of box state then the recovery would create exactly the same size of partition on the new SSD which were available on the 320 GB HARD drive.
    I think this might be the reason why you have received this message.

    Perhaps you need to choose the 3rd option Recovery on a custom size partition

    What do you think?

Maybe you are looking for