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

Moderators: khz, MattKingUSA, deva, muldjord

sc3sc3
Posts: 1
Joined: Fri Oct 13, 2017 8:17 am

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

Postby sc3sc3 » Fri Oct 13, 2017 8:25 am

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
Establlshed Member
Posts: 90
Joined: Sun Oct 23, 2016 10:15 am
Contact:

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

Postby deva » Fri Oct 13, 2017 3:48 pm

Try updating the git submodules.

Code: Select all

git submodule init
git submodule update

And then build again.


Return to “Support / Suggestions”

Who is online

Users browsing this forum: No registered users and 2 guests