Author Topic: Nightly build help?  (Read 4529 times)

Treyre

  • Guest
Nightly build help?
« on: March 28, 2006, 04:44:52 am »
Ok, So I visted the wiki page "The nightly cookbook" http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook but im at the part where you do the

 - open up a console in <wxDir>\build\msw
 - clean up the source tree : mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
 - actual build : mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1

so I run cmd and cd over to the build\msw directory and when I type

mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean

it says un-reconized command/invalid program/batchfile.  I have mingW installed by extracting them to c:\mingW\ and I managed to compile some simple hello world programs in normal codeblocks (non-nightly build) with it.

-gcc-g__-3.4.5-20060117-1.tar.gz
-gcc-core-3.4.5-20060117-1.tar.gz
-mingw-runtime-3.9.tar.gz
-w32api-3.6.tar.gz
-binutils-2.16.91-20060119-1.tar.gz
and installing
-gdb-6.3-2.exe

So I've been just using the command "mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean"

can anyone help me out at all?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2288
Re: Nightly build help?
« Reply #1 on: March 28, 2006, 05:34:07 am »
so I run cmd and cd over to the build\msw directory and when I type

it says un-reconized command/invalid program/batchfile. 

Dont forget to set the path to minGW before issueing commands
Make a bat file like the following:
Code
path=%path%;<your path to minGW programs>
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
pause
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
pause

« Last Edit: March 28, 2006, 08:51:30 am by mandrav »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Nightly build help?
« Reply #2 on: March 28, 2006, 08:52:12 am »
@Pecan: I edited your post to remove "VENDOR=cb". As has been said numerous times, do not use this...
Be patient!
This bug will be fixed soon...

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Nightly build help?
« Reply #3 on: March 28, 2006, 04:06:09 pm »
Treyre -- I noticed you missed downloading the make package (mingw32-make-3.80.0-3.tar.gz) for MinGW, which is definitely necessary.
« Last Edit: March 28, 2006, 04:08:01 pm by TDragon »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: Nightly build help?
« Reply #4 on: March 28, 2006, 06:11:21 pm »
[...]remove "VENDOR=cb". As has been said numerous times, do not use this...
I searched the forum for the reason why that is but couldn't find something meaningful. Thus, may I ask why this is? Because I do use it for a long time now without problems but should re-compile wxWidgets then (maybe)?!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Nightly build help?
« Reply #5 on: March 28, 2006, 07:01:54 pm »
Thus, may I ask why this is? Because I do use it for a long time now without problems but should re-compile wxWidgets then (maybe)?!
vendor=cb is intended for official Code::Blocks releases (and for use by the Code::Blocks developers). As you have noticed, you will normally indeed not face any problems, and indeed there is no reason against vendor=cb, except that it is wrong :lol:

The main reason why there is a vendor is to give the library a unique name, so it cannot be confused with another (incompatible) wxWidgets build.
It is also a more or less effective countermeasure to DLL hell. At some distant point in the future, it might be feasonable to install the wxWidgets DLL into the system folder and make installations that come without the DLL, similar to the way Gaim is distributed. This will not be possible, however, if everybody builds vendor=cb libraries.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Nightly build help?
« Reply #6 on: March 28, 2006, 07:52:50 pm »
vendor=cb is intended for official Code::Blocks releases (and for use by the Code::Blocks developers). As you have noticed, you will normally indeed not face any problems, and indeed there is no reason against vendor=cb, except that it is wrong :lol:

Not exactly. I bet this is one (the root?) of the problems that nightly builds can't be installed on top of RC2: because Lieven used vendor=cb for the nightly builds wxWidgets DLL...
Be patient!
This bug will be fixed soon...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: Nightly build help?
« Reply #7 on: March 28, 2006, 09:32:10 pm »
[...] VENDOR=cb [...]
Alright, thanks for the info. For the sake of "improved compatibility" I've recompiled wxWidgets now not using this.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ