[SOLVED] How can I get CodeBlocks to run a clean terminal?

Status
Not open for further replies.

Ricardo_8

Reputable
Feb 21, 2016
57
0
4,630
this is my first class in C++ so I'm trying to figure out how to use codeblocks successfully on my macbook pro. My problem is that when I build a code, the terminal opens up with a lot of information that I don't need. Any possible way to have that terminal open like if it was on a windows pc?
or should I just buy the Parallels program?
 
90kkxcz93


hopefully that works,
Last login: Fri Jan 20 19:14:47 on ttys002
rickys-MBP:~ ricky$ /Users/ricky/Downloads/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/ricky/Desktop/C++/project1/bin/Debug/project1
Hello world!

Process returned 0 (0x0) execution time : 0.004 s
Press ENTER to continue.

basically that ^

 
Open a terminal from LaunchPad; change directory to <your project name>/bin/Debug; run the application from here by typing "./Hello" (or whatever the project name is). That way the program will run without the extra information about execution time.
 


im sorry but im no expert or even close to knowing how to use this pregram yet, i downloaded parallels on my mac and was able to download windows 10 and codeblocks. when i hit build and run it gives me "Target uses an invalid compiler; run aborted''

 


okay, how can i do that step you told me to do if u dont mind me asking for a bit more details or a video. I appreciate the help too, seriously
 
Status
Not open for further replies.