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

Build error on Fedora 40 #569

Open
ycollet opened this issue Apr 20, 2024 · 0 comments
Open

Build error on Fedora 40 #569

ycollet opened this issue Apr 20, 2024 · 0 comments
Assignees
Projects

Comments

@ycollet
Copy link

ycollet commented Apr 20, 2024

I am trying to build mapmap 0.6.2 on Fedora 40 using gcc 14.0.1 and liblo-0.32.
I met an error message during the change. A small change in the liblo library a priori:

src/control/OscInterface.cpp: In constructor ‘mmp::OscInterface::OscInterface(const std::string&)’:
src/control/OscInterface.cpp:54:25: error: invalid conversion from ‘int (*)(const char*, const char*, lo_arg**, int, void*, void*)’ to ‘lo_method_handler’ {aka ‘int (*)(const char*, const char*, lo_arg**, int, lo_message_*, void*)’} [-fpermissive]
   54 |     receiver_.addHandler(NULL, NULL, genericHandler, this);
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         |
      |                         int (*)(const char*, const char*, lo_arg**, int, void*, void*)
In file included from src/control/OscInterface.h:33:
src/control/OscReceiver.h:26:74: note:   initializing argument 3 of ‘void mmp::OscReceiver::addHandler(const char*, const char*, lo_method_handler, void*)’
   26 |   void addHandler(const char *path, const char *types, lo_method_handler handler, void *user_data);
      |                                                        ~~~~~~~~~~~~~~~~~~^~~~~~~
make: *** [Makefile:2215: src/app/objs/OscInterface.o] Error 1
@aalex aalex self-assigned this Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MapMap
  
Awaiting triage
Development

No branches or pull requests

2 participants