Menu

Can't make OLA plugin

2013-06-26
2013-06-26
  • Matthew Marks

    Matthew Marks - 2013-06-26

    Ubuntu 12.04 32-bit: I've managed to build from source, but only if I disable the OLA plugin. If I don't, I get:

    g++ -c -pipe -Werror -Wno-unused-local-typedefs -g -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../interfaces -I. -I. -o olaoutthread.o olaoutthread.cpp
    olaoutthread.cpp: In member function ‘virtual bool OlaEmbeddedServer::init()’:
    olaoutthread.cpp:252:5: error: ‘ola_server_options’ is not a member of ‘ola’
    olaoutthread.cpp:252:29: error: expected ‘;’ before ‘options’
    olaoutthread.cpp:253:5: error: ‘options’ was not declared in this scope
    At global scope:
    cc1plus: error: unrecognised command line option "-Wno-unused-local-typedefs" [-Werror]
    cc1plus: all warnings being treated as errors
    make[2]: *** [olaoutthread.o] Error 1

    Any ideas please? I have ola and ola-dev 0.8.30-1-precise1 installed.

     
  • Massimo Callegari

    I usually compile OLA from sources and install it on the /usr prefix
    Otherwise, just skip it and take the precompiled OLA plugin that I release and copy it into the right place. The 32 bit version is compiled on Ubuntu 12.04 too

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.