Author Topic: [Mac] no main.c in the workspace/resources  (Read 3188 times)

Offline willou

  • Single posting newcomer
  • *
  • Posts: 4
[Mac] no main.c in the workspace/resources
« on: November 27, 2008, 02:03:56 pm »
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 ??

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: [Mac] no main.c in the workspace/resources
« Reply #1 on: November 27, 2008, 02:17:26 pm »
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]" .

Offline willou

  • Single posting newcomer
  • *
  • Posts: 4
Re: [Mac] no main.c in the workspace/resources
« Reply #2 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.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: [Mac] no main.c in the workspace/resources
« Reply #3 on: November 27, 2008, 02:55:16 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.

Offline willou

  • Single posting newcomer
  • *
  • Posts: 4
Re: [Mac] no main.c in the workspace/resources
« Reply #4 on: November 27, 2008, 03:10:19 pm »
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

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: [Mac] no main.c in the workspace/resources
« Reply #5 on: November 27, 2008, 03:25:46 pm »
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.

Offline willou

  • Single posting newcomer
  • *
  • Posts: 4
Re: [Mac] no main.c in the workspace/resources
« Reply #6 on: November 27, 2008, 03:47:14 pm »
Crazy thing is i found that file !!
I really dont understand what s wrong