build error: drumgizmo_plugin.h:104:8: error: conflicting return type
Posted: Fri Oct 13, 2017 8:25 am
hi
compiling latest git on ubuntu 16.04 gives following error:
i used the following build commands
thanks
compiling latest git on ubuntu 16.04 gives following error:
Code: Select all
In file included from drumgizmo_plugin.cc:27:0:
drumgizmo_plugin.h:104:8: error: conflicting return type specified for ‘virtual void* DrumGizmoPlugin::createWindow(void*)’
void* createWindow(void *parent) override;
^
In file included from drumgizmo_plugin.h:32:0,
from drumgizmo_plugin.cc:27:
../plugin/plugingizmo/pluginlv2.h:164:15: error: overriding ‘virtual void PluginLV2::createWindow(void*)’
virtual void createWindow(void *parent) override {}
^
Makefile:702: recipe for target 'drumgizmo_la-drumgizmo_plugin.lo' failed
make[3]: *** [drumgizmo_la-drumgizmo_plugin.lo] Error 1
make[3]: Leaving directory '/home/ins/git/drumgizmo/plugin'
Makefile:784: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/ins/git/drumgizmo/plugin'
Makefile:453: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ins/git/drumgizmo'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2
any ideas to solve the error ?./autogen.sh # Note this step is only necessary when compiling from git sources.
./configure --prefix=$PWD/install --with-lv2dir=$HOME/.lv2 --enable-lv2 --disable-cli
make
make install
thanks