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 » 18 May 2017, 10:00

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: 1032
Joined: 26 Nov 2015, 03:25

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

Post by AnyOldName3 » 18 May 2017, 13:10

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.
AnyOldName3, Master of Shadows

raven
Posts: 65
Joined: 26 May 2016, 09:54

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

Post by raven » 18 May 2017, 15:30

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 » 19 May 2017, 19:16

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: 12
Joined: 13 Dec 2016, 06:45

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

Post by Mishtal » 21 May 2017, 03:53

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 » 22 May 2017, 16:51

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: 4075
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

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

Post by psi29a » 22 May 2017, 20:25

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 » 31 May 2017, 11:09

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

Who is online

Users browsing this forum: No registered users and 5 guests