Code::Blocks Forums

User forums => Help => Topic started by: ahsten84 on January 16, 2015, 08:14:30 pm

Title: Code::Blocks installation (MAC)
Post by: ahsten84 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]
Title: Re: Code::Blocks installation (MAC)
Post by: stahta01 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.
Title: Re: Code::Blocks installation (MAC)
Post by: ahsten84 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?
Title: Re: Code::Blocks installation (MAC)
Post by: stahta01 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.
Title: Re: Code::Blocks installation (MAC)
Post by: ahsten84 on January 20, 2015, 10:08:21 pm
here is the build log.

https://www.dropbox.com/s/cnwo8c5rtqnb2ns/Screen%20Shot%202015-01-20%20at%203.06.50%20PM.png?dl=0

[attachment deleted by admin]
Title: Re: Code::Blocks installation (MAC)
Post by: ahsten84 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"