shinchiro / mpv-winbuild-cmake

CMake-based MinGW-w64 Cross Toolchain
670 stars 119 forks source link

How to see linking errors (undefined reference)? #347

Closed alexmercerind closed 1 year ago

alexmercerind commented 1 year ago

Hi!

I'm trying to get some minimal libmpv build which is small sized & just plays common formats. But there is some linking error at last stage of building mpv/libmpv-2.dll. Any way to find out which symbol is missing?

My configuration: https://github.com/media-kit/libmpv-win32-video-build/releases https://github.com/media-kit/libmpv-win32-cmake/tree/video

I have an audio-only configuration too (notice the size is considerably smaller): https://github.com/media-kit/libmpv-win32-audio-build/releases https://github.com/media-kit/libmpv-win32-cmake/tree/audio

[254/255] Linking target mpv.exe
FAILED: mpv.exe 
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/bin/x86_64-w64-mingw32-gcc  -o mpv.exe osdep_mpv.rc_mpv.o libmpv-2.dll.p/audio_aframe.c.obj libmpv-2.dll.p/audio_chmap.c.obj libmpv-2.dll.p/audio_chmap_sel.c.obj libmpv-2.dll.p/audio_decode_ad_lavc.c.obj libmpv-2.dll.p/audio_decode_ad_spdif.c.obj libmpv-2.dll.p/audio_filter_af_drop.c.obj libmpv-2.dll.p/audio_filter_af_format.c.obj libmpv-2.dll.p/audio_filter_af_lavcac3enc.c.obj libmpv-2.dll.p/audio_filter_af_scaletempo.c.obj libmpv-2.dll.p/audio_filter_af_scaletempo2.c.obj libmpv-2.dll.p/audio_filter_af_scaletempo2_internals.c.obj libmpv-2.dll.p/audio_fmt-conversion.c.obj libmpv-2.dll.p/audio_format.c.obj libmpv-2.dll.p/audio_out_ao.c.obj libmpv-2.dll.p/audio_out_ao_lavc.c.obj libmpv-2.dll.p/audio_out_ao_null.c.obj libmpv-2.dll.p/audio_out_ao_pcm.c.obj libmpv-2.dll.p/audio_out_buffer.c.obj libmpv-2.dll.p/common_av_common.c.obj libmpv-2.dll.p/common_av_log.c.obj libmpv-2.dll.p/common_codecs.c.obj libmpv-2.dll.p/common_common.c.obj libmpv-2.dll.p/common_encode_lavc.c.obj libmpv-2.dll.p/common_msg.c.obj libmpv-2.dll.p/common_playlist.c.obj libmpv-2.dll.p/common_recorder.c.obj libmpv-2.dll.p/common_stats.c.obj libmpv-2.dll.p/common_tags.c.obj libmpv-2.dll.p/common_version.c.obj libmpv-2.dll.p/demux_codec_tags.c.obj libmpv-2.dll.p/demux_cue.c.obj libmpv-2.dll.p/demux_cache.c.obj libmpv-2.dll.p/demux_demux.c.obj libmpv-2.dll.p/demux_demux_cue.c.obj libmpv-2.dll.p/demux_demux_disc.c.obj libmpv-2.dll.p/demux_demux_edl.c.obj libmpv-2.dll.p/demux_demux_lavf.c.obj libmpv-2.dll.p/demux_demux_mf.c.obj libmpv-2.dll.p/demux_demux_mkv.c.obj libmpv-2.dll.p/demux_demux_mkv_timeline.c.obj libmpv-2.dll.p/demux_demux_null.c.obj libmpv-2.dll.p/demux_demux_playlist.c.obj libmpv-2.dll.p/demux_demux_raw.c.obj libmpv-2.dll.p/demux_demux_timeline.c.obj libmpv-2.dll.p/demux_ebml.c.obj libmpv-2.dll.p/demux_packet.c.obj libmpv-2.dll.p/demux_timeline.c.obj libmpv-2.dll.p/filters_f_async_queue.c.obj libmpv-2.dll.p/filters_f_autoconvert.c.obj libmpv-2.dll.p/filters_f_auto_filters.c.obj libmpv-2.dll.p/filters_f_decoder_wrapper.c.obj libmpv-2.dll.p/filters_f_demux_in.c.obj libmpv-2.dll.p/filters_f_hwtransfer.c.obj libmpv-2.dll.p/filters_f_lavfi.c.obj libmpv-2.dll.p/filters_f_output_chain.c.obj libmpv-2.dll.p/filters_f_swresample.c.obj libmpv-2.dll.p/filters_f_swscale.c.obj libmpv-2.dll.p/filters_f_utils.c.obj libmpv-2.dll.p/filters_filter.c.obj libmpv-2.dll.p/filters_frame.c.obj libmpv-2.dll.p/filters_user_filters.c.obj libmpv-2.dll.p/input_cmd.c.obj libmpv-2.dll.p/input_event.c.obj libmpv-2.dll.p/input_input.c.obj libmpv-2.dll.p/input_ipc.c.obj libmpv-2.dll.p/input_keycodes.c.obj libmpv-2.dll.p/misc_bstr.c.obj libmpv-2.dll.p/misc_charset_conv.c.obj libmpv-2.dll.p/misc_dispatch.c.obj libmpv-2.dll.p/misc_json.c.obj libmpv-2.dll.p/misc_natural_sort.c.obj libmpv-2.dll.p/misc_node.c.obj libmpv-2.dll.p/misc_random.c.obj libmpv-2.dll.p/misc_rendezvous.c.obj libmpv-2.dll.p/misc_thread_pool.c.obj libmpv-2.dll.p/misc_thread_tools.c.obj libmpv-2.dll.p/options_m_config_core.c.obj libmpv-2.dll.p/options_m_config_frontend.c.obj libmpv-2.dll.p/options_m_option.c.obj libmpv-2.dll.p/options_m_property.c.obj libmpv-2.dll.p/options_options.c.obj libmpv-2.dll.p/options_parse_commandline.c.obj libmpv-2.dll.p/options_parse_configfile.c.obj libmpv-2.dll.p/options_path.c.obj libmpv-2.dll.p/player_audio.c.obj libmpv-2.dll.p/player_client.c.obj libmpv-2.dll.p/player_command.c.obj libmpv-2.dll.p/player_configfiles.c.obj libmpv-2.dll.p/player_external_files.c.obj libmpv-2.dll.p/player_loadfile.c.obj libmpv-2.dll.p/player_main.c.obj libmpv-2.dll.p/player_misc.c.obj libmpv-2.dll.p/player_osd.c.obj libmpv-2.dll.p/player_playloop.c.obj libmpv-2.dll.p/player_screenshot.c.obj libmpv-2.dll.p/player_scripting.c.obj libmpv-2.dll.p/player_sub.c.obj libmpv-2.dll.p/player_video.c.obj libmpv-2.dll.p/stream_cookies.c.obj libmpv-2.dll.p/stream_stream.c.obj libmpv-2.dll.p/stream_stream_avdevice.c.obj libmpv-2.dll.p/stream_stream_cb.c.obj libmpv-2.dll.p/stream_stream_concat.c.obj libmpv-2.dll.p/stream_stream_edl.c.obj libmpv-2.dll.p/stream_stream_file.c.obj libmpv-2.dll.p/stream_stream_lavf.c.obj libmpv-2.dll.p/stream_stream_memory.c.obj libmpv-2.dll.p/stream_stream_mf.c.obj libmpv-2.dll.p/stream_stream_null.c.obj libmpv-2.dll.p/stream_stream_slice.c.obj libmpv-2.dll.p/sub_ass_mp.c.obj libmpv-2.dll.p/sub_dec_sub.c.obj libmpv-2.dll.p/sub_draw_bmp.c.obj libmpv-2.dll.p/sub_filter_sdh.c.obj libmpv-2.dll.p/sub_img_convert.c.obj libmpv-2.dll.p/sub_lavc_conv.c.obj libmpv-2.dll.p/sub_osd.c.obj libmpv-2.dll.p/sub_osd_libass.c.obj libmpv-2.dll.p/sub_sd_ass.c.obj libmpv-2.dll.p/sub_sd_lavc.c.obj libmpv-2.dll.p/video_csputils.c.obj libmpv-2.dll.p/video_decode_vd_lavc.c.obj libmpv-2.dll.p/video_filter_refqueue.c.obj libmpv-2.dll.p/video_filter_vf_format.c.obj libmpv-2.dll.p/video_filter_vf_sub.c.obj libmpv-2.dll.p/video_fmt-conversion.c.obj libmpv-2.dll.p/video_hwdec.c.obj libmpv-2.dll.p/video_image_loader.c.obj libmpv-2.dll.p/video_image_writer.c.obj libmpv-2.dll.p/video_img_format.c.obj libmpv-2.dll.p/video_mp_image.c.obj libmpv-2.dll.p/video_mp_image_pool.c.obj libmpv-2.dll.p/video_out_aspect.c.obj libmpv-2.dll.p/video_out_bitmap_packer.c.obj libmpv-2.dll.p/video_out_dither.c.obj libmpv-2.dll.p/video_out_dr_helper.c.obj libmpv-2.dll.p/video_out_filter_kernels.c.obj libmpv-2.dll.p/video_out_gpu_context.c.obj libmpv-2.dll.p/video_out_gpu_error_diffusion.c.obj libmpv-2.dll.p/video_out_gpu_hwdec.c.obj libmpv-2.dll.p/video_out_gpu_lcms.c.obj libmpv-2.dll.p/video_out_gpu_libmpv_gpu.c.obj libmpv-2.dll.p/video_out_gpu_osd.c.obj libmpv-2.dll.p/video_out_gpu_ra.c.obj libmpv-2.dll.p/video_out_gpu_shader_cache.c.obj libmpv-2.dll.p/video_out_gpu_spirv.c.obj libmpv-2.dll.p/video_out_gpu_user_shaders.c.obj libmpv-2.dll.p/video_out_gpu_utils.c.obj libmpv-2.dll.p/video_out_gpu_video.c.obj libmpv-2.dll.p/video_out_gpu_video_shaders.c.obj libmpv-2.dll.p/video_out_libmpv_sw.c.obj libmpv-2.dll.p/video_out_vo.c.obj libmpv-2.dll.p/video_out_vo_gpu.c.obj libmpv-2.dll.p/video_out_vo_image.c.obj libmpv-2.dll.p/video_out_vo_lavc.c.obj libmpv-2.dll.p/video_out_vo_libmpv.c.obj libmpv-2.dll.p/video_out_vo_null.c.obj libmpv-2.dll.p/video_out_vo_tct.c.obj libmpv-2.dll.p/video_out_vo_kitty.c.obj libmpv-2.dll.p/video_out_win_state.c.obj libmpv-2.dll.p/video_repack.c.obj libmpv-2.dll.p/video_sws_utils.c.obj libmpv-2.dll.p/osdep_io.c.obj libmpv-2.dll.p/osdep_semaphore_osx.c.obj libmpv-2.dll.p/osdep_subprocess.c.obj libmpv-2.dll.p/osdep_threads.c.obj libmpv-2.dll.p/osdep_timer.c.obj libmpv-2.dll.p/ta_ta.c.obj libmpv-2.dll.p/ta_ta_talloc.c.obj libmpv-2.dll.p/ta_ta_utils.c.obj libmpv-2.dll.p/osdep_win32_pthread.c.obj libmpv-2.dll.p/osdep_timer-win2.c.obj libmpv-2.dll.p/osdep_w32_keyboard.c.obj libmpv-2.dll.p/osdep_windows_utils.c.obj libmpv-2.dll.p/osdep_path-win.c.obj libmpv-2.dll.p/osdep_subprocess-win.c.obj libmpv-2.dll.p/input_ipc-win.c.obj libmpv-2.dll.p/osdep_main-fn-win.c.obj libmpv-2.dll.p/osdep_terminal-win.c.obj libmpv-2.dll.p/video_out_w32_common.c.obj libmpv-2.dll.p/video_out_win32_displayconfig.c.obj libmpv-2.dll.p/video_out_win32_droptarget.c.obj libmpv-2.dll.p/osdep_glob-win.c.obj libmpv-2.dll.p/audio_chmap_avchannel.c.obj libmpv-2.dll.p/player_javascript.c.obj libmpv-2.dll.p/sub_filter_jsre.c.obj libmpv-2.dll.p/demux_demux_libarchive.c.obj libmpv-2.dll.p/stream_stream_libarchive.c.obj libmpv-2.dll.p/player_lua.c.obj libmpv-2.dll.p/video_filter_vf_fingerprint.c.obj libmpv-2.dll.p/video_zimg.c.obj libmpv-2.dll.p/audio_out_ao_openal.c.obj libmpv-2.dll.p/audio_out_ao_wasapi.c.obj libmpv-2.dll.p/audio_out_ao_wasapi_changenotify.c.obj libmpv-2.dll.p/audio_out_ao_wasapi_utils.c.obj libmpv-2.dll.p/video_out_placebo_ra_pl.c.obj libmpv-2.dll.p/video_out_placebo_utils.c.obj libmpv-2.dll.p/video_out_vo_gpu_next.c.obj libmpv-2.dll.p/video_out_gpu_next_context.c.obj libmpv-2.dll.p/video_out_gpu_spirv_shaderc.c.obj libmpv-2.dll.p/video_out_d3d11_context.c.obj libmpv-2.dll.p/video_out_d3d11_ra_d3d11.c.obj libmpv-2.dll.p/video_out_opengl_context_win.c.obj libmpv-2.dll.p/video_out_opengl_context_dxinterop.c.obj libmpv-2.dll.p/video_out_opengl_angle_dynamic.c.obj libmpv-2.dll.p/video_out_opengl_context_angle.c.obj libmpv-2.dll.p/video_out_gpu_d3d11_helpers.c.obj libmpv-2.dll.p/video_out_opengl_egl_helpers.c.obj libmpv-2.dll.p/video_out_opengl_common.c.obj libmpv-2.dll.p/video_out_opengl_context.c.obj libmpv-2.dll.p/video_out_opengl_formats.c.obj libmpv-2.dll.p/video_out_opengl_libmpv_gl.c.obj libmpv-2.dll.p/video_out_opengl_ra_gl.c.obj libmpv-2.dll.p/video_out_opengl_utils.c.obj libmpv-2.dll.p/video_out_vulkan_context.c.obj libmpv-2.dll.p/video_out_vulkan_utils.c.obj libmpv-2.dll.p/video_out_vulkan_context_win.c.obj libmpv-2.dll.p/video_out_vulkan_context_display.c.obj libmpv-2.dll.p/video_cuda.c.obj libmpv-2.dll.p/video_out_hwdec_hwdec_cuda.c.obj libmpv-2.dll.p/video_out_hwdec_hwdec_cuda_gl.c.obj libmpv-2.dll.p/video_out_hwdec_hwdec_cuda_vk.c.obj libmpv-2.dll.p/video_d3d.c.obj libmpv-2.dll.p/video_filter_vf_d3d11vpp.c.obj libmpv-2.dll.p/video_out_opengl_hwdec_d3d11egl.c.obj libmpv-2.dll.p/video_out_d3d11_hwdec_d3d11va.c.obj libmpv-2.dll.p/video_out_opengl_hwdec_dxva2egl.c.obj libmpv-2.dll.p/video_out_d3d11_hwdec_dxva2dxgi.c.obj libmpv-2.dll.p/video_out_opengl_hwdec_dxva2gldx.c.obj -flto -Wl,--allow-shlib-undefined -Wl,-O1 -Wl,--nxcompat,--no-seh,--dynamicbase -Wl,--start-group /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libass.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libiconv.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libgdi32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libfontconfig.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libz.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libexpat.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libunibreak.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libharfbuzz.a -lm /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libfribidi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libfreetype.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbz2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libpng16.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavcodec.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvpx.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liblzma.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdav1d.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libjxl.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libhwy.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbrotlienc.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbrotlidec.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbrotlicommon.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liblcms2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libjxl_threads.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libopus.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libspeex.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuavs3d.a -lpthread /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvorbis.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libogg.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libswresample.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libsoxr.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavutil.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvpl.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libole32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuuid.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libstdc++.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuser32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbcrypt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libatomic.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavfilter.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavformat.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libxml2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmodplug.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libopenmpt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/librpcrt4.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvorbisfile.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libsrt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libadvapi32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libshell32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingw32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/libgcc.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmoldname.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingwex.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libkernel32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libssh.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmbedtls.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmbedx509.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmbedcrypto.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libwsock32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libws2_32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libswscale.a -pthread /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libavrt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libdwmapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libgdi32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libole32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libuuid.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libversion.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libwinmm.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libiconv.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmujs.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libarchive.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liblzo2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavdevice.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libpsapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libstrmiids.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libshlwapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvfw32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libSDL2main.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libSDL2.a -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdinput8.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdxguid.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdxerr8.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libwinmm.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libimm32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liboleaut32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libsetupapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libversion.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libluajit-5.1.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libatomic.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuchardet.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libzimg.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libOpenAL32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libjpeg.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libplacebo.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libshaderc_combined.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libspirv-cross-c-shared.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvulkan.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libcfgmgr32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdovi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuserenv.a -lopengl32 -Wl,--subsystem,windows:6.0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/osdep_semaphore_osx.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/osdep_subprocess.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/osdep_w32_keyboard.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/video_out_opengl_formats.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libzimg.a(libzimg_internal_la-libm_wrapper.o):libm_wrapper.c:(.text$expf[expf]+0x0): multiple definition of `expf'; /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingwex.a(lib64_libmingwex_a-expf.o):/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/src_packages/mingw-w64/mingw-w64-crt/math/expf.c:9: first defined here
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libzimg.a(libzimg_internal_la-libm_wrapper.o):libm_wrapper.c:(.text$powf[powf]+0x0): multiple definition of `powf'; /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingwex.a(lib64_libmingwex_a-powf.o):/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/src_packages/mingw-w64/mingw-w64-crt/math/powf.c:8: first defined here
../../../../../src_packages/mpv/video/out/gpu/video.c: In function 'copy_image':
../../../../../src_packages/mpv/video/out/gpu/video.c:1354:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1354 |         dst[i] = dst_fmt[*offset + i];
      |                ^
../../../../../src_packages/mpv/video/out/gpu/video.c:1349:10: note: at offset 5 into destination object 'dst' of size 5
 1349 |     char dst[5] = {0};
      |          ^
../../../../../src_packages/mpv/video/out/gpu/video.c:1354:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1354 |         dst[i] = dst_fmt[*offset + i];
      |                ^
../../../../../src_packages/mpv/video/out/gpu/video.c:1349:10: note: at offset 6 into destination object 'dst' of size 5
 1349 |     char dst[5] = {0};
      |          ^
In function 'strndup_append_at',
    inlined from 'ta_strndup_append' at ../../../../../src_packages/mpv/ta/ta_utils.c:157:12,
    inlined from 'ta_talloc_strndup_append' at ../../../../../src_packages/mpv/ta/ta_talloc.c:37:5,
    inlined from 'flip_page' at ../../../../../src_packages/mpv/video/out/vo_kitty.c:309:19:
../../../../../src_packages/mpv/ta/ta_utils.c:100:9: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  100 |         memcpy(*str + at, append, append_len);
      |         ^
In function 'strndup_append_at',
    inlined from 'ta_strdup_append' at ../../../../../src_packages/mpv/ta/ta_utils.c:138:12,
    inlined from 'ta_talloc_strdup_append' at ../../../../../src_packages/mpv/ta/ta_talloc.c:25:5,
    inlined from 'print_obj_osd_list' at ../../../../../src_packages/mpv/player/command.c:3094:19:
../../../../../src_packages/mpv/ta/ta_utils.c:100:9: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  100 |         memcpy(*str + at, append, append_len);
      |         ^
collect2: error: ld returned 1 exit status
[255/255] Linking target libmpv-2.dll
FAILED: libmpv-2.dll 
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/bin/x86_64-w64-mingw32-gcc  -o libmpv-2.dll osdep_mpv.rc_mpv.o libmpv-2.dll.p/audio_aframe.c.obj libmpv-2.dll.p/audio_chmap.c.obj libmpv-2.dll.p/audio_chmap_sel.c.obj libmpv-2.dll.p/audio_decode_ad_lavc.c.obj libmpv-2.dll.p/audio_decode_ad_spdif.c.obj libmpv-2.dll.p/audio_filter_af_drop.c.obj libmpv-2.dll.p/audio_filter_af_format.c.obj libmpv-2.dll.p/audio_filter_af_lavcac3enc.c.obj libmpv-2.dll.p/audio_filter_af_scaletempo.c.obj libmpv-2.dll.p/audio_filter_af_scaletempo2.c.obj libmpv-2.dll.p/audio_filter_af_scaletempo2_internals.c.obj libmpv-2.dll.p/audio_fmt-conversion.c.obj libmpv-2.dll.p/audio_format.c.obj libmpv-2.dll.p/audio_out_ao.c.obj libmpv-2.dll.p/audio_out_ao_lavc.c.obj libmpv-2.dll.p/audio_out_ao_null.c.obj libmpv-2.dll.p/audio_out_ao_pcm.c.obj libmpv-2.dll.p/audio_out_buffer.c.obj libmpv-2.dll.p/common_av_common.c.obj libmpv-2.dll.p/common_av_log.c.obj libmpv-2.dll.p/common_codecs.c.obj libmpv-2.dll.p/common_common.c.obj libmpv-2.dll.p/common_encode_lavc.c.obj libmpv-2.dll.p/common_msg.c.obj libmpv-2.dll.p/common_playlist.c.obj libmpv-2.dll.p/common_recorder.c.obj libmpv-2.dll.p/common_stats.c.obj libmpv-2.dll.p/common_tags.c.obj libmpv-2.dll.p/common_version.c.obj libmpv-2.dll.p/demux_codec_tags.c.obj libmpv-2.dll.p/demux_cue.c.obj libmpv-2.dll.p/demux_cache.c.obj libmpv-2.dll.p/demux_demux.c.obj libmpv-2.dll.p/demux_demux_cue.c.obj libmpv-2.dll.p/demux_demux_disc.c.obj libmpv-2.dll.p/demux_demux_edl.c.obj libmpv-2.dll.p/demux_demux_lavf.c.obj libmpv-2.dll.p/demux_demux_mf.c.obj libmpv-2.dll.p/demux_demux_mkv.c.obj libmpv-2.dll.p/demux_demux_mkv_timeline.c.obj libmpv-2.dll.p/demux_demux_null.c.obj libmpv-2.dll.p/demux_demux_playlist.c.obj libmpv-2.dll.p/demux_demux_raw.c.obj libmpv-2.dll.p/demux_demux_timeline.c.obj libmpv-2.dll.p/demux_ebml.c.obj libmpv-2.dll.p/demux_packet.c.obj libmpv-2.dll.p/demux_timeline.c.obj libmpv-2.dll.p/filters_f_async_queue.c.obj libmpv-2.dll.p/filters_f_autoconvert.c.obj libmpv-2.dll.p/filters_f_auto_filters.c.obj libmpv-2.dll.p/filters_f_decoder_wrapper.c.obj libmpv-2.dll.p/filters_f_demux_in.c.obj libmpv-2.dll.p/filters_f_hwtransfer.c.obj libmpv-2.dll.p/filters_f_lavfi.c.obj libmpv-2.dll.p/filters_f_output_chain.c.obj libmpv-2.dll.p/filters_f_swresample.c.obj libmpv-2.dll.p/filters_f_swscale.c.obj libmpv-2.dll.p/filters_f_utils.c.obj libmpv-2.dll.p/filters_filter.c.obj libmpv-2.dll.p/filters_frame.c.obj libmpv-2.dll.p/filters_user_filters.c.obj libmpv-2.dll.p/input_cmd.c.obj libmpv-2.dll.p/input_event.c.obj libmpv-2.dll.p/input_input.c.obj libmpv-2.dll.p/input_ipc.c.obj libmpv-2.dll.p/input_keycodes.c.obj libmpv-2.dll.p/misc_bstr.c.obj libmpv-2.dll.p/misc_charset_conv.c.obj libmpv-2.dll.p/misc_dispatch.c.obj libmpv-2.dll.p/misc_json.c.obj libmpv-2.dll.p/misc_natural_sort.c.obj libmpv-2.dll.p/misc_node.c.obj libmpv-2.dll.p/misc_random.c.obj libmpv-2.dll.p/misc_rendezvous.c.obj libmpv-2.dll.p/misc_thread_pool.c.obj libmpv-2.dll.p/misc_thread_tools.c.obj libmpv-2.dll.p/options_m_config_core.c.obj libmpv-2.dll.p/options_m_config_frontend.c.obj libmpv-2.dll.p/options_m_option.c.obj libmpv-2.dll.p/options_m_property.c.obj libmpv-2.dll.p/options_options.c.obj libmpv-2.dll.p/options_parse_commandline.c.obj libmpv-2.dll.p/options_parse_configfile.c.obj libmpv-2.dll.p/options_path.c.obj libmpv-2.dll.p/player_audio.c.obj libmpv-2.dll.p/player_client.c.obj libmpv-2.dll.p/player_command.c.obj libmpv-2.dll.p/player_configfiles.c.obj libmpv-2.dll.p/player_external_files.c.obj libmpv-2.dll.p/player_loadfile.c.obj libmpv-2.dll.p/player_main.c.obj libmpv-2.dll.p/player_misc.c.obj libmpv-2.dll.p/player_osd.c.obj libmpv-2.dll.p/player_playloop.c.obj libmpv-2.dll.p/player_screenshot.c.obj libmpv-2.dll.p/player_scripting.c.obj libmpv-2.dll.p/player_sub.c.obj libmpv-2.dll.p/player_video.c.obj libmpv-2.dll.p/stream_cookies.c.obj libmpv-2.dll.p/stream_stream.c.obj libmpv-2.dll.p/stream_stream_avdevice.c.obj libmpv-2.dll.p/stream_stream_cb.c.obj libmpv-2.dll.p/stream_stream_concat.c.obj libmpv-2.dll.p/stream_stream_edl.c.obj libmpv-2.dll.p/stream_stream_file.c.obj libmpv-2.dll.p/stream_stream_lavf.c.obj libmpv-2.dll.p/stream_stream_memory.c.obj libmpv-2.dll.p/stream_stream_mf.c.obj libmpv-2.dll.p/stream_stream_null.c.obj libmpv-2.dll.p/stream_stream_slice.c.obj libmpv-2.dll.p/sub_ass_mp.c.obj libmpv-2.dll.p/sub_dec_sub.c.obj libmpv-2.dll.p/sub_draw_bmp.c.obj libmpv-2.dll.p/sub_filter_sdh.c.obj libmpv-2.dll.p/sub_img_convert.c.obj libmpv-2.dll.p/sub_lavc_conv.c.obj libmpv-2.dll.p/sub_osd.c.obj libmpv-2.dll.p/sub_osd_libass.c.obj libmpv-2.dll.p/sub_sd_ass.c.obj libmpv-2.dll.p/sub_sd_lavc.c.obj libmpv-2.dll.p/video_csputils.c.obj libmpv-2.dll.p/video_decode_vd_lavc.c.obj libmpv-2.dll.p/video_filter_refqueue.c.obj libmpv-2.dll.p/video_filter_vf_format.c.obj libmpv-2.dll.p/video_filter_vf_sub.c.obj libmpv-2.dll.p/video_fmt-conversion.c.obj libmpv-2.dll.p/video_hwdec.c.obj libmpv-2.dll.p/video_image_loader.c.obj libmpv-2.dll.p/video_image_writer.c.obj libmpv-2.dll.p/video_img_format.c.obj libmpv-2.dll.p/video_mp_image.c.obj libmpv-2.dll.p/video_mp_image_pool.c.obj libmpv-2.dll.p/video_out_aspect.c.obj libmpv-2.dll.p/video_out_bitmap_packer.c.obj libmpv-2.dll.p/video_out_dither.c.obj libmpv-2.dll.p/video_out_dr_helper.c.obj libmpv-2.dll.p/video_out_filter_kernels.c.obj libmpv-2.dll.p/video_out_gpu_context.c.obj libmpv-2.dll.p/video_out_gpu_error_diffusion.c.obj libmpv-2.dll.p/video_out_gpu_hwdec.c.obj libmpv-2.dll.p/video_out_gpu_lcms.c.obj libmpv-2.dll.p/video_out_gpu_libmpv_gpu.c.obj libmpv-2.dll.p/video_out_gpu_osd.c.obj libmpv-2.dll.p/video_out_gpu_ra.c.obj libmpv-2.dll.p/video_out_gpu_shader_cache.c.obj libmpv-2.dll.p/video_out_gpu_spirv.c.obj libmpv-2.dll.p/video_out_gpu_user_shaders.c.obj libmpv-2.dll.p/video_out_gpu_utils.c.obj libmpv-2.dll.p/video_out_gpu_video.c.obj libmpv-2.dll.p/video_out_gpu_video_shaders.c.obj libmpv-2.dll.p/video_out_libmpv_sw.c.obj libmpv-2.dll.p/video_out_vo.c.obj libmpv-2.dll.p/video_out_vo_gpu.c.obj libmpv-2.dll.p/video_out_vo_image.c.obj libmpv-2.dll.p/video_out_vo_lavc.c.obj libmpv-2.dll.p/video_out_vo_libmpv.c.obj libmpv-2.dll.p/video_out_vo_null.c.obj libmpv-2.dll.p/video_out_vo_tct.c.obj libmpv-2.dll.p/video_out_vo_kitty.c.obj libmpv-2.dll.p/video_out_win_state.c.obj libmpv-2.dll.p/video_repack.c.obj libmpv-2.dll.p/video_sws_utils.c.obj libmpv-2.dll.p/osdep_io.c.obj libmpv-2.dll.p/osdep_semaphore_osx.c.obj libmpv-2.dll.p/osdep_subprocess.c.obj libmpv-2.dll.p/osdep_threads.c.obj libmpv-2.dll.p/osdep_timer.c.obj libmpv-2.dll.p/ta_ta.c.obj libmpv-2.dll.p/ta_ta_talloc.c.obj libmpv-2.dll.p/ta_ta_utils.c.obj libmpv-2.dll.p/osdep_win32_pthread.c.obj libmpv-2.dll.p/osdep_timer-win2.c.obj libmpv-2.dll.p/osdep_w32_keyboard.c.obj libmpv-2.dll.p/osdep_windows_utils.c.obj libmpv-2.dll.p/osdep_path-win.c.obj libmpv-2.dll.p/osdep_subprocess-win.c.obj libmpv-2.dll.p/input_ipc-win.c.obj libmpv-2.dll.p/osdep_main-fn-win.c.obj libmpv-2.dll.p/osdep_terminal-win.c.obj libmpv-2.dll.p/video_out_w32_common.c.obj libmpv-2.dll.p/video_out_win32_displayconfig.c.obj libmpv-2.dll.p/video_out_win32_droptarget.c.obj libmpv-2.dll.p/osdep_glob-win.c.obj libmpv-2.dll.p/audio_chmap_avchannel.c.obj libmpv-2.dll.p/player_javascript.c.obj libmpv-2.dll.p/sub_filter_jsre.c.obj libmpv-2.dll.p/demux_demux_libarchive.c.obj libmpv-2.dll.p/stream_stream_libarchive.c.obj libmpv-2.dll.p/player_lua.c.obj libmpv-2.dll.p/video_filter_vf_fingerprint.c.obj libmpv-2.dll.p/video_zimg.c.obj libmpv-2.dll.p/audio_out_ao_openal.c.obj libmpv-2.dll.p/audio_out_ao_wasapi.c.obj libmpv-2.dll.p/audio_out_ao_wasapi_changenotify.c.obj libmpv-2.dll.p/audio_out_ao_wasapi_utils.c.obj libmpv-2.dll.p/video_out_placebo_ra_pl.c.obj libmpv-2.dll.p/video_out_placebo_utils.c.obj libmpv-2.dll.p/video_out_vo_gpu_next.c.obj libmpv-2.dll.p/video_out_gpu_next_context.c.obj libmpv-2.dll.p/video_out_gpu_spirv_shaderc.c.obj libmpv-2.dll.p/video_out_d3d11_context.c.obj libmpv-2.dll.p/video_out_d3d11_ra_d3d11.c.obj libmpv-2.dll.p/video_out_opengl_context_win.c.obj libmpv-2.dll.p/video_out_opengl_context_dxinterop.c.obj libmpv-2.dll.p/video_out_opengl_angle_dynamic.c.obj libmpv-2.dll.p/video_out_opengl_context_angle.c.obj libmpv-2.dll.p/video_out_gpu_d3d11_helpers.c.obj libmpv-2.dll.p/video_out_opengl_egl_helpers.c.obj libmpv-2.dll.p/video_out_opengl_common.c.obj libmpv-2.dll.p/video_out_opengl_context.c.obj libmpv-2.dll.p/video_out_opengl_formats.c.obj libmpv-2.dll.p/video_out_opengl_libmpv_gl.c.obj libmpv-2.dll.p/video_out_opengl_ra_gl.c.obj libmpv-2.dll.p/video_out_opengl_utils.c.obj libmpv-2.dll.p/video_out_vulkan_context.c.obj libmpv-2.dll.p/video_out_vulkan_utils.c.obj libmpv-2.dll.p/video_out_vulkan_context_win.c.obj libmpv-2.dll.p/video_out_vulkan_context_display.c.obj libmpv-2.dll.p/video_cuda.c.obj libmpv-2.dll.p/video_out_hwdec_hwdec_cuda.c.obj libmpv-2.dll.p/video_out_hwdec_hwdec_cuda_gl.c.obj libmpv-2.dll.p/video_out_hwdec_hwdec_cuda_vk.c.obj libmpv-2.dll.p/video_d3d.c.obj libmpv-2.dll.p/video_filter_vf_d3d11vpp.c.obj libmpv-2.dll.p/video_out_opengl_hwdec_d3d11egl.c.obj libmpv-2.dll.p/video_out_d3d11_hwdec_d3d11va.c.obj libmpv-2.dll.p/video_out_opengl_hwdec_dxva2egl.c.obj libmpv-2.dll.p/video_out_d3d11_hwdec_dxva2dxgi.c.obj libmpv-2.dll.p/video_out_opengl_hwdec_dxva2gldx.c.obj -flto -Wl,--allow-shlib-undefined -Wl,-O1 -shared -Wl,--start-group -Wl,--out-implib=libmpv.dll.a -Wl,--nxcompat,--no-seh,--dynamicbase /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libass.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libiconv.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libgdi32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libfontconfig.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libz.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libexpat.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libunibreak.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libharfbuzz.a -lm /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libfribidi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libfreetype.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbz2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libpng16.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavcodec.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvpx.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liblzma.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdav1d.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libjxl.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libhwy.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbrotlienc.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbrotlidec.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbrotlicommon.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liblcms2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libjxl_threads.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libopus.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libspeex.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuavs3d.a -lpthread /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvorbis.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libogg.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libswresample.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libsoxr.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavutil.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvpl.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libole32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuuid.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libstdc++.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuser32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libbcrypt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libatomic.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavfilter.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavformat.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libxml2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmodplug.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libopenmpt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/librpcrt4.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvorbisfile.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libsrt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libadvapi32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libshell32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingw32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/libgcc.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmoldname.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingwex.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libkernel32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libssh.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmbedtls.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmbedx509.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmbedcrypto.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libwsock32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libws2_32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libswscale.a -pthread /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libavrt.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libdwmapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libgdi32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libole32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libuuid.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libversion.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libwinmm.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libiconv.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmujs.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libarchive.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liblzo2.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libavdevice.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libpsapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libstrmiids.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libshlwapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvfw32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libSDL2main.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libSDL2.a -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdinput8.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdxguid.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdxerr8.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libwinmm.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libimm32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/liboleaut32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libsetupapi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libversion.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libluajit-5.1.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libatomic.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuchardet.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libzimg.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libOpenAL32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libjpeg.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libplacebo.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libshaderc_combined.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libspirv-cross-c-shared.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libvulkan.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libcfgmgr32.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libdovi.a /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libuserenv.a -lopengl32 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/osdep_semaphore_osx.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/osdep_subprocess.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/osdep_w32_keyboard.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: libmpv-2.dll.p/video_out_opengl_formats.c.obj (symbol from plugin): warning: no symbol for section 'GUID_MAX_POWER_SAVINGS' found
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libzimg.a(libzimg_internal_la-libm_wrapper.o):libm_wrapper.c:(.text$expf[expf]+0x0): multiple definition of `expf'; /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingwex.a(lib64_libmingwex_a-expf.o):/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/src_packages/mingw-w64/mingw-w64-crt/math/expf.c:9: first defined here
/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libzimg.a(libzimg_internal_la-libm_wrapper.o):libm_wrapper.c:(.text$powf[powf]+0x0): multiple definition of `powf'; /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/libmingwex.a(lib64_libmingwex_a-powf.o):/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/src_packages/mingw-w64/mingw-w64-crt/math/powf.c:8: first defined here
In function 'strndup_append_at',
    inlined from 'ta_strndup_append' at ../../../../../src_packages/mpv/ta/ta_utils.c:157:12,
    inlined from 'ta_talloc_strndup_append' at ../../../../../src_packages/mpv/ta/ta_talloc.c:37:5,
    inlined from 'flip_page' at ../../../../../src_packages/mpv/video/out/vo_kitty.c:309:19:
../../../../../src_packages/mpv/ta/ta_utils.c:100:9: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  100 |         memcpy(*str + at, append, append_len);
      |         ^
In function 'strndup_append_at',
    inlined from 'ta_strdup_append' at ../../../../../src_packages/mpv/ta/ta_utils.c:138:12,
    inlined from 'ta_talloc_strdup_append' at ../../../../../src_packages/mpv/ta/ta_talloc.c:25:5,
    inlined from 'print_obj_osd_list' at ../../../../../src_packages/mpv/player/command.c:3094:19:
../../../../../src_packages/mpv/ta/ta_utils.c:100:9: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  100 |         memcpy(*str + at, append, append_len);
      |         ^
../../../../../src_packages/mpv/video/out/gpu/video.c: In function 'copy_image':
../../../../../src_packages/mpv/video/out/gpu/video.c:1354:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1354 |         dst[i] = dst_fmt[*offset + i];
      |                ^
../../../../../src_packages/mpv/video/out/gpu/video.c:1349:10: note: at offset 5 into destination object 'dst' of size 5
 1349 |     char dst[5] = {0};
      |          ^
../../../../../src_packages/mpv/video/out/gpu/video.c:1354:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1354 |         dst[i] = dst_fmt[*offset + i];
      |                ^
../../../../../src_packages/mpv/video/out/gpu/video.c:1349:10: note: at offset 6 into destination object 'dst' of size 5
 1349 |     char dst[5] = {0};
      |          ^
In function 'copy_image',
    inlined from 'pass_read_tex' at ../../../../../src_packages/mpv/video/out/gpu/video.c:2314:5:
../../../../../src_packages/mpv/video/out/gpu/video.c:1354:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1354 |         dst[i] = dst_fmt[*offset + i];
      |                ^
../../../../../src_packages/mpv/video/out/gpu/video.c: In function 'pass_read_tex':
../../../../../src_packages/mpv/video/out/gpu/video.c:1349:10: note: at offset 5 into destination object 'dst' of size 5
 1349 |     char dst[5] = {0};
      |          ^
In function 'copy_image',
    inlined from 'pass_read_tex' at ../../../../../src_packages/mpv/video/out/gpu/video.c:2314:5:
../../../../../src_packages/mpv/video/out/gpu/video.c:1354:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1354 |         dst[i] = dst_fmt[*offset + i];
      |                ^
../../../../../src_packages/mpv/video/out/gpu/video.c: In function 'pass_read_tex':
../../../../../src_packages/mpv/video/out/gpu/video.c:1349:10: note: at offset 6 into destination object 'dst' of size 5
 1349 |     char dst[5] = {0};
      |          ^
collect2: error: ld returned 1 exit status
alexmercerind commented 1 year ago

After linking with -v flag, I'm getting this undefined reference:

2023-04-07T06:02:05.3572281Z COMPILER_PATH=/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/libexec/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/libexec/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/libexec/gcc/x86_64-w64-mingw32/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/libexec/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/libexec/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/libexec/gcc/x86_64-w64-mingw32/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/
2023-04-07T06:02:05.3578188Z LIBRARY_PATH=/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/../lib/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/../lib/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/lib/:/__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/mingw/lib/
2023-04-07T06:02:05.3580172Z COLLECT_GCC_OPTIONS='-c' '-fno-openmp' '-fno-openacc' '-fpic' '-fcf-protection=none' '-O3' '-v' '-pthread' '-mtune=generic' '-march=x86-64'   '-fltrans' '-o' '/tmp/cc6nvmIq.ltrans12.ltrans.o' '-dumpdir' './mpv.ltrans12.ltrans.'
2023-04-07T06:02:07.6517700Z /__w/libmpv-win32-video-build/libmpv-win32-video-build/mpv-winbuild-cmake/build64/install/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: /tmp/cc6nvmIq.ltrans21.ltrans.o:<artificial>:(.text+0x10c5): undefined reference to `__imp_SetWindowTheme'
2023-04-07T06:02:09.9744644Z collect2: error: ld returned 1 exit status

I have to see what declaration is missing either directly or transitively.

alexmercerind commented 1 year ago

It's some Win32 method which is used within libmpv after recent update for dynamic title bar (which isn't the cause). I made my setup very broken, had to start from scratch.

Thanks for awesome setup.