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.?
many thanks in advance,
koko
On 13.11.2008, at 19:06, 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.
Did you set the language grammar of the doc to C (status bar) ?
--Hans
Also on a sidenote, it's printf not prinft :
Ricki
Sent from my iPhone
On 13/11/2008, at 19.19, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
On 13.11.2008, at 19:06, 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.
Did you set the language grammar of the doc to C (status bar) ?
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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
Thankyou. but I still have problem.
@ Hans - I set "C" in status bar.
@Alex,
In preferences I can't find the "Disable" Xcode Bundles. There is no "bleeding edge" - Update Menu. Only "Cutting edge". After updating... still problem.
regards, koko
On Thu, Nov 13, 2008 at 7:40 PM, Alex Ross tm-alex@rosiba.com wrote:
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
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 13.11.2008, at 20:12, Salai Khine wrote:
@Alex,
In preferences I can't find the "Disable" Xcode Bundles. There is no "bleeding edge" - Update Menu. Only "Cutting edge". After updating... still problem.
With "bleeding edge" Alex meant: ⌥+click (option +click) the “check for updates” button in TextMate's preferences
To disable XCode open the Bundle Editor (CTRL+OPR+APPLE+B) and press "Filter" to uncheck the XCode bundle.
Then I believe it depends what C bundle version do you have installed.
Make this "bleeding edge" update, set language to C, open the gear menu CTRL+ESC, and select "Compile Single File"
I believe that ⌘R (command+R) is introduce in the latest C bundle.
--Hans