User forums > Using Code::Blocks

first use of make

<< < (2/3) > >>

Deschamps:
Well. I suspect that you're using the old C::B RC2 version bundled with MinGW (i've been always using nightlies and svn builds).
And the makefile you're trying to use was intended for MS nmake, so it won't work with your current environmenr.

MoonKid:

--- Quote from: Deschamps on June 02, 2007, 09:15:45 pm ---Well. I suspect that you're using the old C::B RC2 version bundled with MinGW (i've been always using nightlies and svn builds).
--- End quote ---

Of course I installed RC2 and then extracted nigthlies over it. I am using the nightlies!

MoonKid:

--- Quote from: Deschamps on June 02, 2007, 09:15:45 pm ---And the makefile you're trying to use was intended for MS nmake, so it won't work with your current environmenr.
--- End quote ---

Ok, I just changed the line

--- Code: ---MAKE=nmake /nologo /f makefile.nt
--- End code ---
to

--- Code: ---MAKE=make /nologo /f makefile.nt
--- End code ---

Now the errors are this

--- Code: ---cd c-client
make /nologo /f makefile.nt
make[1]: *** No rule to make target `/nologo'.  Stop.
make[1]: Entering directory `D:/Garage/projekte/mahogany/mahoganySVN/lib/imap'
make.exe: *** [build] Error 2
make[1]: Leaving directory `D:/Garage/projekte/mahogany/mahoganySVN/lib/imap'
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings

--- End code ---

The target should be "build" I think and C::B does give "build" as a parameter to make because the current build-target in the project is "build".

TDragon:
The makefile itself was designed for MSVC's nmake, not GCC's make. The two have different syntax and are not inter-compatible. Read the documentation to see if you can find instructions for building with MinGW/GCC; what you're currently trying is for MSVC.

stahta01:

--- Quote from: TDragon on June 02, 2007, 11:54:23 pm ---The makefile itself was designed for MSVC's nmake, not GCC's make. The two have different syntax and are not inter-compatible. Read the documentation to see if you can find instructions for building with MinGW/GCC; what you're currently trying is for MSVC.

--- End quote ---

FYI: The docs are old, 2004, and they say MSVC or Cygwin GCC 2.95. It says minGW GCC is not supported. The last time I tried it I gave up, but I got close to getting it to compile, most likely it would not have worked since was was just removing the areas that was not working out.

Tim S

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version