raduprv / Eternal-Lands

http://www.eternal-lands.com
Other
155 stars 56 forks source link

Can not build windows binary #170

Closed dmitrizc closed 2 years ago

dmitrizc commented 2 years ago

Hello. Thanks for developing/maintaining this project.

I have some issues with compiling on windows PC.

This is the online guide I found and tried to follow. https://github.com/raduprv/Eternal-Lands/issues?q=windows

Here are my setup. Specs:

But I am having many library mismatch compile errors.

Would you please help me resolving this issue? Do you have any up to date guide line to build?

The other question is, where can I find server side project?

Thank you. Screenshot_1

gvissers commented 2 years ago

The link that you provide leads to a list of issues containing the search term 'windows' for this repo, not to build instructions.

If you happen to refer to these instructions, that guide is positively ancient, and needs to be updated. If you just want to build the client and be done with it, @pjbroad has put together an excellent set of compilation guides for a number of platforms, including one for Windows. It uses other tools than you are using now, though.

If you want to continue using Dev-C++ (I'm actually surprised it still exists), many of the links in CK's forum post may be outdated, but the most pressing issue (and the reason for the SDL_keycode.h include error you are getting) is that the client has switched to using SDL2 (not SDL1), which you can download here. The glext.h issue I cannot help you with (it seems to want to include a Khronos specific file?), but if you use a more recent version of Dev-C++ (see e.g. https://sourceforge.net/projects/embarcadero-devcpp/), you will probably not have to replace glext.h with the version mentioned in the post.

Take all this with a grain of salt though, as I don't normally use windows, haven't touched dev-c++ in years, and when I do compile a windows client I use msys2 in a virtualized Windows environment. Perhaps someone with more experience compiling on Windows can weigh in.

dmitrizc commented 2 years ago

Hello @gvissers Thank you very much for your help. That is exactly what I wanted and it works great.

dmitrizc commented 2 years ago

@gvissers ,

The other question is. I was trying to find the server side code, but was not able to find one.

It would be much appreciated if you can let me know whereabout the server side repo... Hope you are having good weekends!

raduprv commented 2 years ago

Hi The server is not open source, only the client is.

dmitrizc commented 2 years ago

Ah okay thank you for letting me know!

gvissers commented 2 years ago

Closing as the issue seems to be resolved