User Tag List

Results 1 to 9 of 9

Thread: problem on xcode: Semantic issue - ArrayList.h

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem on xcode: Semantic issue - ArrayList.h

    Hi, when I try to test my app on xcode (5.1) I get this problem:

    ArrayList.h
    Semantic Issue
    Reference to non-static member function must be called.

    This seems to be related to this line of code ("capacity" is marked on xcode editor):

    elements = (T*)calloc(capacity, sizeof(T));

    This happens when I try to output the app as iOS Xcode project or as iOS final Xcode project.

    What can I do?

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    I'll point Anders to your post.

    I would assume this is only happening in a project where you use the Array object?
    If you can work on trying to narrow it down it would speed up the fix.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, Jeff, I'm not using the array. In fact, even if I export a blank project this error appears. I'm using the latest ios export module on fusion 2.5 (281.2) and xcode 5.1.

  4. #4
    No Products Registered

    Join Date
    Mar 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am having this same issue!!!! None of my games will compile on Xcode!

    I get the semantic error on this line:
    elements = (T*)calloc(capacity,sizeof(T));

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just comented this line and everything is working fine. I believe I noticed that the ios project creates, in fact 2 "projects" on xcode, the game itself and box2d. This problem seems to be related to this box2d (where the error notice appears). If so, I beleive that if you're not using the new physics engine (the reason why box2d is there, I believe) comenting this line may be safe.

  6. #6
    No Products Registered

    Join Date
    Mar 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So what did you do to fix it?

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just comented the error line on ArrayList.h:

    //elements = (T*)calloc(capacity, sizeof(T));

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Feb 2014
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was running into this issue yestarday. I thought I fixed it by changing the line
    "elements = (T*)calloc(capacity,sizeof(T))"
    to
    "elements = (T*)calloc(m_capacity,sizeof(T))"

    This worked for my one game. Keeping in mind I have no idea what I am doing, I have the most primitive idea of how Objective C works. Now I'm trying to get game center to run and I get a "CRunGameCenterConnect.h" file not found. Don't know if related.

  9. #9
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    499
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,I have the same issues.
    I open a treath here:
    http://community.clickteam.com/threads/85825-I-phone-update-and-Xcode-5-1

    To resolve this,just delete the line.

    Sloxone

Similar Threads

  1. Semantic issue in Xcode
    By iamjot in forum iOS Export Module 2.5
    Replies: 8
    Last Post: 21st February 2014, 05:23 PM
  2. iOS ScreenZoom seems to have a parse issue in xcode
    By Diablohead in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 18th December 2013, 02:11 PM
  3. compile issue in xcode
    By Deathkiller in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 2nd October 2012, 02:04 PM
  4. Issue in XCode
    By Captain_Harris in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 2nd April 2012, 09:53 AM
  5. XCode 4 Issue
    By RhysD in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 14th March 2011, 01:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •