News:

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

Main Menu

Code::Blocks installation (MAC)

Started by ahsten84, January 16, 2015, 08:14:30 PM

Previous topic - Next topic

ahsten84

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]

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ahsten84

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?

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]


ahsten84

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"