Page 1 of 1

build error: drumgizmo_plugin.h:104:8: error: conflicting return type

Posted: Fri Oct 13, 2017 8:25 am
by sc3sc3
hi

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
i used the following build commands
./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
any ideas to solve the error ?
thanks

Re: build error: drumgizmo_plugin.h:104:8: error: conflicting return type

Posted: Fri Oct 13, 2017 3:48 pm
by deva
Try updating the git submodules.

Code: Select all

git submodule init
git submodule update
And then build again.