Internal CDT generator giving different results of compilation on successive attempts of compilation

Hello, I'm new to developing for BlackBerry 10 and I was wondering if someone could help me with this problem.  A little background first - I am trying to transfer an existing BB10 iOS app, the source is all written in C/C++ so I use the native SDK 10.0.9.1673.  I use the IDE on a Mac (OSX 10.8.2).

I've set up a project GLES2.0 skeleton by using the 'new blackberry project' Assistant and have linked folders that contain the source and header files (by using the project properties-> C/C++-> component paths of access and symbols General and location tabs includes / Source). The source files and header are all in separate files in the same directory level as the project (because of the way our structure of project works) file, although I believe that this should make a difference.

Of course, at this point, I don't expect the project to compile properly, but my problem is that whenever I try to compile the project, it seems to compile another group of files, with the result that I get a different error whenever I try to compile, even when I have not changed the code. I guess this isn't normal behavior, as it makes it very difficult to identify and solve problems.  Does anyone have any suggestions as to what could be the problem?  I wonder if I need to specify some settings or something like that?

A final bit of information, I get warnings directive #import (which is used in a number of places in the version of iOS) is obsolete. I don't know if it's related or not - although if it is I don't know what can be done beyond big passage to using #includes all over the place?

Thanks in advance for any help that anyone can give,

Just to doublecheck - you put all your src file right?

If you have too many mistakes and too many files, then it is normal to get different error/files each time. Just start correct and gradually you will get the same set of errors-)

Okay, I don't know if that's normal or not normal, but I took it as is (I hit the same problem, great project to port).

Tags: BlackBerry Developers

Similar Questions

  • CONNECT BY giving different results / duplicate records

    I have a hierarchy like this:

    UserTable-> username, treename_code

    username treename_code

    Scott TREE

    Henry TREE

    TREENAMES-> treename_code

    treename_code

    TREE

    subtree-> id, parent_id, treename_code

    ID parent_id treename_code

    1 null TREE

    2 1 TREE

    select case when connect_by_isleaf = 1 then 0
                when level = 1             then 1
                else                           -1
           end as status, 
           level, 
           subtree.id as value, 
           SYS_CONNECT_BY_PATH(subtree.id, '/') Path
      from usertable,
           treenames,
           subtree
      where upper(usertable.username)=upper(:username)
        and treenames.treename_code=usertable.treename_code
        and subtree.treename_code=treenames.treename_code
      start with subtree.parent_id is null
      connect by subtree.parent_id=prior subtree.id;
    
    

    Database version: 11.2.0.1.0

    According to the user, the order of results is different: we give values:

    1-2-2 (double on '2')

    gives another

    2 1-2 (always double on '2')

    BUT on another database, same version, it gives:

    1-2 (which is expected)

    Any idea?

    This is essentially because of the what the predicate to filter for the USER name is applied. If you are using an Inline view, you will get the desired result.

    Check this. I just simplified your query by removing just the other columns in the select list. But the CONNECT BY and are of the join of the table intact.

    SQL > select subtree.id
    2 usertable,
    3 treenames,
    subtree 4
    5 where upper (usertable.username) = upper ('scott')
    6 and treenames.treename_code = usertable.treename_code
    7 and subtree.treename_code = treenames.treename_code
    8 start
    9 with subtree.parent_id is null
    10 connect
    11 by prior subtree.id = subtree.parent_id;

    ID
    ----------
    2
    1
    2

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    -------------------------------------------------------------------------------------------------
    ----------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ----------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |           |       |       |     7 (100) |          |
    |*  1 |  FILTER |           |       |       |            |          |
    |*  2 |   CONNECT BY WITH FILTERING |           |       |       |            |          |
    |*  3 |    HASH JOIN |           |     2.   102.     7 (15) | 00:00:01 |
    |   4.     THE CARTESIAN MERGE JOIN.           |     2.    90.     4 (0) | 00:00:01 |
    |*  5 |      TABLE ACCESS FULL | SUBTREE.     1.    32.     2 (0) | 00:00:01 |
    |   8 2 SORT OF BUFFER.           |     2.    26.     2 (0) | 00:00:01 |
    |   7.       TABLE ACCESS FULL | USERTABLE |     2.    26.     2 (0) | 00:00:01 |
    |   3 ×     TABLE ACCESS FULL | TREENAMES |     1.     8-2-2 (0) | 00:00:01 |
    |*  9 |    HASH JOIN |           |     1.    51.     7 (15) | 00:00:01 |
    |  10.     THE CARTESIAN MERGE JOIN.           |     1.    45.     4 (0) | 00:00:01 |
    | * 11 |      HASH JOIN |           |       |       |            |          |
    |  12.       CONNECT PUMP |           |       |       |            |          |
    |  13.       TABLE ACCESS FULL | SUBTREE.     1.    32.     2 (0) | 00:00:01 |
    |  14.      KIND OF BUFFER.           |     2.    26.     2 (0) | 00:00:01 |
    |  15.       TABLE ACCESS FULL | USERTABLE |     2.    26.     2 (0) | 00:00:01 |
    |  16.     TABLE ACCESS FULL | TREENAMES |     1.     6.     2 (0) | 00:00:01 |
    ----------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 Filter (SUPERIOR ("USERTABLE".) "USER NAME") = "SCOTT") "
    2 - access("SUBTREE".") PARENT_ID "= NULL PREREQUISITE)
    3 - access("TREENAMES".") TREENAME_CODE '=' USERTABLE '. "" TREENAME_CODE "AND
    "SUBTREE". "" TREENAME_CODE "=" TREENAMES. " ("' TREENAME_CODE")
    5 - filter("SUBTREE".") (PARENT_ID' IS NULL)
    9 - access("TREENAMES".") TREENAME_CODE '=' USERTABLE '. "" TREENAME_CODE "AND
    "SUBTREE". "" TREENAME_CODE "=" TREENAMES. " ("' TREENAME_CODE")
    11 - access("SUBTREE".") PARENT_ID "= NULL PREREQUISITE)

    If you see that the filter for the USER name is applied after that CONNECT BY runs. But if I use a view online. then check it

    SQL > select id
    2 starting at)
    3. Select subtree.id
    4, subtree.parent_id
    5 usertable,
    6 treenames,
    subtree 7
    8 where upper (usertable.username) = upper ('scott')
    9 and treenames.treename_code = usertable.treename_code
    10 and subtree.treename_code = treenames.treename_code
    11          )
    Starter 12
    13 with parent_id is null
    14 connect
    15 by parent_id = prior id;

    ID
    ----------
    1
    2

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    -------------------------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ---------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |           |       |       |     7 (100) |          |
    |*  1 |  CONNECT BY WITH FILTERING |           |       |       |            |          |
    |*  2 |   HASH JOIN |           |     1.    51.     7 (15) | 00:00:01 |
    |   3.    THE CARTESIAN MERGE JOIN.           |     1.    45.     4 (0) | 00:00:01 |
    |*  4 |     TABLE ACCESS FULL | USERTABLE |     1.    13.     2 (0) | 00:00:01 |
    |   5.     KIND OF BUFFER.           |     1.    32.     2 (0) | 00:00:01 |
    |*  6 |      TABLE ACCESS FULL | SUBTREE.     1.    32.     2 (0) | 00:00:01 |
    |   7.    TABLE ACCESS FULL | TREENAMES |     1.     6.     2 (0) | 00:00:01 |
    |*  8 |   HASH JOIN |           |     1.    51.     7 (15) | 00:00:01 |
    |   9.    THE CARTESIAN MERGE JOIN.           |     1.    45.     4 (0) | 00:00:01 |
    | * 10 |     HASH JOIN |           |       |       |            |          |
    |  11.      CONNECT PUMP |           |       |       |            |          |
    |  12.      TABLE ACCESS FULL | SUBTREE.     1.    32.     2 (0) | 00:00:01 |
    |  13.     KIND OF BUFFER.           |     1.    13.     2 (0) | 00:00:01 |
    | * 14 |      TABLE ACCESS FULL | USERTABLE |     1.    13.     2 (0) | 00:00:01 |
    |  15.    TABLE ACCESS FULL | TREENAMES |     1.     6.     2 (0) | 00:00:01 |
    ---------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - access("SUBTREE".") PARENT_ID "= NULL PREREQUISITE)
    2 - access("TREENAMES".") TREENAME_CODE '=' USERTABLE '. "" TREENAME_CODE "AND
    "SUBTREE". "" TREENAME_CODE "=" TREENAMES. " ("' TREENAME_CODE")
    4 filter (SUPERIOR ("USERTABLE".) "USER NAME") = "SCOTT") "
    6 - filter("SUBTREE".") (PARENT_ID' IS NULL)
    8 - access("TREENAMES".") TREENAME_CODE '=' USERTABLE '. "" TREENAME_CODE "AND
    "SUBTREE". "" TREENAME_CODE "=" TREENAMES. " ("' TREENAME_CODE")
    10 - access("SUBTREE".") PARENT_ID "= NULL PREREQUISITE)
    14 filter (SUPERIOR ("USERTABLE".) "USER NAME") = "SCOTT") "

    Here, the filter is applied before CONNECT you IS executed. This is the reason why you get the unexpected result in your query. Use the online mode.

  • SimpleDateFormat giving different results for the same string in the form

    I use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/i18n/SimpleDateFormat.html for formatting my date and time fields.

    I got a bug report that a device on English (UK) has a problem where the time turns off the screen, and I was able to reproduce this on device and Simulator.

    It's the pattern string that I use: hh:mma

    (hour 2 digits, colon, minute 2-digit and one letter for 'a' or 'p')

    English or r I get the result you want, for example 12: 12 p '

    "On English (UK), I get two letters for one / p marker, for example ' 12:12.

    (as if I had used 'hh:mmaa').

    What is the desired behavior? My client doesn't like it and wants a look and feel unique, with only one letter for 'a' or 'p', and I'm a little hesitatant to use aubstring...

    I usually do so, but our customer asked specifically localized to the date and time formatting.
    I have the model in my resource files, as the requested values are not easy to manage with the dateformat standard.

    Well, I have submitted comments on the entry of doc API, the doc is fake or the OS has a bug.
    I use substring if the string endsWith (am or pm) now...

  • Different results from the the DLL source code

    Hi all

    I'm new to this forum and also to labview so understandable...

    Then, I got a source project with many under vi of that graphic plots of excel files. I also got the exe after generation.

    The problem is, if I try to compile this project again, the exe gives me different results than what I already have. They should be the same, because I does no update in the source code.

    Can someone explain this behavior? I don't know anything about how it has been made because the guy who create this left the office... I need to make a few updates, but first of all, I have to build corectly.

    Thank you

    Have you compared the date of the exe file with the date of the source code? Are you absolutely sure that no changes have been made to the source code after the build? The construction specifications are part of the project. Unless you changed something there, builds should be the same.

    You have the source code control? Issues like this should not be a if you make and use wisely.

  • using the same search terms on ebay, getting different results on firefox exploer

    using the same words to search on ebay for internet explorer, I get results more when I use ebay on FireFox > is cutting some of the results when using Firefox

    It is always possible that eBay is to differentiate between browsers and gives different results, based on previous visits.
    You can try to delete cookies in two browsers to see if it has an impact.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".
  • Why Express PSD gives a different result of amplitude as FFT PSD?

    Hello

    When I use the express VI of spectral measures to trace the power spectral density, I get a different result than when using the FFT PSD VI. The data are the same but the amplitudes are different in the PSD plot. Everyone comes through this?

    Thank you

    Donners,

    The PSD2 and graphic PSD2 are different because you are breastfeeding two extra points in the tables (t0, df). When graphic entry of data in the tables, they interpret not automatically information of t0 and df.  Actually they do not yet receive this information.  You must program the scales with nodes of property.  If you simply draw the order of magnitude, the spectra are very similar.

    ^ ^ ^ This confuses only the chart!

    The spectral forms differ slightly as the power spectrum of FFT and PSD.vi uses a default Hanning window.

    Lynn

  • Why do I get 2 different results of these identical derivatives screws?

    I wrote two calculator derived from point by point identical screws and I am at a loss about why

    I get two different results.  I don't know what I have missed/missing which is the origin of this anomaly.

    Please take a look at the downloaded screw (written in LabVIEW 8.0) and let me know what I did wrong.

    Perhaps they are not the same after all.

    Tips for troubleshooting or suggestions are welcome!

    Thank you

    noviceLabVIEWuser

    item 1 of table 1 = 0.9998899980

    item 1 of table 2 = 0.9998900000

    Change the format to display the different values

    the code is identical

  • generate two different number

    How can I generate two different number? The first should always be greater than the second.

    Only itegers or also fractional/decimal numbers?  Any real range of values that you can use?

    I just generates two numbers (based on the settings you can have) and then use Max & Min to sort them.

  • Flatten channel gives different results on a RT system compared to a Windows system?

    When I flatten a structure moderately complex to a string in LabVIEW Windows, I get a slightly different result than when I do the same thing (interactive) Looking RT. LabVIEW to hexadecimal display produced channels, towards the tail end of the strings that I see:

    Windows: A 999, 0000. FB99 A 9999 9999 9999 9, 00
    RT: 9999 A000... FB99 9999 9999 99A 0 0000

    Shouldn't get the same value of the two systems?

    Your problem is the use of the extended data type.  I don't have a cRIO to do more thorough testing, but the only items that do not match are the two elements of smoothing.  The two values differ by about - 5.54976E - 18 (that is to say, not much - less, in fact, the value of epsilon machine).  If you use the context-sensitive help and hover on an EXT thread, you'll see a note indicating the precision varies by platform, so it must be provided.  Also documented A in aid, under the heading "digital, data types table.  Is there a reason why a double precision is not sufficient?

  • Why can I get two different results from the same coefficients?

    I get two different results of the evaluation of the polynomial function.

    For the first, I get the coefficients of a polynomial function to adapt.  I feed the coefficients of the function made the function Eval Poly and get the correct 12.8582 result when I evaluate 49940.

    For the second, I create constant array of values that have been returned by the polynomial Fit function (I typed in).  However, I get an incorrect result of - 120.7913 when I feed the constant table the function Eval Poly when I evauate 49940.

    How this can happen when I use the same values in table?

    A picture of what I explained is attached.

    Hi Altran,

    are you sure about using the 'same '?

    You compare them? Do you have (at least) set them to 17 digits display properties?

    Please attach a VI instead of an image...

  • "The eigenvalues and the vectors.vi" produce different results in BT 7.0 and 8.0

    I noticed that 'clean and vectors.vi values' product of different results when it is used in LV8.0 and LV7.0.

    The attached VI is saved in LV7.0.  The default values show the results by operating this VI in LV7.0.

    Using the same entries, try running this VI in 8.0 and you will see the results change.

    Someone has any ideas why this is happening?


  • Display different results with if statements

    Hello

    I'm doing a very simple logic but can't figure out how to do visually in LabView. Please take a look in the file. As you can see on the right, I have a group of 9 possibilities, each of them being true I want the COMPOUND NUMBER indicator to show a different result. I tried to use the structure of the case, but I could not the icon of the indicator in other sous-schemas. I also thought about putting the results in a table and choose the element whereby the possibilities.

    But I'm sure there is an easier way. Help, please.

    Thank you

    LD

    You put the indicator of terminal outside the structure of the case.  Then each case son its respective result in the tunnel leading out of the structure of the case to the indicator.

    (Alternative, but not recommended, use a local variable of the indicator in all other cases, if you use the terminal in one of the cases.)

  • When you try to find the IP address of my computer, I see two different results with two different numbers. Which is accurate?

    original title: a different output for ping - an IP address

    I am trying to determine the name of the computer to an IP address

    When I open a command prompt in a computer (Windows XP connected to our domain) and type ping - a [IP address], I get a result

    When I open a command prompt in another computer (Windows Server 2008 connected to the WORKING group) and type ping - a [IP address], I get a different result

    And there are other times when ping - [IP address] will display the name of the computer on a computer (usually the Windows Server 2008), but not the other

    I tried to google

    1. why this happens

    2. what result is correct

    Please specify.

    The order of DNS in Windows name resolution is as follows:

    1. Name of the local host (file Hosts Local generally in c:\windows\system32\drivers\etc\hosts)
    2. Cache Client DNS resolution
    3. DNS server
    4. Cache of NetBIOS names
    5. WINS server
    6. NetBIOS broadcasts
    7. File LMHosts (same location as the HOSTS file)

    The reason you get different results could be because machines could be on different subnets (different results for broadcast), using a different DNS server machines or are configured for different WINS servers, or the names are already cached because of prior activity.

    HTH,
    JW

  • Running Fortran under Windows 7 code produces different results each time.

    I run a FORTRAN code in windows 7 and it produce different results for different courses. Is this a problem of floating point or what? Is there anyone who knows a way to overcome this problem?

    original title: Code Fortran

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the MSDN Windows 7 forum.

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • A few keys return a different result example I press o and he returned .o

    My son has been on the computer (asus k53s) laptop. I don't know what he did, but now some of the traits keyboard return a different result, it feels almost like a kind of shortcut function. I restarted snd got the same result

    Here are the problems I found.
    o and. They all return two .o
    q returns a q and a tab
    m and refer my
    v and t both return a vt
    x starts the Help window
    I can't use my laptop properly right now that one of the letters is used in the passwd file, I use the keyboard to the mouse on screen.
    I need help asap thank you

    You can try the system restore to go back before the problem?

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (or 7)
    http://support.Microsoft.com/kb/936212/#appliesTo

    I see that the OSK works for you, so perhaps the problem is a defective keyboard?  Have you tried to turn the laptop upside down and gently pat down to try to remove some of the bread crumbs between the keys (Lol).

    You can plug in another USB keyboard into the laptop and test with that?

Maybe you are looking for

  • The Magic Trackpad 2 disconnects sleep

    Recently, I buy the Magic Trackpad 2 to use with my iMac.  Whenever my computer goes to sleep the trackpad disconnects and I have to turn it off and turn it on back to connect.  The battery does not seem to be the problem - is 98%. Does anyone else h

  • Scanner Umax Astra 1220P continues to disappear from my computer.

    Whenever I have to use my scanner, I have to shut down my computer, unplug the scanner at the back of my computer, re - turn on computer, shut the computer off once again, reconnect my scanner back in my computer, computer tower back on before that i

  • Error Code 39 on CD-DVD TSST LS - L632D drive

    I get the following error on my Dell Inspiron E1705 TSST TS-L632D cd-dvd-RW + player. I tried to uninstall and powering down/back on the system and nothing restores my CD/DVD drive to the operation. The exact error is: Windows cannot load the driver

  • Could not open C:\Windows\System32\energy-report.html

    I am trying to gather information to solve a problem of sleep 7 windows. I run powercfg-ENERGY and I see the file name listed in Windows\System32, but when I try to open says "cannot find...". »

  • BFCP of MCU for encrypted calls

    Hello I know that it has been discussed before on the CUCM especially earlier this year: https://supportforums.Cisco.com/message/4001153#4001153 We have a series using VCS (7.2), conductor (2.2) and MCU (4.4) where we need to content SIP on encrypted