Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to buld with lv2 1.18.0 #51

Open
ycollet opened this issue Mar 30, 2021 · 1 comment
Open

Fail to buld with lv2 1.18.0 #51

ycollet opened this issue Mar 30, 2021 · 1 comment

Comments

@ycollet
Copy link
Contributor

ycollet commented Mar 30, 2021

I try to build infamousplugins on Fedora 33 with lv2-1.18.0.
I met the following error message:

[ 41%] Building CXX object src/powercut/CMakeFiles/powercut_ui.dir/powercut_ui_main.cxx.o
cd /home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/x86_64-redhat-linux-gnu/src/powercut && /usr/lib64/ccache/g++ -Dpowercut_ui_EXPORTS -I/usr/include/ntk -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/src/powercut/../ffffltk -I/home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/src/powercut/../draw -I/home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/src/powercut/. -I/home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/x86_64-redhat-linux-gnu/src/powercut -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -g -fPIC -o CMakeFiles/powercut_ui.dir/powercut_ui_main.cxx.o -c /home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/src/powercut/powercut_ui_main.cxx
/home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/src/hip2b/hip2b_ui_main.cxx:133:5: error: invalid conversion from 'void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} to 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} [-fpermissive]
  133 |     init_hip2bUI,
      |     ^~~~~~~~~~~~
      |     |
      |     void* (*)(const _LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*) {aka void* (*)(const _LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)}
gmake[2]: *** [src/hip2b/CMakeFiles/hip2b_ui.dir/build.make:95: src/hip2b/CMakeFiles/hip2b_ui.dir/hip2b_ui_main.cxx.o] Error 1
gmake[2]: Leaving directory '/home/collette/rpmbuild/BUILD/infamousPlugins-0.3.0/x86_64-redhat-linux-gnu'
gmake[1]: *** [CMakeFiles/Makefile2:557: src/hip2b/CMakeFiles/hip2b_ui.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

And there are several other errors like this one.

@magnetophon
Copy link

Seems to be fixed in 06dd967.
Could you try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants