What I do:
- Put the lv2 plugin in the .lv2 map.
- Open the plugin in XUiDesigner.
- Make a UI for the plugin in XUiDesigner.
- Save the UI as "UI only" on the Desktop.
- Close XUiDesigner.
- Open XUiDesigner.
- Drag and drop the json-file from the UI only map in XUiDesigner.
- Make some last changes to the UI.
- Remove "UI only" from the Desktop.
- Save UI as UI-Bundle to the Desktop.
- Do "make" from the top directory of the saved UI-Bundle.
And this last step ends in errors:
Code: Select all
FunnyLoop1.c: In function ‘plugin_create_controller_widgets’:
FunnyLoop1.c:93:42: error: ‘bg_png’ undeclared (first use in this function)
93 | widget_get_scaled_png(ui->win, LDVAR(bg_png));
| ^~~~~~
../libxputty/libxputty/include/xpngloader.h:85:28: note: in definition of macro ‘LDVAR’
85 | (const unsigned char*)&NAME
| ^~~~
FunnyLoop1.c:93:42: note: each undeclared identifier is reported only once for each function it appears in
93 | widget_get_scaled_png(ui->win, LDVAR(bg_png));
| ^~~~~~
../libxputty/libxputty/include/xpngloader.h:85:28: note: in definition of macro ‘LDVAR’
85 | (const unsigned char*)&NAME
| ^~~~
FunnyLoop1.c:95:41: error: ‘big_button_c__png’ undeclared (first use in this function)
95 | widget_get_png(ui->widget[0], LDVAR(big_button_c__png));
| ^~~~~~~~~~~~~~~~~
../libxputty/libxputty/include/xpngloader.h:85:28: note: in definition of macro ‘LDVAR’
85 | (const unsigned char*)&NAME
| ^~~~
FunnyLoop1.c:101:41: error: ‘color_knob_png’ undeclared (first use in this function); did you mean ‘colors_png’?
101 | widget_get_png(ui->widget[2], LDVAR(color_knob_png));
| ^~~~~~~~~~~~~~
../libxputty/libxputty/include/xpngloader.h:85:28: note: in definition of macro ‘LDVAR’
85 | (const unsigned char*)&NAME
| ^~~~
FunnyLoop1.c:109:41: error: ‘knb_donc_l_png’ undeclared (first use in this function)
109 | widget_get_png(ui->widget[4], LDVAR(knb_donc_l_png));
| ^~~~~~~~~~~~~~
../libxputty/libxputty/include/xpngloader.h:85:28: note: in definition of macro ‘LDVAR’
85 | (const unsigned char*)&NAME
| ^~~~
make[1]: *** [makefile:103: FunnyLoop1] Error 1
make[1]: Leaving directory '/home/nameless/Desktop/FunnyLoop1_ui/FunnyLoop1'
make: *** [makefile:13: FunnyLoop1] Error 2