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
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