Author Topic: Compiling projects  (Read 3715 times)

manutd

  • Guest
Compiling projects
« on: November 28, 2006, 01:17:49 am »
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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Compiling projects
« Reply #1 on: November 28, 2006, 01:22:41 am »
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
« Last Edit: November 28, 2006, 01:27:37 am by stahta01 »
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

manutd

  • Guest
Re: Compiling projects
« Reply #2 on: November 28, 2006, 01:23:52 am »
No, the project never compiles. The dialog just won't go away. Using g++ under cygwin, I can build the project fine.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Compiling projects
« Reply #3 on: November 28, 2006, 01:31:10 am »
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
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

manutd

  • Guest
Re: Compiling projects
« Reply #4 on: November 28, 2006, 02:21:58 am »
Stupid fix, my compiler path was wrong  :P