Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Angel Engine compiled with MinGW?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pablo  
View profile  
 More options Aug 11 2012, 5:28 am
From: Pablo <pablo.marcos.ol...@gmail.com>
Date: Sat, 11 Aug 2012 02:28:19 -0700 (PDT)
Local: Sat, Aug 11 2012 5:28 am
Subject: Angel Engine compiled with MinGW?

Hi there,

First of all, I'd like to thank the team for releasing this great engine.
I've been reading the doc and looking at the code for a while and now that
I'm in holidays, I've decided to start my project.

One of the things that let me decide for Angel was it's crossplatform. My
development is going to be mainly in MacOSX and secondary in Windows and
Linux. Luckily, the Angel guys took its time to provide great projects for
both MSVC and XCode. I've not tested the Makefile for Linux, though. As you
know, both MacOSX and Linux use the gcc toolchain, while in Windows, using
MSVC as a compiler kind of makes me worry about the compability among them.
I know all the libraries used in Angel are supposed to be crossplatform,
but I wonder if anyone has tried to compile the Windows version using MinGW
as it is a gcc-based compiler. I did try that myself trying to run
mingw32-make Makefile within the Angel folder, but it threw me an error at
the very beginning. I'd give you the error, but I don't remember it and
right now I don't have Windows in my laptop to try that again.

Apart from that, firstly I was intending to do all the development using
QtCreator and qmake as I already know them. After doubting quite a bit
about that, I decided to give a try to Eclipse and CMake. I created
succesfully a project using that perfectly working on Mac. What surprised
me after that is that Eclipse doesn't provide anything to debug with
MSVC-compiled symbols (in other words, it has no CDB support, while
QtCreator has). So, from my point of view, I'd rather use a gcc-based
compiler for every platform to be able to use GDB for debugging, and also,
that would give me access to use Eclipse instead of QtCreator, which
although I do like QtCreator, I'll probably be working with other
Eclipse-fan friends in the project.

Summarizing, has anyone tried to compile Angel using MinGW? Do you know of
any way to use Eclipse to debug using the MSVC compiler (either using gdb
to debug or integrating cdb within Eclipse)?

Thanks a million!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Talbert  
View profile  
 More options Aug 11 2012, 11:18 am
From: Scott Talbert <talb...@techie.net>
Date: Sat, 11 Aug 2012 11:18:28 -0400 (EDT)
Local: Sat, Aug 11 2012 11:18 am
Subject: Re: Angel Engine compiled with MinGW?
Pablo,

Unfortunately, the 'Makefile' was originally written only for the Linux
builds so unfortunately, it probably isn't very cross-platform compatible
and makes some Linux only assumptions.  It would probably need some work
in order make it build with MinGW.

Scott


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shane Liesegang  
View profile  
 More options Aug 11 2012, 11:20 am
From: Shane Liesegang <lieseg...@gmail.com>
Date: Sat, 11 Aug 2012 11:20:57 -0400
Local: Sat, Aug 11 2012 11:20 am
Subject: Re: Angel Engine compiled with MinGW?

What's missing from MinGW? Is it the Makefile's use of sed that might be
the issue?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Talbert  
View profile  
 More options Aug 11 2012, 11:26 am
From: Scott Talbert <talb...@techie.net>
Date: Sat, 11 Aug 2012 11:26:55 -0400 (EDT)
Local: Sat, Aug 11 2012 11:26 am
Subject: Re: Angel Engine compiled with MinGW?

Could be the use of sed, could be the use of uname...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shane Liesegang  
View profile  
 More options Aug 11 2012, 11:29 am
From: Shane Liesegang <lieseg...@gmail.com>
Date: Sat, 11 Aug 2012 11:29:17 -0400
Local: Sat, Aug 11 2012 11:29 am
Subject: Re: Angel Engine compiled with MinGW?

Oh, yeah, it looks like the Makefile also tries to build the X11 version of
GLFW. A very reasonable thing to do on Linux systems, not so much on
Windows.

I would wager that GFLW would be the most problematic of the libraries to
get working, since it's tied most closely to the OS itself. Everything else
is agnostic.

I'd say, Pablo, if you're interested in pursuing this, you'd want to
approach it the same way Scott did making the Linux build system -- one
library at a time, then Angel, then IntroGame and ClientGame.

On Sat, Aug 11, 2012 at 11:20 AM, Shane Liesegang <lieseg...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo  
View profile  
 More options Aug 12 2012, 5:09 am
From: Pablo <pablo.marcos.ol...@gmail.com>
Date: Sun, 12 Aug 2012 02:09:34 -0700 (PDT)
Local: Sun, Aug 12 2012 5:09 am
Subject: Re: Angel Engine compiled with MinGW?

Thank you very much both of you.

I'll have a look ASAP. About the sed an uname commands, I could try
installing cygwin, but that definitely wouldn't solve the X11 issue anyway.
Although using that and customizing the Makefile for MinGW could work...
Anyway, I'd probably have to compile them all one by one, but after fixing
everything it would be nice to sum everything into a Makefile.mingw32,
wouldn't it?

I'll keep you updated

El sábado, 11 de agosto de 2012 17:29:17 UTC+2, SJML escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo  
View profile  
 More options Aug 12 2012, 9:17 am
From: Pablo <pablo.marcos.ol...@gmail.com>
Date: Sun, 12 Aug 2012 06:17:33 -0700 (PDT)
Local: Sun, Aug 12 2012 9:17 am
Subject: Re: Angel Engine compiled with MinGW?

Well, I got some news. It turns out that compiling GLFW required less
effort than expected. It has a configure.bat where you can specify that you
want to use  mingw and compiles like a charm. I also compiled Box2D using
CMake, so no trouble in this case either.

The one I'm having issues with is FTGL, because it does have makefiles for
unix, mac and win, but not for mingw. I tried using the unix one which uses
./configure and so on. As I installed cygwin, I could do that, but  it ends
up asking for the freetype library, which I haven't compiled with mingw.
So, firstly I'd have to compile this one. I've googled around that and it
seems is not so easy to get FTGL working with mingw, or at least, there are
quite a few questions about that and no answers apart from one that says
that probably the easiest thing to do is Import the VS project using
CodeBlocks and exporting it as a Makefile. Anyway, even if I am successful,
there are lots of other libraries (devil, fmod, png, ogg, vorbis, etc)
which I'll have to worry about to compile with mingw, and I'm wondering
right now if it's worthy all the work...

PS. I forgot to mention that Angel compiles in Mountain Lion with the new
Xcode and the 10.8 SDK using exactly the same project.

El domingo, 12 de agosto de 2012 11:09:34 UTC+2, Pablo escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »