Compiler issues C++ Momentics.

Hi all here!

I started playing with the development of BlackBerry, I installed 2.1 Momentics and BB 10.3 Windows SDK 8.1, the Simulator and everything seems to work very well.

However, I would like to ask a question about the C++ compiler that uses Monetics IDE:

a. I see that the default build tools is a "QCC QNX. What is a custom version of GCC?

(b) I tried to use certain features of the C ++ 11 but had compilation errors. Is there a place on the IDE where should I put the "" - Wc, - std = gnu ++ 0 x ' and I'll be OK or not? " C ++ 11 soustenans is at all?

c. What is the difference between "QNX QCC" (which seems to be the default) and "Multi - toolchain QNX? Which should I use?

Many thanks for any help on this.

Welcome on the support forums.

no idea on the two others, but c ++ 11 is not supported.

Tags: BlackBerry Developers

Similar Questions

  • link with external compiler issues

    Hello

    When I try to compile my source with an external compiler, I get errors, and various warnings.

    One is

    «mbsupp.h "(29.1) (29): error: invalid redeclaration of type name 'size_t'"»
    "mbsupp.h" (29.1) typedef unsigned int size_t; "."

    This include file mbsupp.h is included in ansi_c.h, because in my source, I have the following

    #include
    #include
    #include    
    #include
    #include
    #include

    So now the important question, how to solve this problem? What I need to change the order of a few files included?

    Thank you

    Wolfgang

    Ok

    I solved the isssue...

    First, I installed a new version of the compiler, 11.1.035 instead of 11.0.61. Secondly, I chose a different compiler (Intel offers both 32 and 64-bit, and Itanium), obviously now the right pair, because I have the feeling that this caused pain.

    In any case, thanks to all the contributors!

    Wolfgang

  • Compile issues - undefined references

    So, I got my hands on the source code for a simple die rolling program that I found on the BlackBerry App World. I have already corrected some problems of compilation, but at this point, I think my best bet is to happen to you guys here on the forums. I'm at your mercy.

    According to my research in things, references that are not defined must be placed inside I included headers.

    Here are the results of the compilation:

    Thanks for the suggestions. It gives me something to try, I suppose, but I'm sure that my computer is not using up to 16GB.

    The only thing I can really think that I have not tried creates a project managed; I assumed that because the project was a makefile to use it. If I should or learn more about makefiles go try that.

    Might try if it suits him as well, I have this will mark as answered.

    Edit: After careful consideration I am sure I know what stupid thing, I do not yet consider... I have not linked all the library files...

    It was actually the lack of dynamic link libraries.

  • The compiler issues

    What is the name of the compiler used for Flash Builder?

    Flash uses the same compiler to create a swf file or is it different?

    Flash Builder is currently using the compiler 'mxmlc '. (In particular a project to use lib\mxmlc.jar inside one that uses SDK this project.) "It's the same POT that uses the bin\mxml.exe command line tool in the SDK).

    mxmlc.jar uses in turn asc.jar to make the compilation of the Actionscript.

    I think also, Flash uses asc.jar but does not use mxmlc.jar, because there is no need to compile MXML.

    Gordon Smith, Adobe

  • Problem with compiling under QNX Momentics IDE

    Hello! I developed a small application based on Qt for BlackBerry Playbook.

    When I try to build my app in debug mode of Simulator, NDK error reports:

    CC: cannot specify - P, - C, - E, - c or S - with o and multiple files

    How can I fix this error?

    You do not have a typing error:

    -DQ_MOC_OUTPUT_REVISION = 63
    

    If it should not be:

    -DQ_MOC_OUTPUT_REVISION=63
    
  • issue in momentics 10.2

    When I try to use the running icon, I get the following exception.

    From the run of the configurations in the menu execution works strangely.

    Anyone know how to fix this?

    THX

    !ENTRY org.eclipse.core.jobs 4 2 2013-06-20 13:09:59.498
    !MESSAGE An internal error occurred during: "Executing run".
    !STACK 0
    org.eclipse.swt.SWTException: Invalid thread access
        at org.eclipse.swt.SWT.error(SWT.java:4361)
        at org.eclipse.swt.SWT.error(SWT.java:4276)
        at org.eclipse.swt.SWT.error(SWT.java:4247)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
        at org.eclipse.swt.widgets.Shell.(Shell.java:283)
        at org.eclipse.swt.widgets.Shell.(Shell.java:375)
        at org.eclipse.jface.window.Window.createShell(Window.java:487)
        at org.eclipse.jface.window.Window.create(Window.java:430)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
        at org.eclipse.ui.dialogs.SelectionStatusDialog.create(SelectionStatusDialog.java:153)
        at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.access$superCreate(AbstractElementListSelectionDialog.java:446)
        at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.access$2(AbstractElementListSelectionDialog.java:445)
        at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog$4.run(AbstractElementListSelectionDialog.java:457)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
        at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.create(AbstractElementListSelectionDialog.java:455)
        at org.eclipse.jface.window.Window.open(Window.java:790)
        at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.open(AbstractElementListSelectionDialog.java:441)
        at com.qnx.tools.ide.qde.internal.ui.launch.QConnShortcut.chooseConfiguration(QConnShortcut.java:658)
        at com.qnx.tools.ide.qde.internal.ui.launch.QConnShortcut.findLaunchConfiguration(QConnShortcut.java:296)
        at com.qnx.tools.ide.bbt.debug.ui.internal.launch.BBTLaunchShortcut.searchLaunch(BBTLaunchShortcut.java:161)
        at com.qnx.tools.ide.qde.internal.ui.launch.QConnShortcut.launch(QConnShortcut.java:99)
        at com.qnx.tools.ide.bbt.debug.ui.internal.launch.BBTLaunchShortcut.launch(BBTLaunchShortcut.java:94)
        at com.qnx.tools.ide.ui.e4.command.RunActiveCommandHandler.launch(RunActiveCommandHandler.java:94)
        at com.qnx.tools.ide.ui.e4.command.RunActiveCommandHandler$1.run(RunActiveCommandHandler.java:66)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    

    Try selecting in the Run-> Run Configurations-> and delete everything under "Blackberry the Application C/C++»

  • Xcode 4.3.1 and libxml AIR compile issues

    Hello

    Xcode n00b here.  I just updated my mac to Lion and installed the latest xcode to take possession of a mobile flex project to have some DONKEY iOS.  Apparently, there are several changes to the structure of xcode since the iOS5.1 update.  For example, the SDK is no longer under /Developer and now can be found here:

    /Applications/XCode.app/Contents/developer/platforms/iPhoneOS.platform/developer/SDKs/IPhO neOS5.1.sdk

    When I try to do a generation release I get a message "Id: frame not found libxml.  I tried to copy the dir libxml autour different folders include executives and it seems not to matter.

    Anyone know how to get my machine / flash builder configured to resolve this message?

    Thank you!

    Found the answer.  The company that developed the application had 3 additional files framework have not initially give me.  It was called libxml.framework, and that's where this error came.

    Thank you!

  • Compilation of projects - VS2013

    If anyone has some useful resources to find how to compile projects; the Momentics IDE is installed, but I can't, compilation of changes to a program rolling. I was hoping that it is actually possible to use visual studio 2013 to develop and compile, then use Momentics to launch the application.

    I am compiling the application with a bunch of build errors. I can't be sure if builds are fill or failing while the program was the launch on the connected device. What I am sure of is that something is not with my company to convert a program on an object oriented paradigm, so I can add a few physics to the die roll I need help.

    This should help:

    https://developer.BlackBerry.com/native/documentation/core/vs_using_microsoft_visual_studio.html

    See build errors in Momentics check the error tab or the console global builds.

  • InstanceSumIf w / more than one condition

    Hi all

    I would like to take the sum of the instances based on several conditions.

    With the help of the functional reference:
     InstanceSumIf(<relationship>, <number-attr>, <condition>) 
    Works well with the only condition and does not compile when you try to join two or more conditions with and/or

    in our example, the following works:
     Sum exam results = (a exam, student mark, the child has attended the exam) 
    While there are compilation issues
    Sum exam results = (a exam, student mark, the child has attended the exam and the child was not late for the exam) 
    where;
    the child was involved in the review and
    the child isn't late for the exam
    are 2 attributes.

    Hope that makes sense
    Thank you

    If you have configured an entity "child" so what you have here should do the trick. If there are 4 child entity instances should be 4 instances of "results of the child should be considered.

    If this isn't the case, then I would check to make sure that everything is being built the way you expect. Try looking through the (view... generation model Build - Model) to make sure your attributes of 'child' three fall under the entity "the child."

    If the attributes of your 'child' under the 'global' entity, something is wrong.

    How do you test your rules? What makes you think they work badly?

  • The project-centric issue of peer to Peer with an external compiler in LabVIEW FPGA

    Hi all

    FPGA OR Version: 14.0

    I have an application developed in LabVIEW interfacing FPGAs developed in LabVIEW FPGA making of peer to peer Communications.

    Everything works fine.

    I try on the port to Visual Studio 2013 (on the same PC) and am able to communicate with the FPGA very well using the C API.

    However, I have a problem now with the help files or the peer supported external compiler peer.

    I get these errors:

    1. cannot open the file source 'PublicIncludes/nistreamCommon/prefix.h '.

    2. impossible opening the file source 'PublicIncludes/nistreamCommon/postfix.h '.

    in

    c:\Program Files (x 86) \National Instruments\Shared\ExternalCompilerSupport\C\include\nip2p.h

    in my project...

    I looked in the folder c:\Program Files (x 86) \National Instruments\Shared\ExternalCompilerSupport\C\include\ and the PublicIncludes\nistreamCommon folder does not exist.

    What I am doing wrong?

    Hello!

    It seems that you have worked with another engineer of Applications on this issue.  For the love of documents, the nip2p library is not supported in CVI. There has been cases where users were able to get this work to comment on the two header files.

    Thank you!

  • ERROR: iTunes 12.4 show compilations for the album

    All albums self-assembled who put the tick 'part of a compilation' are not visible on mac album mode. They are visible to remote.app on an iPad, but in iTunes on Mac you can see gender if you have assigned a specific to your compilation album genre. Also, if you have added a track recently you will see the album in the "most recent" view The phenomena described is valid only if the content files are from different sources to download as well as if the single are downloads from the itunes store that are packed together in one album to avoid having the 20 albums on screen with a single track in it. If you are using the album are, looking for a title like a hidden compilations album you'll actually see its cover in the list of results, but when you select the hit, iTunes will not pass to the album, but whether it is sufficient to close the search window. Please correct.

    I also have this issue.

    And the current iOS music player is not also display compilation for the album. That really *...

  • Compilations no longer appear in Albums or playlists

    I think it might be the same issue that is discussed in iTunes not to display all the photos in the grid view (but it's iTunes for Mac - I replied by mistake I use Windows 10).

    Question: Is there a way to make material Compilation to appear in the Album view (s), the way that he used to work before the 12.4.0.119 version?

    After the upgrade to iTunes for Windows to 12.4.0.119, I no longer see compilations (or songs) in various points of view. For example: I imported a box as a compilation. The set consists of several different albums, and I would add the songs as such to a playlist (i.e., a value of an album material at a time). This material is displayed under library-> Albums, but it is no longer made.  (I know that I can click on the button 'Edit' next to 'Library' and add 'Compilations' - it's not what I'm talking about.) "I want to see Albums as I have before).

    I also some songs compilation added to a playlist - they are in fact always there, but they are not displayed when you view as albums.  If I change the display of the playlist to display as a playlist, not only I see the songs on the compilation, but the size increases (rightly) in GB. I prefer the view of the Album and do not look forward to change the view to see what I had in my playlist.  (I don't like albums compilations seem to when I listen to on my iPhone, but it is a different matter.)

    I tried to delete the songs from compilation of the playlist and then adding them again, but that did not help.

    I don't seem to be able to reproduce this problem. Maybe a screenshot to illustrate what you see?

    TT2

  • CAN the c series modules and drivers XNET and Ethernet expansion chassis cRIO compatibility issues

    Hello

    I encountered a problem with my current setup which was not picked up by the tool advise cRIO or by the engineer of applications OR that we used to check our configuration before starting the project.  It turns out that the NI 9853 CAN modules require a XNET driver that is not compatible with the NI 9149 expansion chassis.

    We currently have a system with a cRIO NI 9068 with general IO and some CAN controller and CAN open modules in a carrycot and an Ethernet NI9149 with more general IO expansion chassis and more CAN and CAN open an another pod remote modules and all of this should work under water, so I can not move the modules of the expansion chassis to the chassis controller without a lot of overhaul of the system and equip and a team of angry engineers and technicians.

    I have developed the FPGA code for the 9068 OR and have CAN and CAN open networks works with happiness.  Then I tried to copy the same FPGA code on the expansion chassis and it compiles, but when I try to launch it I get the error-63184 code.  After long calls OR support, and tries to install the missing drivers on the expansion chassis, we discovered that XNET is not compatible with this chassis.

    Can anyone suggest the best course of action?  Is there an expansion chassis Ethernet that will support XNET?  I have here no information online about this compatibility issue that I can't find?

    I'll be communication with DIRECTLY, but from previous experience of the "odd" questions, I know the community often hold the key.  Any suggestions gratefully received.

    Thank you, Ed

    It's official.  CAN open modules are not compatible with the expansion chassis.  I have them moved to RIO and will get the upgraded pods.

    Thank you

    Ed

  • example simpftp does not compile

    Hello

    I'm developing an application in which I use the ftp InetFTPAutoSend function.  When I compile, I get unresolved symbol error:

    error: Undefined symbol "_InetFTPAutoSend@24" referenced in the «...» XPSWrapper.obj ".

    I decided to check if it was a problem in my project of compilation of the simpftp example provided with labwindows CVI in the debug and release version, I get the same problem of undefined symbol:

    Build status (simpftp.prj - Release)
    simpftp.c
    Link simpftp.exe
    error: Undefined symbol "_InetFTPAutoRetrieve@24" referenced in "c:\Users\Public\Documents\National Instruments\CVI2015\samples\internet\simpftp\cvibuild.simpftp\Release\simpftp.obj".
    error: Undefined symbol "_InetFTPAutoSend@24" referenced in "c:\Users\Public\Documents\National Instruments\CVI2015\samples\internet\simpftp\cvibuild.simpftp\Release\simpftp.obj".
    error: Undefined symbol "_InetGetErrorMessage@4" referenced in "c:\Users\Public\Documents\National Instruments\CVI2015\samples\internet\simpftp\cvibuild.simpftp\Release\simpftp.obj".
    Build failed.

    I found nothing that has worked to resolve this issue on this forum.  Anyone using ftp and managed should operate?

    Thanks in advance to those who take the time to read and those who take the time to answer.

    Hello Remy,.

    You might have the LabWindows/CVI Base package, which includes a Library of the Internet. See here.

    To check which package you have installed you can click Help-> on LabWindows/CVI. In the splashscreen, you can see in the lower right package you have. You can also check in Manager license OR (start-> National Instruments-> NI License Manager) which license is enabled.

    Constantine.

  • function index() in LabWindows 2013 of the compiler

    LabWindows CVI 2013 compiler complains about the use of the variable global 'index', even if 2010 LabWindows is OK with that. The error is an error that is redefined as LabWindows 2013 confused with an old C library string index function.

    Is there a simple solution for that, instead of rename my variable global 'index' in another name?

    Hello nhd973!

    The behavior that you are experiencing is unfortunately a known issue in CVI 2013 (see section incompatibilities):

    http://www.NI.com/product-documentation/51877/en/

    Around that, the simplest method is to rename your global variable.

    However, there is a back door that you can use, which forces the compiler to LabWindows/CVI to ignore the internal controls. You can change the following configuration for these built-ins registry key:

    HKEY_CURRENT_USER\Software\National Instruments\CVI\13.0\Environment\DisableBuiltIns

    By default, this key value is False . Setting its value on True allows the compiler to LabWindows/CVI ignore builtins, so you should not encounter the error again.

    Best regards!

    -Johannes

Maybe you are looking for

  • Audio problems on real videos

    In a club and audio on snapchat works fine but the audio on real videos * and is more often just static. Are there ways to recover the audio real video?

  • My iMac doesn't stop correctly

    My 2011 iMac (27-inch) running OS X El Capitan vs 10.11.5. Starting last month, when I have that be tempted to stop the computer or the computer would awaken after being dormant, it will freeze. The desktop, but none of my icons and status bar. I hav

  • language in Setup before Windows

    Hello We received a lot of PCs which have menu Setup/bios in German. does anyone know how we can change this to English, please? any help would be great that my German is not good at all! pcs are all the HP Pro 3400 MT with Win 7 x 64 Thanks in advan

  • deleting files in drive d

    I'm unable to delete files in my drive d. I never created them I do not know where they cam since I am the only user... I tried to change the property... nothing works... any ideas on how to remove them?

  • I PUT IN THE PRODUCT KEY NOW IT SAYS THAT MY BIOS NEEDS LICENSE

    * Original title: PRODUCT KEYS I PUT IN THE PRODUCT KEY NOW IT SAYS THAT MY BIOS HAS NEED OF LICENSE CAN SOMEONE HELP ME