One minor issue: to link statically to libxmp, -DBUILDING_STATIC is needed in CFLAGS (OK, expected that.)
With that though, linkage succeeds but with warnings:
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_test_module ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_test_module_from_memory ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_test_module_from_file ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_load_module ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_load_module_from_memory ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_load_module_from_file ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_release_module ignored
Warning! W1027: file xmp_static.lib(load.c): redefinition of xmp_scan_module ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of libxmp_player_set_release ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of libxmp_player_set_fadeout ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of xmp_start_player ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of xmp_play_frame ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of xmp_play_buffer ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of xmp_end_player ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of xmp_get_module_info ignored
Warning! W1027: file xmp_static.lib(player.c): redefinition of xmp_get_frame_info ignored
Warning! W1171: locally defined symbol xmp_release_module imported
Warning! W1171: locally defined symbol xmp_end_player imported
Not sure what the problem is here.
Possibly a wlink bug - reproducible with wlink from ow19, and ow20 from Jan. 31 2021.
One minor issue: to link statically to libxmp, -DBUILDING_STATIC is needed in CFLAGS (OK, expected that.) With that though, linkage succeeds but with warnings:
Not sure what the problem is here.
Possibly a wlink bug - reproducible with wlink from ow19, and ow20 from Jan. 31 2021.