Author Topic: Nightly Builds: Not working  (Read 6304 times)

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Nightly Builds: Not working
« on: December 28, 2006, 10:43:07 am »
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: http://www.daevius.com

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #1 on: December 28, 2006, 10:53:08 am »
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: http://www.daevius.com

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Nightly Builds: Not working
« Reply #2 on: December 28, 2006, 11:01:34 am »
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

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #3 on: December 28, 2006, 11:14:09 am »
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
« Last Edit: December 28, 2006, 11:18:02 am by Decrius »
Check out my website: http://www.daevius.com

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Nightly Builds: Not working
« Reply #4 on: December 28, 2006, 12:21:27 pm »
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

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #5 on: December 28, 2006, 12:39:24 pm »
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: http://www.daevius.com

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Nightly Builds: Not working
« Reply #6 on: December 28, 2006, 12:42:09 pm »
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

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #7 on: December 28, 2006, 12:53:06 pm »
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:

Code
-------------- 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: http://www.daevius.com

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #8 on: December 28, 2006, 01:33:39 pm »
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!
« Last Edit: December 28, 2006, 01:37:46 pm by Decrius »
Check out my website: http://www.daevius.com

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #9 on: December 28, 2006, 01:53:31 pm »
Which 5 paths do they actually mean in http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows (on the bottom).

I can only find 4 :S.

Decrius
Check out my website: http://www.daevius.com

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #10 on: December 28, 2006, 03:24:01 pm »
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: http://www.daevius.com

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #11 on: December 28, 2006, 04:12:05 pm »
Is it usual that MinGW-5.1.2.exe is 0 kb?

:s

Decrius
Check out my website: http://www.daevius.com

Offline Decrius

  • Multiple posting newcomer
  • *
  • Posts: 81
    • Daevius
Re: Nightly Builds: Not working
« Reply #12 on: December 28, 2006, 04:41:27 pm »
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: http://www.daevius.com