News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

[Mac] no main.c in the workspace/resources

Started by willou, November 27, 2008, 02:03:56 PM

Previous topic - Next topic

willou

Hello,
I have a macbook pro(rev febr 2008) with OS X 10.5.5 and code block for mac 8.02 patch 2,
but when i create a new project in C nothing appear in the resources/workspace area, so i cannot write a thing.
I use Xcode on my mac and it works fine, but it would be better for my school if i can use Code blocks.
Can you help me, please ??

Jenna

Which project-wizard do you use ?

If you create an empty project, there is indeed nothing inside the project, but all the other wizards should create files, that should be listed in "Management -> Projects -> Workspace -> [your project]" .

willou

well i create a console application in C. so there should be something in my work space but there is nothing.

Jenna

#3
Quote from: willou on November 27, 2008, 02:49:05 PM
well i create a console application in C. so there should be something in my work space but there is nothing.

Not even an empty project ?

Is the "Projects" tab visible ?

If not there should be a little black triangle next to the "Resources" tab. You can use it to step through the possible hidden tabs.

willou

yes the project tab is visible,
but under that there is workspace then the name of my project with the logo of code block on its left and there should be under that the sources but there is nothing

Jenna

And no triangle next to your projects name (to expand the tree) ?

That means that the template-file for the console-wizard does not exist.

I don't know the directory layout of  MacOS X, but there should be something like "codeblocks/templates/wizard/console/c/main.c", maybe "/usr/share/codeblocks/templates/wizard/console/c/main.c".

If it's not there, a reinstallation might help.

willou

Crazy thing is i found that file !!
I really dont understand what s wrong