Author Topic: Code::Blocks installation (MAC)  (Read 3112 times)

Offline ahsten84

  • Single posting newcomer
  • *
  • Posts: 5
Code::Blocks installation (MAC)
« on: January 16, 2015, 08:14:30 pm »
Good afternoon all,

(Console application)
I am having a problem compiling my files.  Nothing will "cout" to my console.. 

I've installed
- xcode
- xcode command line tools

I am new to this and using code::blocks for my first CS I class.  Please help?

Screenshots Provided:

https://www.dropbox.com/s/lpx5fak7dyr7lei/IDE.png?dl=0
https://www.dropbox.com/s/d20dqjued237a6z/Screen%20Shot%202015-01-15%20at%2011.42.24%20PM.png?dl=0


[attachment deleted by admin]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Code::Blocks installation (MAC)
« Reply #1 on: January 16, 2015, 08:53:05 pm »
Try NOT using spaces or special characters in your project path.
I see a space which caused your problem in the links you posted.

Edit Between code and projects there is a space.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ahsten84

  • Single posting newcomer
  • *
  • Posts: 5
Re: Code::Blocks installation (MAC)
« Reply #2 on: January 20, 2015, 09:15:33 pm »
I've fixed the destination path to not show any spaces.  The program still won't install on my mac.  Any other mac users have a problem?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Code::Blocks installation (MAC)
« Reply #3 on: January 20, 2015, 09:44:38 pm »
I suggest posting the new build log; unless you just want wild guesses on the problem.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ahsten84

  • Single posting newcomer
  • *
  • Posts: 5
Re: Code::Blocks installation (MAC)
« Reply #4 on: January 20, 2015, 10:08:21 pm »

Offline ahsten84

  • Single posting newcomer
  • *
  • Posts: 5
Re: Code::Blocks installation (MAC)
« Reply #5 on: January 20, 2015, 10:12:34 pm »
Wow I just reset the compiler settings and rebuild it and it actually worked.
I don't know how it fixed it..

Screenshot below:
https://www.dropbox.com/s/ifkk3b22puc9v2a/Screen%20Shot%202015-01-20%20at%203.09.47%20PM.png?dl=0



I have a new question.. 

Is there anyway I can clear the text prior to my "hello world"

"Last login: Tue Jan 20 15:09:28 on ttys001
cometnet-10-21-36-197:~ austinmanifa$ /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/austinmanifa/Documents/codeProjects/test/bin/Debug/test"