[Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On 20.07.2004 16:37, c4v3m4n@xxxxxxxxxxxx wrote:
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9433 >
I haven't been able to give it a shot yet, but I plan on attempting to
compile Freeciv using Mingw/Gcc on Windows using Eclipse to handle both
the compiling and CVS management of the Freeciv CVS tree. As soon as I
do get a chance to try this out I'll let everyone know how it goes.
I've successfully connected to the Freeciv CVS server using Eclipse 3.0
with the CDT plugin, so hopefully it won't be a monumental challenge to
compile it through Eclipse as well.
Well, I just did so :)
It's actually quite easy. I used Eclipse 3.0 + CDT 2.0 with MinGW, MSYS
& msysDTK, although the instructions probably also apply to other platforms.
- First, on Win32, disable "Convert text files to platform line endings"
in Eclipse's CVS options. This is needed to later run the autotools (and
has the nice side effect that the graphic files will work, too, as they
aren't binary files in CVS and get messed up by the LF->CRLF conversion).
- Create a new CVS checkout project. Enter all those freeciv CVS
credentials.
- I opted to "Check out as a project configured the New Project Wizard".
- Then I created a "Standard C project" (ie didn't let Eclipse manage
the makefiles).
This sets up an Eclipse project; however, you can't compile it yet. To
do so, I used MSYS to run autogen.sh (which subsequently also invokes
configure). Back in Eclipse, I chose "Project -> Build Make Target",
added "all" to the list and built it. Then, well, stuff built. Seems to
work well.
-f.r.
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, (continued)
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Vasco Alexandre da Silva Costa, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Per I. Mathisen, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, res, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Jason Short, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, c4v3m4n@xxxxxxxxxxxx, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Vasco Alexandre da Silva Costa, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Vasco Alexandre da Silva Costa, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, res, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Jason Short, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, res, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes,
Frank Richter <=
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, Vasco Alexandre Da Silva Costa, 2004/07/20
- [Freeciv-Dev] Re: (PR#9433) Patch: MSVC compile fixes, caveman, 2004/07/22
|
|