- February, 2008 (5)
- March, 2008 (1)
- April, 2008 (7)
- May, 2008 (8)
- June, 2008 (13)
- July, 2008 (10)
- August, 2008 (6)
- September, 2008 (4)
- November, 2008 (15)
There are two ways to include files in your project that guarantees compilation. Only one of these ways should be used at a time. Whenever you add new file to your project in Xcode 3.1, the "target," i.e. the executable being built, will be automatically selected. Little did I know. I never pay attention to these "details." After all, I'm the super, bees knees programmer guy. I already know it all. Right? If, as I did initially, you have your file (SimpleCat.cpp for me) added to a target, and you explicitly #include it you'll make gcc cry. Actually it will complain about duplicate symbols when linking. Incidentally the same thing happens on the command line so this isn't something Xcode is doing all by itself. If, for example, you have a file SimpleCat.cpp included in main.cpp and you try to use the command That is all. |
|||

.