toddw123 / RotMG_Clientless

Compatible with version X16.0.0
MIT License
11 stars 4 forks source link

Ubuntu support #49

Closed VoOoLoX closed 6 years ago

VoOoLoX commented 7 years ago

After few hours of trying I got it to compile on Ubuntu 16.04 and Lubuntu 17.04

Lubuntu 17.04: (CMake 3.7.2, GCC/G++ 6.3.0 20170406)

OR

Ubuntu 16.04 LTS:

Let me know if there are any problems with any of the steps

toddw123 commented 7 years ago

very cool ill give this a try on Xubuntu later today. I assume the main reason it wouldnt compile before is just due to not having the latest version of the different programs. So ill give this a try.

Also, it would be really cool if you wanted to make a page in the Wiki for compiling on Linux. You can make the first part about compiling on Arch Linux, which seems pretty straight forward. Then feel free to add the content from this post, as i have no doubt what you are saying here does work.

VoOoLoX commented 7 years ago

I thought about making a wiki page but I want to verify that these steps work on most systems first. I tested both of these in virtual machine with fresh installs and all the updates. So I guess I'll try it on a real hardware on the other pc and/or wait for your feedback on Xubuntu.

toddw123 commented 7 years ago

@VoOoLoX Alright man, sorry it took me so long, but i finally got around to testing on Xubuntu. I followed exactly what you had laid out for the Ubuntu 16.04 LTS and it worked flawlessly.

There were a few warning, but they are just warnings. I think the only warnings come from the xml reader, in the printf statements upon error there are a few %i variables, which expects int, but apparently is some kind of long instead. Nothing that will break the program though thats for sure.

The only other message that i get, both when the compiling is finished and when i start the program, is this:

[/usr/bin/cmake OR ./Clientless]: /usr/local/lib/libcurl.so.4: no version information available (required by [/usr/bin/cmake OR ./Clientless])

So when i compiling, it will start with the "/usr/bin/cmake" and end with it, and when i start the actual compiled program it starts with "./Clientless" and ends with it.

Whatever this error is in reference too, it doesnt prevent the program from being compiled or ran. I made sure to run the program and then logged in on a different account to make sure the bot was actually doing what its programmed to do. And it was.

So if you ask me, everything is good to go! You would be doing me a huge favor if you wanted to do a wiki page covering the various ways to compile for Linux: Arch, Ubuntu, and whatever else you have gotten to work.

DavidK1m commented 7 years ago

Just so you know, it worked perfectly on OpenVZ Ubuntu 16.04. Thank you.

VoOoLoX commented 7 years ago

@toddw123 I've made wiki page few days ago,I guess I should've mention it.

toddw123 commented 7 years ago

@toddw123 I've made wiki page few days ago,I guess I should've mention it.

lol thanks, i dont check the wiki too often so hadnt seen it :)

jalius commented 7 years ago

sweet, i'll have to try to get this working on ubuntu (which I have not stopped using ever since I found it).

jalius commented 6 years ago

Well, as this is presently working, may I suggest we move it to the wiki?

toddw123 commented 6 years ago

I think it's been in the wiki for awhile now, it's been awhile since I checked though