Sean Meighan

Software => Bugs in xLights/Nutcracker => Bugs (Please dont post here, soon to be deprecated) => Topic started by: patdelaney on May 07, 2016, 06:15:26 PM

Title: Linux Build Error
Post by: patdelaney on May 07, 2016, 06:15:26 PM
I've set up an Ubuntu 15.10 vm so I can build xlights. This is a learning excercise. I followed the readme.linux file but the build is failing via command line and via code blocks. I am not a real coder, I play one on TV..

                              ^
/home/vagrant/xLights/xLights/xlGLCanvas.cpp:165:53: error: ‘DebugLogAMD’ was not declared in this scope
             LOG_GL_ERRORV(glDebugMessageCallbackAMD(DebugLogAMD, c));
                                                     ^
/home/vagrant/xLights/xLights/DrawGLUtils.h:15:30: note: in definition of macro ‘LOG_GL_ERRORV’
     #define LOG_GL_ERRORV(a) a; DrawGLUtils::LogGLError(__FILE__, __LINE__, #a)
                              ^
/home/vagrant/xLights/xLights/xlGLCanvas.cpp: At global scope:
/home/vagrant/xLights/xLights/xlGLCanvas.cpp:65:21: warning: ‘const char* getStringForSource(GLenum)’ defined but not used [-Wunused-function]
 static const char * getStringForSource(GLenum source) {
                     ^
/home/vagrant/xLights/xLights/xlGLCanvas.cpp:86:20: warning: ‘const char* getStringForSeverity(GLenum)’ defined but not used [-Wunused-function]
 static const char *getStringForSeverity(GLenum severity) {
                    ^
/home/vagrant/xLights/xLights/xlGLCanvas.cpp:101:21: warning: ‘const char* getStringForType(GLenum)’ defined but not used [-Wunused-function]
 static const char * getStringForType(GLenum type) {
                     ^
Process terminated with status 1 (16 minute(s), 34 second(s))
5 error(s), 1106 warning(s) (16 minute(s), 34 second(s))

See attached screenshot

Any thoughts?

I installed and compiled wxWidgets succesfully.
In the command line the make fails.


Title: Re: Linux Build Error
Post by: debenham on May 26, 2016, 04:06:16 PM
Try updating from git some time - there were build errors back then which have since been fixed