BlindMindStudios/StarRuler2-Source

Can't build on Ubuntu 16.04 (libangelscript)

Vthyarilops opened this issue · 7 comments

It seems I can't build under Ubuntu 16.04, as far as I can tell I have all the required dependencies. error log here : https://pastebin.com/Fmy6kuaf

you need to set CC=g++ in your environment when executing make, OR change references to $(CC) to $(CXX) in the Makefile.

thanks for the reply, I've tried both and it gives the same error.

Try finding the makefile in ./source/angelscript/projects/gnuc and add the option "-std=c++11" to CXXFLAGS there. That seemed to fix the problem for me.

Thank you, that worked great, unfortunately I'm stuck on another error (I get the same error in an Ubuntu 18.04 VM) https://pastebin.com/UGkP48tn

That seems to be the same issue as #24
To fix it you could try and follow the solution proposed by compenguy in #5

Thanks for the suggestion, I've already tried and end up with the same results (I assume the fix in issue #9 is the same as #24 and #5

edit. confirmed that the solution in #9 fixes building on Ubuntu 18.04, but not under 16.04

Just want to thank BlindMindStudios, rl-michels, and diddledan, plays totally fine on Ubuntu 16.04 if libpng16-16 is installed and you copy libGLEW.so.2.0 to the main directory, it spits out some libpng errors but doesn't seem to affect gameplay, anyways thanks everyone.

edit. Since someone asked where I got libGLEW.so.2.0, extract it from the Ubuntu 18.04 package https://packages.ubuntu.com/bionic/libglew2.0