Obj-C errors in a C   app in release mode

I've made this c++ app that uses GLUT and OpenGL to display a square on the screen that you can move around with the arrow keys. I wanted to show my friend, so I compiled in release mode. Upon doing so, I got 1120 errors in various Obj-c headers that I don't import. I've never seen them before, and I'm pretty sure GLUT doesn't use them because I can compile in debug mode and have the app work just fine.
Source code is here: http://dl.dropbox.com/u/2223161/OpenGL.zip
Does anyone know why that's happening?

While in Release build double click on the OpenGL target to get the Target Info panel.  Go to the Build tab, make sure the config is set to 'Release' and scroll down to the GCC Language section and remove '$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h' from the 'Prefix Header' setting leaving it blank. Rebuild.

Similar Messages

  • Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2

    Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2 residing in the same server and being used by Apps server as it's metadata.
    bash-3.00$ export ORACLE_HOME=/data/ora11g/app/ora11g/product/11.2.0
    bash-3.00$ cd /data/OAS/install/soa_schemas/irca/
    bash-3.00$ ./irca.sh
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    ERROR: Cannot find library - /data/ora11g/app/ora11g/product/11.2.0/jdbc/lib/ojdbc14.jar
    Please verify that the ORACLE_HOME is set correctly.
    bash-3.00$

    Hi Craig,
    Database 11gR2 could be used for Installing Application Server 10.1.3.x but with some limitation.
    So please review the note:-887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)
    Section :- Oracle Application Server 10g Release 3 (10.1.3)
    Regards,
    Praaksh.

  • Please help error -9808 when downloading apps in itunes store anyone can help me out

    please help error -9808 when downloading apps in itunes store anyone can help me out

    Click here >  iTunes: Advanced iTunes Store troubleshooting
    Then "expand" Specific Conditions and Alert Messages
    Then click 9808

  • HT4993 i am trying to install msnbc app from the app store and keep getting an error message.  The app will not install.  What can i do?

    i am trying to install msnbc app from the app store and keep getting an error message.  The app will not install.  What can i do?

    This is asked and answered many times each day.  The forum search bar is on the right side of this page.
    Disable your firewall/security software and try again.

  • My ipod touch is not syncing properly. I have updated the software to the latest (2.2.1) and have even resored it. Itunes says it is working and updated but will not sync and apps. Error message says that app will not sync because a newer version needed

    My ipod touch (model A1213) is not syncing properly. I have updated the software to the latest (2.2.1) and have even resored it. Itunes says it is working and updated but will not sync and apps. Error message says that app will not sync because a newer version needed.

    2.2.1 is not the latest available for any ipod touch.
    Is yours the original ipod touch?
    If so then:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • Error while clonning Oracle app 11i

    Hi all Once again, a new day a new error :)
    i am having Error while clonning Oracle app 11i on windows 2003 sp1 32 bit db 9.2.0.6.0
    when running adcfgclone.pl dbTier it successfully runs uptill 70% at this stage it throws the below error
    ================================================================================================
    Beginning database tier Apply - Wed Mar 7 01:49:19 2012
    Log file located at d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\ApplyDBTier_03070149.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute adclone.pl
    Please check logfile.
    =================================================================================================
    when i check the ApplyDBTier_03070149.log
    i found this below
    ==============================================================================================================================================================================================================================
    Skipping Profile Phase
    Skipping Apply Phase
    Executing StartDbLsnr...
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:50 AM
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:50 AM
    NPRO_hassan.cmd exiting with status 0
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
    ORACLE_HOME : d:\oracle\neproddb\9.2.0
    LOCAL : NPRO
    ORACLE_SID :
    PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
    LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
    ECHO is off.
    ECHO is off.
    The log information will be written to
         "d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\addlnctl.txt"
    ECHO is off.
    ECHO is off.
    Starting listener process NPRO ...
    ECHO is off.
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:56
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCNPRO))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=hassan.com)(Port=1534))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:57
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
    NL-00280: error creating log stream d:\oracle\neproddb\9.2.0\network\log\npro.log
    NL-00278: cannot open log file
    SNL-00016: snlfohd: error opening file
    32-bit Windows Error: 13: Permission denied
    Listener failed to start. See the error message(s) above...
    addlnctl.cmd exiting with status 3
    .end std out.
    .end err out.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hassan
    sDbDomain : com
    sDbPort : 1534
    sDbSid : NPRO
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:51 AM
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:51 AM
    NPRO_hassan.cmd exiting with status 0
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
    ORACLE_HOME : d:\oracle\neproddb\9.2.0
    LOCAL : NPRO
    ORACLE_SID :
    PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
    LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
    ECHO is off.
    ECHO is off.
    The log information will be written to
         "d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\adcrdb_NPRO.txt"
    ECHO is off.
    ECHO is off.
    Creating the control file for NPRO database ...
    ECHO is off.
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:01 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:42 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ORA-01012: not logged on
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ECHO is off.
    Checking for errors ...
    ECHO is off.
    The database has not been successfully created. Shutting down the instance...
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:52 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    adcrdb.cmd exiting with status 1
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hassan
    sDbDomain : com
    sDbPort : 1534
    sDbSid : NPRO
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:474)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    ==============================================================================================================================================================================================================================
    please help me out with your advices
    Thanks
    Hassan

    Dear Hussein / helios ,
    it worked finally i gave a high number 76 and it worked with out any problem also this time i gave loop back adapter an ip address i just remember now that i was not giving an ip to my loop back adapter i gave as below
    ip : 10.10.10.10
    subnet : 255.255.255.0
    and made my host file look like as
    127.0.0.1 localhost
    10.10.10.10 hassan.com hassan
    then i tested the ping by pinging hassan.com and the reply came from 10.10.10.10
    and also i disabled my wireless network card before running adcfgclone
    and it worked ALLHAMDOLLILAH :)
    Thanks to the great masters Hussein & Helios :)
    Now its time for appsTier cloning hope that it goes smooth :)
    Regards,Re: Error while clonning Oracle app 11i
    Hassan

  • Error Message while downloading apps

    i am getting error messages while downloading apps on my iPhone and iPAD.. using current 4S,5S and iPAD-4 with iOS7

    Rehan45786 wrote:
    After changing my password so many times, I m getting error message while downloading apps that my id has been disables.
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Error while running custom app

    Hi All,
    The following error occurred when  custom app is executed.
    kindly help in solving the issue.
    Thanks
    Rakesh Raparthi

    Hi Michael,
    Using sap UI5 technology.
    Thanks
    Rakesh R

  • I am trying to sync my iphone 4. Get error :"itunes cannot sync apps to the iphone because the apps installed on the iphone cannot be determined"

    I wanted to sync my iphone 4 (cdma).  I have synced it before successfully.  I am getting an error "itunes cannot sync apps to the iphone because the apps installed on the iphone cannot be determined" and the apps and items follwoing apps in syncing (photos for example) will not sync. Items prior to apps synced (calendar/contacts).  I restarted both my iphone (currently on ios 4.2.8) and my computer, itunes was on 10.6.1, same problem.  I installed itunes 10.6.3, same problem.  I had been waiting to update ios to 5.1.1 and would like to do that now, but wanted to sync first.  Anyone have any ideas?  I am stumped!  Thank you.

    Hello glenysfromwm
    On your computer, try the download link below to get the latest version of iTunes to download so you can sync with your computer.
    iTunes 11.1.5
    http://support.apple.com/kb/dl1614
    Regards,
    -Norm G.

  • Error during EPMA planning app deployment

    Hello Experts,
    I am trying to deploy an EPMA Planning application through Workspace. EPM version is 11.1.2.3
    Below is the error that is getting thrown while deployment (with selecting options - "Refresh Outline", "Create Security Filters" & "Full Deploy"):
    Creating Security Filters...: Index: 1, Size: 1 An Exception occurred during Application deployment.: Index: 1, Size: 1 
    Any idea what should be exact meaning of this error/exception?
    Regards,
    Santy.

    Hi Santy,
    Does it deploy if you remove the Security filter option, what is the error message if you deploy just the security filters from within the planning app and not epma, if it is generates an error from the planning app there should then be some information in the planning and essbase logs.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.

    Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.
    iMac, OS X Mountain Lion (10.8.4), trying to get Logic Pro X

    Hello jst84,
    The following article may be helpful in getting your purchase to complete.
    Mac App Store: "An unknown error occurred (100)" when purchasing
    http://support.apple.com/kb/TS3637
    Cheers,
    Allen

  • HT202159 An error occurred in the App Store. Try again later(13)..I wait for months!!! please help me! Can't download or update, install and buy!  iMac 2008, OS X Lion 10.7.4 (11E53).

    An error occurred in the App Store. Try again later(13)
    Can't download or update, install and buy!
    I wait for months!!! please help me!
    <Email Edited by Host>

    Disable anti virus software.
    Turn off the Firewall in System Preferences > Security (or Security & Privacy) > Firewall
    If that doesn't help, open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go
    Move the Cache.db file to the Trash.
    Now here:
    ~/Library/Preferences
    Click Go
    Move these files from the Preferences folder to the Trash.
    com.apple.appstore.plist
    com.apple.storeagent.pllist
    Now here:
    ~/Library/Cookies
    Click Go
    Move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Empty the Trash, try the App Store.

  • How to resolve Error "Adobe Acrobat (AcroExch.App rc=-2147221005) could not be loaded"

    How to resolve Error  "Adobe Acrobat (AcroExch.App rc=-2147221005) could not be loaded"

    What is your operating system?  Reader version?
    You get this error when doing what?

  • Error message in iTunes app when downloading movies

    I have this error in the iTunes app that whenever I try and restart a download it seems to not download the file properly and gives me the wrong amount of time it will take to download the movie to my phone and then fails to download the movies saying, "Download error. Tap to retry". I have tried "tapping to retry" several times and over and over again I get the same error every time I "tap to retry". It's stopping me downloading any movies now and now these files are stuck on my phone partially downloaded and unable to be finished, it's like their stuck in the ether of suspended animation and there isn't much I can do because I can't remove these partially downloaded movies off my phone, even when I connect my phone to iTunes for windows 7 they don't show up as existing on the phone, it is as if I never downloaded them in the first place and I can't download these movies from the desktop either because the "buy/rent" buttons are shaded out stopping me downloading these movies. As you can see I am stuck in a bit of a quandry.

    My computer was unauthorized to view/hear anything purchased from iTunes. I was able to fix the problem. Thanks!

  • TS1702 Hi, I getting a "playback error message" on youtube App. I tried to reinstall the app and to reset and restore the device and all these things didn't help.can you please help me

    Hi, I getting a "playback error message" on youtube App. I tried to reinstall the app and to reset and restore the device and all these things didn't help.can you please help me

    That's a peculiar one to get in the context of a QuickTime uninstall.
    Which particular version of QuickTime for Windows are you currently running? (7.7.5, 7.7.4, something earlier?)

Maybe you are looking for