Author Topic: Linux Build Error  (Read 3696 times)

Offline patdelaney

  • Newbie
  • *
  • Posts: 27
    • View Profile
Linux Build Error
« 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.



Offline debenham

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Linux Build Error
« Reply #1 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