[Freeciv-Dev] Re: win32 build error
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
MinGW doesn't have a 'make' command exactly. To get it to build in
Eclipse 3.0, do the following:
From the main menu:
Project -> Properties -> C/C++ Make Project
On the 'Make Builder' tab, unselect the very first checkbox from Use
Default, and fill in mingw32-make on the line below.
Of course you'll need to have C:\MinGW set in your PATH variable within
Windows if that's where you installed mingw. Don't know if that will
help, but I got it to compile in Eclipse that way.
However it did seem that although civserver.exe and civclient.exe got
built, and I could launch civserver.exe, i couldn't do anything with it,
nor could I launch civclient.exe. Probably some mundane detail I missed
compiling them or with folder setup or something, but at least they
compiled under Eclipse.
-Jeremy
Per Inge Mathisen wrote:
I'm testing out eclipse and most recent cvs, and got this weird error:
Making all in intl
make[2]: Entering directory `/k/eclipse/workspace/Freeciv CVS HEAD/intl'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2
-Werror -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations intl-compat.c
In file included from intl-compat.c:20:
../config.h:371:1: "LOCALEDIR" redefined
<command line>:1:1: this is the location of the previous definition
make[2]: *** [intl-compat.o] Error 1
I ran 'make' from within msys, as I could not get eclipse to build it:
Error launching builder (make all )
(Exec error:Launching failed)
It is a clean install following the instructions in Vasc's sticky topic in
the forum. Any ideas?
- Per
|
|