User forums > Using Code::Blocks

Compiling projects

(1/1)

manutd:
When I try to build and run a new project, Code::Blocks comes up with a dialog asking me whether I want to build the project now. When I select yes, it displays the same dialog and does nothing. What am I doing wrong?

stahta01:
Verify that "Messages" Window is open; look at "Build Log" for errors. Sometime errors don't show up in "Build Messages"

To open the "Messages" Window, use "View" and click on "Messages" so it has a check mark in front of it.

Tim S

manutd:
No, the project never compiles. The dialog just won't go away. Using g++ under cygwin, I can build the project fine.

stahta01:
Turn on compiler logging using:

"settings" -> "Compiler and Debugger"
Make sure the correct compiler is selected.
Click on tab "Other"
Set compiler logging to "Full Command Line"

Then use "Build" -> "rebuild" to rebuild the project.

Post the "Build Log" if you don't see the problem yourself.

Tim S

manutd:
Stupid fix, my compiler path was wrong  :P

Navigation

[0] Message Index

Go to full version