Xcode freaks out when I switch C++ project to 10.3.9 SDK
I have a very simple program in a .cpp file in a command-line project that can build for 10.5, but I wanted to make this project build for the oldest version of OS X that's reasonable. So I went into the Project configuration and simply chose the Base SDK "10.3.9". Was that wrong? Should I not have done that?
Because now I'm getting one of those error cascades where nothing seems to make sense to the compiler. It starts with the very first line in the .cpp, "#include <string>", to which Xcode says "/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/c++/4.0.0/string:44:28: error: bits/c++config.h: No such file or directory", and then gives the same error while referring to bits/c++locale.h, bits/c++io.h, etc. etc. It also returns the same errors for the next line of code, #include <iostream>.
Failing to find the appropriate headers then causes hundreds of errors in the remainder of the code, of course. But there's something fundamental here that I messed up, and I'm guessing it's obvious and that I should really know better.
Did the code compile with a different Base SDK? If so, set the deployment target to Mac OS X 10.3 and use the 10.5 SDK. Your app will run on Mac OS X 10.3.9 and later, and hopefully your compiler errors will go away. The deployment target determines the earliest version of Mac OS X that can run your app, not the SDK.
Similar Messages
-
[N97 mini] phone freaks out when I want to pick up...
Is there some sort of workaround, tweak or app available that can prevent my phone from freaking out when I want to receive a phone call? It is simply impossible to see who is calling because the display will not display anything for a few seconds when it's rotated. It is also not possible to use the slider keys to pick up or decline the call. Is there some way to prevent the display from rotating without disabling auto rotating all together?
1. iTunes Menu > Store > Authorize This Computer
2. iTunes Menu > Store > Sign in
3. iTunes prefs > Devices > Prevent .... from syncing automatically
4. With iTunes open, connect phone
5. iTunes Menu > File > Devices > Transfer Purchases
6. iTunes Menu > File > Devices > Backup
Now safe to sync. You will lose any music/media on the phone that was NOT purchased from the iTunes Store (i.e. ripped CD's, MP3's from other sources) -
Premiere Pro CC scrambles media in-outs when converting CS5.5 Project
Bit of a strange situation here. Created a project in CS5.5, edited some WAV files on the timeline. WAV files had non-zero starting time codes (they were coming from ProTools).
Opened the project in CC, said yes to conversion.
About 20% of the clips are showing the 'media missing' diagonal bars (5 clips are totally slashed out, and 2 clips have some portion of the beginning of them slashed out). No audio plays during the diagonal bar sections.
One footage item (Part 2.wav) starts at 22;29 and runs to 50;03
An instance of this clip on the timeline has in=33;10, out=40;14, which seems right.
This is all the same in both CS5.5 and CC, but CC shows the slashy bars while 5.5 works fine.
Tried offlining/relinking, etc. With and without "align timecode" checked. No dice.
I can replicate this messed up timeline in a variety of ways:
1) Converting the project from 5.5 to CC by opening it in CC
2) Create a blank project in CC and import the whole 5.5 project, and reconnect media when asked
3) Create a blank project in CC and import just the single sequence, and reconnect media when asked
4) Convert the project from 5.5 to CC by opening it in CC; and then import the whole 5.5 project into the new one again
HOWEVER. Two ways do work:
1) If I convert the project from 5.5 to CC by opening it in CC, and then import just the single sequence from the 5.5 project, the imported sequence works perfectly. It doesn't even bring in its own WAV files - it realizes they're already in the project and draws from them instead. (The converted sequence is still broken, even though the identical imported one is working).
2) Opening the sequence in 5.5, copying the contents of the sequence, and pasting them into a CC project, works too.
I'm stumped - anyone have ideas of experiments to run or things to try?I think you've got two solutions right there. General wisdom is to only work on new projects in the new version. Finish old projects in the version they were started in.
This is why. -
My iphone blacks out when i switch on Edge/ 3 g.any remedy?
My I phone 3 GS has been upgraded to latest IOS6. Now when ever I switch on Edge/3 G services the phone blacks out. Why? Any remedy to this?
Have you contacted your carrier to ensure cellular data is provisioned properly for your account and iPhone?
-
error message comes up and blue tooth freeks out
Any ideas hoew to get bluetooth phone and use music out put at the same time?Hello,
Do you know the error message? it's a good idea when you receive an error message to include them in the forum it will allow us to better help you. So to get a better understanding of your problem you are attempting listen to music via bluetooth as well as use a hands free device? -
Safari keeps logging me out when I switch between open windows
Performed an update now every time I switch between open windows I have to re login to every site.. Never had to before update
Go step by step and test.
1. Delete Caches.db
Close all windows and quit all applications.
Hold "option" key down and click "Go" menu in the Finder menu bar.
Select "Library" from the dropdown.
Library > Caches > com.apple.Safari > Caches.db
Right click the Caches.db file and select "Move To Trash.
Close windows and relaunch Safari.
2. Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown.
3. Delete Cookies
Safari > Preferences > Privacy > Cookies and other website data:
Click “Remove All Website Data”.
4. Safari > Preferences > Extensions
Turn off Extensions if any and launch Safari again to test.
Turn on those one by one and test. -
File Name Associations Drop Out When Changing Project Name
Posting on behalf of a colleague. He's using Robohelp X5 on a
Windows XP computer.
"We have frequent occasions in which we must take an existing
online help project (ABC_001, for example), make some
tweaks/additions/omissions, and release a revised online help
project (ABC_002). We have been cloning the existing help project
(ABC_001), renaming the project, making the necessary changes to
the help project, adding or deleting map IDs in .hh files as
necessary, importing revised .hh files as necessary, and then
releasing the project under the new name. We want to maintain map
ID numbers and assignments (25ANG1, Map #: 640, File name:
Synchronism Check#25ANG1) from ABC_001 to ABC_002, but the File
name associations drop out when we change the project name. It is
then a laborious process to go through the list and reassign all
the topics to the appropriate File names. Is there any way to
maintain topic labels with their map ID numbers and their File name
associations from one project to another?"
TIAMy colleague's reply:
"I discovered that it requires just one more step in the help
project before I can actually see the file name
associations/aliases again. I have to recompile, as Colum
recommended, but then I have to close down RoboHelp and reopen the
project. Then, if I am in Project View and navigate to
Context-Sensitive Help/Map Files/All Map IDs, I can see all of the
file name associations again. Thank you, Colum, for your
help!" -
HELP- Audio is freaking out in export when it sounds fine/looks fine in Sequence!
My project sounds fine while editing, but once I export, towards the end of my project the audio is freaking out in levels. It will be loud at one point and then quiet at another all in a matter of 20 seconds. I originally had mp3 tracks but I switched all to AIF so I can't seem to find the problem. Please help!
When you swtiched audio formats did you go through compressor or just render in the timeline.
bogiesan -
Internal error on xcode 2.5 when creating new project
I just installed xcode 2.5 on a MacBook Pro running 10.4.11. I get the following error message when
creating a new project (existing projects open fine):
Uncaught Exception:
* -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
Stack Backtrace:
The stack backtrace has been logged to the console.
This is the backtrace from console:
2007-12-31 14:54:49.951 Xcode[516] * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
2007-12-31 14:54:49.956 Xcode[516] Exception raised during posting of notification. Ignored. exception: * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
2007-12-31 14:55:01.145 Xcode[516] * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
2007-12-31 14:55:01.244 Xcode[516] ** INTERNAL ERROR: Uncaught Exception **
Exception: * -[TSFileManager supportFilesRootPath]: selector not recognized [self = 0x360220]
Stack:
0 0x9e23deb1 -[TSException raise]
1 0x92852243 +[NSException raise:format:]
2 0x928da4c6 -[NSObject doesNotRecognizeSelector:]
3 0x927fe327 -[NSObject(NSForwardInvocation) forward::]
4 0x90a5ccbd _objcmsgForward
5 0x94d6cced +[NSBundle(TSBundleAdditions) searchPathsForSupportFilesWithSubpath:]
6 0x9eaf3ed4 -[PBXWizardChooserWizard addWizardProxiesFromDefaultSearchPaths]
7 0x00009c8e
8 0x93383db8 -[NSApplication sendAction:to:from:]
9 0x93431d0b -[NSMenu performActionForItemAtIndex:]
10 0x93431a4d -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
11 0x93362e32 __NSHandleCarbonMenuEvent
12 0x93296818 __DPSNextEvent
13 0x93296072 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
14 0x9328fdf7 -[NSApplication run]
15 0x93283d4b _NSApplicationMain
16 0x0000a46e
17 0x0000a395
Any suggestions about why this is happening and how to correst it?
RickI had the same issue then I found out all you have to do is to set the default view to List before opening any previous or new project and it worked, credit goes to this user below who found the solution.
ahmedMac25
I was able to resolve by workaround:
1. Closed all open applications
2. relaunch Finder
3. run sudo find / -name ".DS_Store" -exec rm {} \;
4. this removes all .DS_Store old files on the computer
5. launch finder and set default view to "LIST VIEW" as shown here:http://macs.about.com/od/usingyourmac/ss/Setting-Finder-Views-For-Folders-And-Su b-Folders_2.htm
5. rerun the offending application and file chooser works -
How do I import an existing finalised movie clip into a new developing project ? I go through the imovie 11 procedure for importing and the list of clips (finalised and un-finalised) appears, but always "greyed out" which makes it impossible to create anything. I have tried placing it on the desk top and dragging but this doesn't work either.
AppleMan Thanks very much for the information, however I could't make it work. I followed your instructions to the letter, in fact I tried every which-way. I created a dedicated file into which I copied and pasted the project from "package contents" but it was still greyed out when I went to retrieve it. I also found that the file size was reduced to only a few Kb. Any further step-by-step instructions would be appreciated as I am obviously doing something wrong. Babowa It appears that in imovie everything has to be "finalised" before it can be used or shared elsewhere in the same way as a disk has to be to be played elsewhere. Funnily enough an MOV file I converted to Mp4 was not greyed out and I was able to import it.... an exercise I am not keen on because of resolution loss during conversion
-
I have a project that crashed on me when I was about to finish it. When I try to reopen Final Cut Pro it wouldn't open until I took the project out of the Final Cut Project folder. Can somebody tell me if this is a problem that has a solution? I cannot go back to the project at all.
If you are using 10.0.3 or above Apple added a backups folder that for a little extra protection in cases like this. If you quite FCPX go to your Final Cut Pro Projects folder. Find the folder that has the project in question. If it has a backups folder there should be a file with a date stamp and .fcpproject extention, that is your back-up. Just move the back-up from that folder one folder up to the place where you deleted CurrentVersion.fcpproject from. When I have had to do this I haven't renamed the backup but some people to recomend that you rename it to CurrentVersion.fcpproject and it seems to work both ways. Ofcourse it wont work if there is already a CurrenVersion file there you will need to delete that one first.
If you don't have the backups folder or there is nothing in it I am not sure if there is anything that can be done. -
Keynote Crashing - with Lion. Most often when I switch out of Keynote to another program - Keynote freezes - says Application Not Responding. If I save the Keynote before switching, it does not crash - only when it says it is an "edited" file....help
I posted this on another thread. See if this works:
1) Uncheck "Backup previous version" in Keynote's Preferences.
2) Make a duplicate copy of your file that has issues and save it.
3) If you still get spinning wheels from switching between apps after editing or 10 seconds of inactivity, manually save with command+s. It may beach ball here but be patient and wait for it to finish! Try editing and resume doing work now.
Command+s may be a bit slow but I think that might be normal since the files are so big.
Good luck and let me know if this works. -
Does Apple TV actually shut off when you switch back to regular TV? Or do you have to sign out? How do you sign out? Or is there another way to shut it off? Thanks!
No, you need to go into the settings and select sleep now.
You can also press/hold the select (centre) button on the remote for 5 seconds. -
I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question). I haven't had this issue before, I have always used the content library on the screen but haven't used this for about a month. How can I make the Content Library available?
Thanks so much! I am backing up the entire computer now with an external hard drive - this should be fine right? And surely if I am backing up the whole computer these projects/videos will be backed up too? I wasn't sure how to do this any other way and I am clearly not great with tech issues. Once this is done and I am sure my projects/videos are safe I will do the delete and reinstall bit. Thanks for taking the time to help
-
When I switched computers my songs now cut off and don't play out. How can I get my songs back to play fully that I purchased from ITunes over the past years?
Other people have been having similar problems with songs over the last few days, I assume that there has been a problem with Apple's servers.
Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting those tracks from your iTunes library and redownload them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
If you aren't in a country where you can re-download music or if they re-download in the same state then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find those songs and use the 'Report a Problem' link.
Maybe you are looking for
-
GL Account User Exit for all FI transactions
Hi Experts, We have to create a Ztable and it stores GL bank account principal amount. Ex: 130121 (SCB Bank) - Rs.10,00,000.00 In SAP , for the same GL account closing balances will available in FS10N of each month. Ex: 130121 (SCB Bank) for Sep'09
-
I am having the hard drive (from the recall) on my 2009 intel iMac in an hour in my home via Apple. I have 2 seperate backups on two different external drives. Both have Mountain Lion which I purchased when it came out. Apple specifies the tech will
-
CSS, Flash, or HTML? What is causing the white vertical bar?
I am using an I-frame to embed a photo gallery that was created with Adobe Bridge CS4. Adobe Bridge instructed me to make the iframe height = 75% of the width. The code is <iframe src="PhotoAlbum/index.html" width="900" height="675" frameborder="0"><
-
Browsing at 2560 x 1440 resolution.
Is there any way to set Firefox to fill my screen without zooming every time I change pages? I have a 27" iMac, and at full resolution is 2560 x 1440. I know I can change the resolution of the display, but that cuts into the functionality of other ap
-
I have not been able to get a sound from my iphone when its in lock mode to let me know i have a text since i updated this new CRAP!!!! All this money for an iphone and i cant hear a dam thing from it. ANyone have a fix for this or do i have to liv