Can't link minetest.exe on Windows

User avatar
Captain_Chaos
Member
 
Posts: 42
Joined: Sun Feb 12, 2017 13:04
GitHub: Captain-Chaos

Can't link minetest.exe on Windows

by Captain_Chaos » Sun Feb 12, 2017 17:43

Hi everyone,

I'm trying to build Minetest on my Windows system and am having trouble. I've gotten it to compile, but the very last step (linking minetest.exe) fails. I followed these instructions to build it (using MinGW), and downloaded the "MSVC pre-compiled libraries" from that page for the necessary libraries. However I get the following errors at the end of the build:
+ Spoiler

Could it be that there is a version mismatch between the code and the binaries in that file I downloaded? Or is something else going on? Am I doing something wrong? Let me know if I should provide more information! Thanks in advance to anyone who can help me get unstuck.
 

glut32
New member
 
Posts: 5
Joined: Wed Feb 01, 2017 09:46
IRC: glut32

Re: Can't link minetest.exe on Windows

by glut32 » Mon Feb 13, 2017 08:47

I think that "MSVC pre-compiled libraries" is only for Microsoft Visual Studio. You should to change your IDE. Thank you Captain Obvious lol
 

User avatar
Captain_Chaos
Member
 
Posts: 42
Joined: Sun Feb 12, 2017 13:04
GitHub: Captain-Chaos

Re: Can't link minetest.exe on Windows

by Captain_Chaos » Mon Feb 13, 2017 14:36

Are there precompiled libraries for MinGW?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Can't link minetest.exe on Windows

by kaeza » Mon Feb 13, 2017 15:05

I had the same problems when I was on Windows.

My hacky solution at the moment was to use `util/buildbot/buildwin*.sh` to download all the prebuilt libraries, then manually link and recompile the C++-based ones myself (particularly Irrlicht (and cURL?)).

Irrlicht is easy to compile. Just download the latest release in the 1.8 series (not sure if 1.9 works with Minetest), then `cd irrlicht-1.8.x/source/Irrlicht && make win32`. You should get a library in `irrlicht-1.8.x/lib/Win32-gcc`.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 5 guests

cron