Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling with MinGW under Windows doesn't work #276

Closed
ghost opened this issue Sep 1, 2012 · 9 comments
Closed

Compiling with MinGW under Windows doesn't work #276

ghost opened this issue Sep 1, 2012 · 9 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2012

When I'm trying to compile ArcEmu with MinGW32 it outputs the following error message:

In file included from C:\Projects\ArcEmu\code\dep\src\g3dlite\AABox.cpp:10:0:
C:/Projects/ArcEmu/code/cmake/../dep/include/g3dlite/G3D/platform.h:61:6: Fehler
: #error Unknown platform
g3dlite\CMakeFiles\g3dlite.dir\build.make:54: recipe for target 'g3dlite/CMakeFi
les/g3dlite.dir/C_/Projects/ArcEmu/code/dep/src/g3dlite/AABox.cpp.obj' failed
mingw32-make[2]: *** [g3dlite/CMakeFiles/g3dlite.dir/C_/Projects/ArcEmu/code/dep
/src/g3dlite/AABox.cpp.obj] Error 1
CMakeFiles\Makefile2:174: recipe for target 'g3dlite/CMakeFiles/g3dlite.dir/all'
 failed
mingw32-make[1]: *** [g3dlite/CMakeFiles/g3dlite.dir/all] Error 2
Makefile:112: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

ArcEmu revision: ecd7e78
OS: Windows 7 x86-64
Compiler: MinGW (gcc 4.7.0)

@dfighter1985
Copy link
Member

G3D doesn't support MinGW.
However even after solving that it's not gonna work. There is lots of code in Arcemu that depends on Windows stuff on Windows platform ( which is not available in MinGW ) if you consider MinGW a Windows compiler.
Also there's lots of stuff that would be missing if you consider MinGW a POSIX compiler.

Why do you even need MinGW?
Visual Studio is totally free...

@ghost
Copy link
Author

ghost commented Sep 2, 2012

I don't need MinGW but I tested it and, as you can see, it doesn't work. Normally I'm compiling ArcEmu with Visual Studio but it would be nice if it worked with MinGW.

@Magnifikator
Copy link
Contributor

Unfortunately I have to say that for Microsoft OS the best compiler is Microsoft VS.

I used earlier (and still) Code:Blocks IDE with MinGW compiler. But it was more a political decision than a technical one.

@Magnifikator
Copy link
Contributor

Can we close this issue ?

@ghost
Copy link
Author

ghost commented Oct 3, 2012

I would still say it's an issue. Sure, it's not important but still an issue.

@Magnifikator
Copy link
Contributor

Hmhmm :-)

I don't know. I think it was never planned nor promised that Arcemu should be able to be complied with MinGW under Windows. I also don't think it's necessary.

As far as I know about building multiplatform software it's also not so easy to adapt the code to several compilers.

Microsoft has build in so a lot of stuff that is only usable with Win OS. They know why ;-)

@ghost
Copy link
Author

ghost commented Feb 13, 2013

Ok, you can close this. It's not important. When I wrote this six months ago I was on the "everything has to be open source" wave.

MinGW is an emergency solution for POSIX software and not even an official GCC release.

@Nivirx
Copy link

Nivirx commented Feb 15, 2013

If you want a POSIX solution for Windows wouldn't Cygwin be a better solution?

@ghost
Copy link
Author

ghost commented Feb 15, 2013

@Xinnx Yes, because it's a more complete environment. MinGW (Minimalist GNU for Windows) is, as its name says, a more minimalist environment which makes it much easier to set up. Anyway, ArcEmu can be compiled with Microsoft's tools, so there is no need for using such solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants