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

Moderators: MattKingUSA, khz, muldjord, deva

Post Reply
sc3sc3
Posts: 1
Joined: Fri Oct 13, 2017 8:17 am
Has thanked: 7 times

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

Post 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
User avatar
deva
Established Member
Posts: 285
Joined: Sun Oct 23, 2016 10:15 am
Has thanked: 3 times
Been thanked: 31 times
Contact:

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

Post by deva »

Try updating the git submodules.

Code: Select all

git submodule init
git submodule update
And then build again.
Post Reply