[TxMt] Re: C Programming - Problem with textmate & Xcode.

Alex Ross tm-alex at rosiba.com
Thu Nov 13 18:40:13 UTC 2008


On Nov 13, 2008, at 7:06 PM, Salai Khine wrote:

> Dear All,
>
> I am very new with MacOSX and Textmate(1.5.7). I write with TextMate  
> simple HelloWorld in C.
>
>
> #include <stdio.h>
> int main()
> {
> 	prinft("hello world");
> 	return 0;
> }
>
>
> When I run the code. I always get this error.
>
> xcodebuild: Error: the directory /Users/koko/Documents/MNP does not  
> contain an Xcode project.
>
> what is the problem? I dont wanna use Xcode editor for C learning.
>
> How can I configure the Xcode complier for TextMate editor.?

You should first disable the Xcode bundle in textmate's preferences.

Now, update to the “bleeding edge” TextMate by ⌥+click (option 
+click) the “check for updates” button in TextMate's preferences.

In C mode, you can now compile and run files with ⌘R (command+R).

—Alex


More information about the textmate mailing list