News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Nightly Builds: Not working

Started by Decrius, December 28, 2006, 10:43:07 AM

Previous topic - Next topic

Decrius

Hi,

I installed CodeBlocksNBs  like described here: http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows

Codeblocks is running, but I can't compile my previous project, from CB RC2

I installed MinGW in the same directory as CB, and set all the directories to the include, lib and root folder.

CAN I compile my previous project in the new CB? (using GLFW)

Thank you :)

PS Is there a possibility to change the layout back to CB RC2? (No dark-grey headers or cyan brackets)
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

Decrius

I can't even create a new GLFW project!

Its asking to define the active set or something :S, with lots of things to fill in. I think its better to use RC2 :S, its at least easier.

Decrius
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

David Perfors

That dialog is vcalled Global variables. You can find information about it in the wiki
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Decrius

#3
Okay, I filled the location of CodeBlocks root directory in the base value :S

I get this error:

Quote-------------- Build: Debug in GLFW2 ---------------
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -g  -I"J:\Program Files\CodeBlocksNB\include" -I"J:\Program Files\CodeBlocksNB\include"  -c main.cpp -o obj\Debug\main.o' in 'G:\Documents and Settings\Taco\Bureaublad\Coding\C\GLFW2' failed.
Nothing to be done.

And with my previous project:

Quote-------------- Build: default in GLFW Application ---------------
Linking executable: glfw.exe
Execution of 'mingw32-g++.exe -L"J:\Program Files\CodeBlocksNB\lib"  -o glfw.exe .objs\main.o    -lglfw -lopengl32 -lglu32 -luser32 -lkernel32 -lgdi32  -mwindows' in 'G:\Documents and Settings\Taco\Bureaublad\Coding\C\GLFW' failed.
Nothing to be done.

However, this is only working when I click BUILD. When I press F9, its asking me to build it, but it doesnt!!! Instead, the same window comes over and over again, till I press the No-i-dont-want-to-build button.

Really, I don;t see any improvements yet, except the compiler is the newest version. :(

Decrius

EDIT: lol, it says nothing to be done ^^, there a lot to be done :P
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

David Perfors

Could you try to rebuild the whole project?
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Decrius

Yes I can, I'm trying, but I get the error displayed in the previous post. Something wrong with the compiler :S

I tried to start up a new GLFW project, if I run the main.cpp file that is included, I get errors!

Ah, I send bad radiation, nothing works at once, lol.

Decrius
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

David Perfors

uhm... the base directory of GFLW is not you're CodeBlocks directory is it?
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Decrius

Okay, I reinstalled Codeblocks, MingW is in my G:\ hardrive (where windows is installed on, I rather installed it on my J:\ harddrive, where all my programs are, but that seems very difficult to do).

Very silly, but CodeBlocks remembered my previous settings I had, which I didn't wanted, that means reinstalling has no point.

Base directory? I really don't know what it is, what should my 'base' directory be? Isn't that just my CB directory? (And now my MinGW directory? Where the .h and .lib files are).

I get this error, when I try to compile the GLFW project included in CB:

-------------- Build: Debug in Daecrius ---------------
Compiling: main.cpp
Execution of 'mingw32-g++.exe -Wall -g  -IG:\MinGW\include  -c main.cpp -o obj\Debug\main.o' in 'J:\Program Files\CodeBlocksNB\Projects\GLFW\Daecrius' failed.
Nothing to be done.


Thanks for the help so far :)

Decrius
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

Decrius

#8
What _should_ I fill in, in the base text field? What will it _add_ to my project?

What is wrong? Something with the compiler? Why doesn't the build log shows me what is wrong?

Decrius

Edit: Even console projects dont work!
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

Decrius

Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

Decrius

Even if I try to use the MinGW compiler on my G:\ harddrive (with CB RC2) instead of the mingw coming with rc2, its giving the same errors. Maybe something wrong with setting up the compiler?

Decrius
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

Decrius

Is it usual that MinGW-5.1.2.exe is 0 kb?

:s

Decrius
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]

Decrius

Sorry for all, I got it working and it was all my stupid fault.

I thought I didn;t had to install g++ (which apparently was for c++ compiling). Omfg,  :oops: sorry for all.

And thanks for all the help! :D

Decrius

P.S.: I tried DevC++ in the mean time (I will never work with visual studio or something), but I prefer codeblocks far more! Especcially when its working now :D:D
Check out my website: [url="http://www.daevius.com"]http://www.daevius.com[/url]