Mingw (looking for a C++ compiler)

Not about OpenMW? Just about Morrowind in general? Have some random babble? Kindly direct it here.
bidik
Posts: 24
Joined: 28 Apr 2017, 12:06

Re: Mingw (looking for a C++ compiler)

Post by bidik »

Is it possible to compile Open Dynamics Engine with msys2 on windows?

http://www.ode.org/

https://www.ode-wiki.org/wiki/index.php ... ntable=yes

the second link only describes

sh autogen.sh
./configure
make
sudo make install

Is msys2 smart enough to compile those? Where will msys2 install it even, after "make install"?
User avatar
AnyOldName3
Posts: 2668
Joined: 26 Nov 2015, 03:25

Re: Mingw (looking for a C++ compiler)

Post by AnyOldName3 »

You might need a full Cygwin install instead of just MinGW (but I'm not an expert), but things should work as long as their dependencies do.
raven
Posts: 66
Joined: 26 May 2016, 09:54

Re: Mingw (looking for a C++ compiler)

Post by raven »

bidik wrote:Is msys2 smart enough to compile those? Where will msys2 install it even, after "make install"?
Just give it a try and see what happens. And while at it have a look at msys directories layout.
bidik
Posts: 24
Joined: 28 Apr 2017, 12:06

Re: Mingw (looking for a C++ compiler)

Post by bidik »

Thank you so much for recommending me msys2, I compiled 2 programs from the wild on windows! How did I live without it.

I'll keep an eye on cygwin too, it may come in handy later, thanks!
Mishtal
Posts: 28
Joined: 13 Dec 2016, 06:45

Re: [solved]Mingw (looking for a C++ compiler)

Post by Mishtal »

Consider also this framework: http://midipix.org/

Perhaps not quite ready to go yet, but it looks like it'll be powerful in the future.
bidik
Posts: 24
Joined: 28 Apr 2017, 12:06

Re: [solved]Mingw (looking for a C++ compiler)

Post by bidik »

There is something weird with runtime. I compiled a simple "cout << "Hello world!" << endl;", and it now requires libgcc_s_dw2-1.dll and libwinpthread-1.dll, and probably something else too.

I could static link them, but it would probably make my exe really huge for no good reason. (haven't tried yet though)

I could remove runtime completely, but I want to use std datatypes, what's the point of using C++ overwise.
User avatar
psi29a
Posts: 5356
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Mingw (looking for a C++ compiler)

Post by psi29a »

Pretty much the same problem as cygwin really.
bidik
Posts: 24
Joined: 28 Apr 2017, 12:06

Re: Mingw (looking for a C++ compiler)

Post by bidik »

Tried to compile one library using cmake, but it installed in the Program Files folder, instead of compiler's folder. Odd.

I'll move them manually of course, but maybe there is an option somewhere to move it in the correct path?

Library: https://github.com/electronicarts/EASTL ... eLists.txt

Commands:
cmake -G"MSYS Makefiles"
make
make install

There is also this page, but I only understood that I can't apply it to windows: https://cmake.org/cmake/help/v3.0/varia ... REFIX.html
Post Reply