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)?
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.
> 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 received this message because you are subscribed to the Google Groups
> "angel-engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/angel-engine/-/9getMgDvB3AJ.
> To post to this group, send email to angel-engine@googlegroups.com.
> To unsubscribe from this group, send email to
> angel-engine+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/angel-engine?hl=en.
On Sat, Aug 11, 2012 at 11:18 AM, Scott Talbert <talb...@techie.net> wrote:
> 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
> On Sat, 11 Aug 2012, Pablo wrote:
>> 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)?
> --
> You received this message because you are subscribed to the Google Groups
> "angel-engine" group.
> To post to this group, send email to angel-engine@googlegroups.com.
> To unsubscribe from this group, send email to angel-engine+unsubscribe@**
> googlegroups.com <angel-engine%2Bunsubscribe@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/** > group/angel-engine?hl=en<http://groups.google.com/group/angel-engine?hl=en>
> .
On Sat, 11 Aug 2012, Shane Liesegang wrote:
> What's missing from MinGW? Is it the Makefile's use of sed that might be the
> issue?
> On Sat, Aug 11, 2012 at 11:18 AM, Scott Talbert <talb...@techie.net> wrote:
> 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
> On Sat, 11 Aug 2012, Pablo wrote:
> 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 received this message because you are subscribed
> to the Google Groups
> "angel-engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/angel-engine/-/9getMgDvB3AJ.
> To post to this group, send email to
> angel-engine@googlegroups.com.
> To unsubscribe from this group, send email to
> angel-engine+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/angel-engine?hl=en.
> --
> You received this message because you are subscribed to the
> Google Groups "angel-engine" group.
> To post to this group, send email to
> angel-engine@googlegroups.com.
> To unsubscribe from this group, send email to
> angel-engine+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/angel-engine?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "angel-engine" group.
> To post to this group, send email to angel-engine@googlegroups.com.
> To unsubscribe from this group, send email to
> angel-engine+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/angel-engine?hl=en.
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:
> What's missing from MinGW? Is it the Makefile's use of sed that might be
> the issue?
> On Sat, Aug 11, 2012 at 11:18 AM, Scott Talbert <talb...@techie.net>wrote:
>> 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
>> On Sat, 11 Aug 2012, Pablo wrote:
>>> 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)?
>> --
>> You received this message because you are subscribed to the Google Groups
>> "angel-engine" group.
>> To post to this group, send email to angel-engine@googlegroups.com.
>> To unsubscribe from this group, send email to angel-engine+unsubscribe@**
>> googlegroups.com <angel-engine%2Bunsubscribe@googlegroups.com>.
>> For more options, visit this group at http://groups.google.com/** >> group/angel-engine?hl=en<http://groups.google.com/group/angel-engine?hl=en>
>> .
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ó:
> 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 <lies...@gmail.com<javascript:>
> > wrote:
>> What's missing from MinGW? Is it the Makefile's use of sed that might be >> the issue?
>> On Sat, Aug 11, 2012 at 11:18 AM, Scott Talbert <tal...@techie.net<javascript:>
>> > wrote:
>>> 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
>>> On Sat, 11 Aug 2012, Pablo wrote:
>>>> 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)?
>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "angel-engine" group.
>>> To post to this group, send email to angel-...@googlegroups.com<javascript:>
>>> .
>>> To unsubscribe from this group, send email to angel-engine...@**
>>> googlegroups.com <javascript:>.
>>> For more options, visit this group at http://groups.google.com/** >>> group/angel-engine?hl=en<http://groups.google.com/group/angel-engine?hl=en>
>>> .
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ó:
> 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ó:
>> 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 <lies...@gmail.com>wrote:
>>> What's missing from MinGW? Is it the Makefile's use of sed that might be >>> the issue?
>>> On Sat, Aug 11, 2012 at 11:18 AM, Scott Talbert <tal...@techie.net>wrote:
>>>> 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
>>>> On Sat, 11 Aug 2012, Pablo wrote:
>>>>> 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)?
>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "angel-engine" group.
>>>> To post to this group, send email to angel-...@googlegroups.com.
>>>> To unsubscribe from this group, send email to angel-engine...@**
>>>> googlegroups.com.
>>>> For more options, visit this group at http://groups.google.com/** >>>> group/angel-engine?hl=en<http://groups.google.com/group/angel-engine?hl=en>
>>>> .