Compiling a Carbon app w/library that supports Cocoa as well

We are linking to a library that supports video rendering in both Cocoa and Carbon/AGL environments. I can compile and link with a Cocoa application. That works fine. I just had to include the Carbon and AGL frameworks. No problem.
Where I am running into trouble is with our Carbon application. I have included the frameworks that are necessary for Cocoa to run (cocoa, foundataion, appkit, etc...). Here is where the trouble starts:
The compiler is, of course, confused by the objective-c directives. Okay, so I go into the build settings and add "-x\ objective-c++" to the cflags. I compile again and it no longer complains about objective-c++, the compilation finishes fine. Now the linker complains:
"File not found: /Developer/....path...../Debug/...projectName.build..../Objects-normal/i386/mai n.o"
Sure enough there is no file, main.o, but there is a file, projName.LinkFileList.
Why (even though the compiler output says that main.o exists) isn't main.o sticking around? Is there anything obvious that I am doing wrong?
Excuse me if this is hazy. I'll clarify anything you ask.
NOTE: I cannot change this static lib to use only Carbon OR Cocoa. It (only) supports both and (I think) must be linked to both frameworks.
Thanks for reading.

Why would the compiler be looking at Objective-C directives? It is one thing to link with a library that supports different languages. It is something else to #include headers from that other language. Do the Carbon headers have Cocoa in them? Are they not surrounded by macro guards?

Similar Messages

  • App that supports multiple IM platforms

    does anyone know if there is an app for iphone that supports multiple IM platforms, such as is available on desktop machines e.g. Pidgin, Trillian etc?

    Hello
    A couple I know off the top of my head
    IM+ Lite
    IM+ Pro
    Palringo Instant Messanger
    Beejive IM

  • Is there any apps for iphone to support rpc over http or any software yet

    Hi,
        Am wondering if there is any kind of app or software that supports rpc over http in exchange 2003 enviroment for iphone?? I am looking for solution for my company employees so that they can get emails securly to their hand held devices. I found one called "good" but havent used yet and dont know if there is any configuration fro rpc over http. Any suggestion would be greatly appreciated.
    Many thanks,

    The number of apps currently available in the App Store compatible with both iOS 4.2.1 and the iPhone 3G hardware (a major limitation) is dwindling rapidly. If you don't already have a supply of apps, your choices are getting fewer and fewer.  TIme to consider upgrading the phone.

  • I want to take remote access from an iTunes library off of my iPad ...when I hit edit from the remote app it pulls that library up ..if I delete it I just want to make sure that I'm not remotely wiping out the library, just access to it from my iPad ?

    I want to take remote access from an iTunes library off of my iPad ...when I hit edit from the remote app it pulls that library up ..if I delete it I just want to make sure that I'm not remotely wiping out the library, just access to it from my iPad ?

    Call the apple store you got it from and ask them. Sometimes in the past they've extended the 'no questions asked return' but only Apple can tell you for sure.

  • I am looking for a text to speech app that supports the Books App?

    I am looking for a text to speech app that supports the Books App?

    If Settings -> General -> Accessibility -> VoiceOver does not work, then it is unlikely iBooks will do text to speach on its own in the current version.
    <http://www.apple.com/feedback>
    I know that some competing services, Kindle, Nook, etc... are restricted in doing text to speach by the book publishers.
    If this is text in a PDF (not an ebook), then maybe there is another app that can to text to speach on PDFs.
    If it is published books that are of interest, there is Audible.com <http://www.audible.com/>
    In theory it should be possible to use the Mac OS X Text to Speach facilities to convert a document into an audio file, and they sync that to the iPod Touch.  I assume there is similar text to speach utilities for Windows systems.
    I'm also guessing that there are web sites dedicated to assisting sight impaired individuals that might provide ideas for getting text to speach options for the iPod Touch.

  • IPod Touch 2nd Gen can stream Youtube but cannot stream Apps that supports Online Streaming , it just kicks itself out of the app

    iPod Touch 2nd Gen can stream Youtube but cannot stream Apps that supports Online Video Streaming , it just kicks itself out of the app.
    It used to be able to stream apps that supports Online Video Streaming , tried Restore a couple of times and it didn't help .
    What could the issue be ?

    The ESPN Radio is basically a Paid radio station.Make sure you have enuff balance to stream a radio from your Iphone. .
    Check if you required to open any ports on your router for ESPN Radio. 

  • I have a 4yo MacBook Pro, that has a super-old version of Microsoft Word ('04?) on it. I upgraded to Mavericks. Now Word PowerPC apps are no longer supported. How do I change my default opener to Pages?

    I have a 4yo MacBook Pro that has a super-old version of Microsoft Word ('04?).  When I try to open a Word document, a note pops up saying that PowerPC apps are no longer supported.  How do I change my default document opener to Pages?

    Okbart wrote:
    Can I safely send the Word Office icons and anything else related to it that shows up in spotlight to the trash?
    You mean for Office apps? That, I don't know for sure as I don't use MS Office on my Mac. I would check to see if there is some sort of MS Office uninstaller that needs to be run before dragging the icons to Trash. Either from one of the Office apps Help or About or search the Internet for a solution.
    EDIT: A quick Google search found this link which may help you.

  • I TUNES CONTENT DISSAPEARED BY CREATION OF A SECOND I TUNES LIBRARY FOR THE I PHONE 4 OF MY DAD. I TRIED TO CREATE A SECOND LIBRARY THAT I HAVE NOW BUT MY ITUNES LIBRARY FULL OF MUSIC, PICTURES AND APPS DISSAPEARED AND I DON'T FIND HIM BACK WHAT DID I DO

    Hello
    I have a big problem.
    The all content of my itunes library dissapeared when i created a second library for my dad's iphone.
    Now i have a library on his name that is empty and i lost the all content of my own library that was full of music, apps, pictures, ...
    What can i do to solve this problem. I hope i can repair this problem.
    Can somebody please help me very quickly.
    Thanks a lot
    Krystal from Belgium

    Hello
    I have a big problem.
    The all content of my itunes library dissapeared when i created a second library for my dad's iphone.
    Now i have a library on his name that is empty and i lost the all content of my own library that was full of music, apps, pictures, ...
    What can i do to solve this problem. I hope i can repair this problem.
    Can somebody please help me very quickly.
    Thanks a lot
    Krystal from Belgium

  • I have installed Adobe Lightroom CC.  In the process of launching, a popup appears, that says:  "AN INTERNAL ERROR HAS OCCURRED.  Cannot create the required folder:  /Users/(my user name)/Library/Application Support/Adobe/Lightroom/Develop Presets."  So e

    I have installed Adobe Lightroom CC.  In the process of launching, a popup appears, that says:  "AN INTERNAL ERROR HAS OCCURRED.  Cannot create the required folder:  /Users/(my user name)/Library/Application Support/Adobe/Lightroom/Develop Presets."  So even though Lightroom CC is installed, it will not launch.  What do I need to do to allow it to launch?

    The problem was solved today.  Here's the full story.  I'm a Mac user.  At first I installed Lightroom CC on my iMac (desktop).  I had this problem so I called Adobe, and was referred to a "special unit" .  After about an hour the tech solved it for me ... we did a screen sharing and she took control of my computer for a loooong time.  Because of language difficulties, at first I wondered if she knew what she was doing but she eventually solved it.  Although she couldn't explain exactly what she was doing, she summarized it by saying "it was a permissions problem."  I asked if I would have the same issue later when I installed it on my laptop (Macbook Air).  She said probably not.
    But I did.  The same internal error popup arose on launch and launch did not complete on my laptop.  I tried chat but no joy so I eventually called Apple Care.  I had noticed that on my laptop (and the iMac for that matter), that there was no Library folder after my user name.  The Apple tech explained that the Library folder is actually there but it is hidden because it's very easy for users to do some very nasty things to their computer by going astray while in the Library folder.  The folder is actually there, but they hide it.  I did remember seeing that the tech helping me with my iMac had typed the work "Library" while she was controlling my computer.  Basically she had activated the hidden Library folder so she could open the path that Lightroom was trying to follow to create that "Develop Presets" folder.  For some reason, the inability to create that folder in the launch process was preventing launch from being completed.  The Apple tech said she didn't actually have to do that and activated the Library folder by use of the Go selection on the menu bar.  Anyway, once that complete path was replicated and opened, the next step was to go to the Lightroom Permissions field and add my user name to the user categories already there and enable "read and write" permissions to my user name.  Once done, I shut down my laptop, and then rebooted.  I launched Lightroom and then boom, voila, heavens to betsy, etc. it launched and suddenly a dismal weekend turned into a great one. 
    I am not a geek, so I hope this makes some sense.  I also hope Lightroom launches again tomorrow and beyond! 

  • List of apps that support tv out?

    hello i pod fellas.
    just bought the av cable. so after google and stuff i realized that few apps do support tv out.
    youtube and video does so far so good.
    but how can i see if an app does support it? without trying it;D
    is there a list with games that do support it ?
    and is there any information if in near future more game will support it?
    while googlin i found that on jailed pods there is sth like screensplit app or what ever where u can play games on tv. but i am to old to jailbreak;D i want my clean pod. so why do the games lack in tv out support and will that change in time?
    thx for readin and possibly even answerin;D
    Message was edited by: telosboy

    hm i tried google before. list ipod app tvout.
    lot of stuff bout jailbreak apps. but nothin that helps me;D u know any game that supports tv out? cause i dont want to check all the descriptions to find one;D

  • I recently upgraded to Mavericks from Snow Leopard. Does Snow Leopard still exist on my Mac? If so, is it possible to restart under Snow Leopard in order to run PowerPC apps? If not, is there an OS available in 64 bit that supports PowerPC apps? Mav ***.

    I recently upgraded to Mavericks from Snow Leopard. Does Snow Leopard still exist on my Mac? If so, is it possible to restart under Snow Leopard in order to run PowerPC apps? If not, is there an OS available in 64 bit that supports PowerPC apps? Mav ***.

    The only reason I upgraded to Mavericks was because my Snow Leopard OS was 32 bit, which I was told would support only 4GB of RAM.
    That wasn't quite right. You can put in as much RAM as your Mac's hardware supports. The division is in the apps themselves. A 32 bit app can't use more than 4 GB or RAM. A 64 bit app can use much more.
    For example, as a 32 bit only version, Photoshop CS3 can't use more 4GB of RAM, no matter how much you actually have installed. CS4 or later can use all the RAM you want to throw at it.

  • Is there any app that support to send or recieve files from another non-iphone?

    is there any app that support to send or recieve files from another non-iphone?

    if an app was made for both the iphone and the other phone then yes
    one can always use dropbox and google drive and the likes

  • Apps that support IOS 3.1.3 version ?

    Hi,
    Can someone help me to find out all the apps/games that support IOS 3.1.3 version from itunes store.
    Where can i get them?
    Thanks

    kiran,
    You can't install the newer ios apps since the CPU and internal RAM inside an ipod touch 1G can not support the demands of the newer software.  There are still many many many apps available that will work.  The trick is finding them.
    I wrote "Vintapps 3.1.3" to make this easy for anyone who has this problem due to keeping their devices for years or getting a handme down.
    Vintapps info/support:  https://www.facebook.com/VintApps313
    For a web based method see,
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/finding-a pps-for-older-devices
    Although I wrote my 99 cent app specifically to help solve this problem, I need to add that "I may receive some form of compensation, financial or otherwise, from my recommendation or link."
    Jim

  • Apps that support after event alert?

    The default iphone calendar can only set alert before or at the time of event. I want also set the alert after event. What is the apps that support this feature?

    hm i tried google before. list ipod app tvout.
    lot of stuff bout jailbreak apps. but nothin that helps me;D u know any game that supports tv out? cause i dont want to check all the descriptions to find one;D

  • Cannot find phones that support sample app

    I downloaded the "duece_interface" fla. sample files from
    this site, opened it up, tried to test it in the flash lite
    emulator, downloaded the latest device updates extension, and still
    cannot find any models that support this app. Any clues? thanks.
    Sorta new to flash lite.

    You may be receiving the problem loading content error
    because the SWF you are trying to load is not published as a Flash
    Lite file. Also the JPEG may be too large in file size (not the
    actual kB of the file) but the actual file size needed to decode
    the image and render it in the Flash Lite application.
    Hope that helps,
    -- Michael Krisher
    http://www.mikekrisher.com

Maybe you are looking for

  • Error while publishing new application

    Hello, I'm trying to publis a new application to the MobileServer (latest version installed, 10.1.0.3.0). Using the publication wizard I created a new application, from master repository connection I selected the Database tables to import. At the end

  • Slideshow doesn't import correctly into iDVD

    Hi all. I posted this in an iDVD forum and got no responses. I thought I'd post it here too, just in case anyone has an idea. I have created some excellent slideshows in iPhoto. They are put to music from iTunes. The slideshows contain multiple adjus

  • What is open firmware command to boot a Powerbook G4 from a CF card in the PCMCIA slot?

    I have a Powerbook G4 Titanium with a bad motherboard that will no longer power the internal hard drive. I want to to install an OS and boot from a CF card in the PCMCIA slot. I understand this has to be done from Openfirmware, but I cannot figure ou

  • Opening and editing ppt files with keynote ios

    how do i get a powerpoint presentation on my computer to my ipad where i can open and edit it in keynote? should i use something like dropbox on the ipad to store the files and then open them from?

  • My mail app won't open.

    My mail app won't open. If I click on it it pulls up a blank screen and closes itself. It's an iPhone 5s running iOS 8 how do it fix it?