Open Chanyon opened 3 months ago
问题解决了?
还是这个error: lld-link: undefined symbol: XXXXXXX
错误。我不知道怎么解决这个问题。
link: https://github.com/Chanyon/LCUI/tree/build_zig
lcui_project\LCUI\examples\hello> zig build
install
└─ install hello
└─ zig build-exe hello Debug native 90 errors
error: lld-link: undefined symbol: pd_color
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_app.c:606
note: platform.lib(win32_app.obj):(app_window_begin_paint)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:329
note: ui-widgets.lib(textinput.obj):(textinput_update_textlayer)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:442
note: ui-server.lib(server.obj):(ui_server_render_flash_rect)
note: referenced 4 more times
error: lld-link: undefined symbol: pd_canvas_fill
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_app.c:606
note: platform.lib(win32_app.obj):(app_window_begin_paint)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:442
note: ui-server.lib(server.obj):(ui_server_render_flash_rect)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\border.c:841
note: pandagl.lib(border.obj):(pd_paint_border)
note: referenced 4 more times
error: lld-link: undefined symbol: __declspec(dllimport) xmlParseMemory
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:310
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_string)
error: lld-link: undefined symbol: __declspec(dllimport) xmlGetLastError
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:312
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_string)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:345
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_file)
error: lld-link: undefined symbol: __declspec(dllimport) xmlDocGetRootElement
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:317
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_string)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:349
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_file)
error: lld-link: undefined symbol: __declspec(dllimport) xmlStrcasecmp
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:318
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_string)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:350
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_file)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:181
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_widget_node)
note: referenced 4 more times
error: lld-link: undefined symbol: __declspec(dllimport) xmlFreeDoc
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:325
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_string)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:357
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_file)
error: lld-link: undefined symbol: __declspec(dllimport) xmlParseFile
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:343
note: ui-xml.lib(ui_xml.obj):(ui_load_xml_file)
error: lld-link: undefined symbol: __declspec(dllimport) xmlGetProp
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:180
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_widget_node)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:201
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_widget_node)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:81
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_resource_node)
error: lld-link: undefined symbol: __declspec(dllimport) xmlFree
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:186
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_widget_node)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:191
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_widget_node)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-xml\src\ui_xml.c:215
note: ui-xml.lib(ui_xml.obj):(ui_builder_parse_widget_node)
note: referenced 3 more times
error: lld-link: undefined symbol: ui_widget_request_refresh_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:66
note: ui.lib(ui_tree.obj):(ui_widget_append)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:263
note: ui.lib(ui_tree.obj):(ui_widget_empty)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\text.c:339
note: ui-widgets.lib(text.obj):(text_on_font_face_load)
note: referenced 6 more times
error: lld-link: undefined symbol: ui_widget_refresh_children_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:67
note: ui.lib(ui_tree.obj):(ui_widget_append)
error: lld-link: undefined symbol: ui_widget_request_reflow
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:70
note: ui.lib(ui_tree.obj):(ui_widget_append)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:228
note: ui.lib(ui_tree.obj):(ui_widget_unlink)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:113
note: ui.lib(ui_tree.obj):(ui_widget_prepend)
note: referenced 6 more times
error: lld-link: undefined symbol: ui_rect_has_point
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:358
note: ui.lib(ui_tree.obj):(ui_widget_at)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:447
note: ui.lib(ui_events.obj):(ui_widget_get_next_at)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:606
note: ui.lib(ui_events.obj):(ui_widget_get_event_target)
error: lld-link: undefined symbol: ui_widget_create_selector_node
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:426
note: ui.lib(ui_tree.obj):(ui_print_tree)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_tree.c:398
note: ui.lib(ui_tree.obj):(_ui_print_tree)
error: lld-link: undefined symbol: ui_widget_use_extra_data
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:346
note: ui.lib(ui_events.obj):(ui_widget_add_event_listener)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_mutation_observer.c:163
note: ui.lib(ui_mutation_observer.obj):(ui_mutation_observer_observe)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:92
note: ui.lib(ui_updater.obj):(ui_widget_set_rules)
error: lld-link: undefined symbol: ui_widget_is_focusable
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:781
note: ui.lib(ui_events.obj):(ui_set_focus)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:795
note: ui.lib(ui_events.obj):(ui_set_focus)
error: lld-link: undefined symbol: ui_clear_touch_capturers
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:264
note: ui.lib(ui_events.obj):(ui_add_touch_capturer)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:1040
note: ui.lib(ui_events.obj):(ui_on_touch_event)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_events.c:1196
note: ui.lib(ui_events.obj):(ui_destroy_events)
error: lld-link: undefined symbol: ui_widget_set_style_unit_value
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:127
note: ui-widgets.lib(textinput.obj):(ui_textinput_update_caret)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:28
note: ui.lib(ui_widget_helper.obj):(ui_widget_move)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:29
note: ui.lib(ui_widget_helper.obj):(ui_widget_move)
note: referenced 10 more times
error: lld-link: undefined symbol: ui_widget_set_style_keyword_value
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:464
note: ui-widgets.lib(textinput.obj):(ui_textinput_enable_multiline)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:467
note: ui-widgets.lib(textinput.obj):(ui_textinput_enable_multiline)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:53
note: ui.lib(ui_widget_helper.obj):(ui_widget_hide)
error: lld-link: undefined symbol: ui_compute
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:414
note: ui-widgets.lib(textinput.obj):(ui_textinput_on_auto_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:426
note: ui-widgets.lib(textinput.obj):(ui_textinput_on_auto_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\textinput.c:427
note: ui-widgets.lib(textinput.obj):(ui_textinput_on_auto_size)
note: referenced 44 more times
error: lld-link: undefined symbol: pd_canvas_get_quote_source
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:184
note: pandagl.lib(canvas.obj):(pd_canvas_begin_writing)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:410
note: pandagl.lib(canvas.obj):(pd_canvas_mix)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\bitmap.c:114
note: pandagl.lib(bitmap.obj):(pd_canvas_mix_font_bitmap)
note: referenced 14 more times
error: lld-link: undefined symbol: pd_canvas_get_quote_source_readonly
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:209
note: pandagl.lib(canvas.obj):(pd_canvas_replace)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:275
note: pandagl.lib(canvas.obj):(pd_canvas_copy)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:409
note: pandagl.lib(canvas.obj):(pd_canvas_mix)
note: referenced 3 more times
error: lld-link: undefined symbol: pd_canvas_pixel_at
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:162
note: pandagl.lib(canvas.obj):(pd_canvas_direct_replace)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:163
note: pandagl.lib(canvas.obj):(pd_canvas_direct_replace)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:341
note: pandagl.lib(canvas.obj):(pd_canvas_mix_argb2rgb)
note: referenced 23 more times
error: lld-link: undefined symbol: pd_over_pixel
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\canvas.c:298
note: pandagl.lib(canvas.obj):(pd_canvas_mix_argb_with_alpha)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\bitmap.c:55
note: pandagl.lib(bitmap.obj):(pd_canvas_mix_font_bitmap_argb)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\border.c:148
note: pandagl.lib(border.obj):(draw_border_top_left)
note: referenced 7 more times
error: lld-link: undefined symbol: app_on_event
note: referenced by D:\Dev-cpp\lcui_project\LCUI\src\lcui_ui.c:441
note: lcui.lib(lcui_ui.obj):(lcui_init_ui)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:703
note: ui-server.lib(server.obj):(ui_server_init)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:705
note: ui-server.lib(server.obj):(ui_server_init)
note: referenced 5 more times
error: lld-link: undefined symbol: app_off_event
note: referenced by D:\Dev-cpp\lcui_project\LCUI\src\lcui_ui.c:454
note: lcui.lib(lcui_ui.obj):(lcui_destroy_ui)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:735
note: ui-server.lib(server.obj):(ui_server_destroy)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:736
note: ui-server.lib(server.obj):(ui_server_destroy)
note: referenced 2 more times
error: lld-link: undefined symbol: ui_widget_destroy_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget.c:57
note: ui.lib(ui_widget.obj):(ui_widget_destroy)
error: lld-link: undefined symbol: ui_rect_is_include
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget.c:219
note: ui.lib(ui_widget.obj):(ui_widget_in_viewport)
error: lld-link: undefined symbol: css_color_alpha
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget.c:222
note: ui.lib(ui_widget.obj):(ui_widget_in_viewport)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_renderer.c:89
note: ui.lib(ui_renderer.obj):(ui_widget_is_paintable)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_background.c:26
note: ui.lib(ui_widget_background.obj):(ui_widget_paint_background)
error: lld-link: undefined symbol: ui_widget_get_children_style_changes
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_classes.c:40
note: ui.lib(ui_widget_classes.obj):(ui_widget_handle_classes_change)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_status.c:38
note: ui.lib(ui_widget_status.obj):(ui_wdiget_handle_status_change)
error: lld-link: undefined symbol: select_char_cache
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:185
note: pandagl.lib(library.obj):(pd_font_library_add_bitmap)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:243
note: pandagl.lib(library.obj):(pd_font_library_get_bitmap)
error: lld-link: undefined symbol: select_font_cache
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:200
note: pandagl.lib(library.obj):(pd_font_library_add_bitmap)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:246
note: pandagl.lib(library.obj):(pd_font_library_get_bitmap)
error: lld-link: undefined symbol: select_bitmap_cache
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:211
note: pandagl.lib(library.obj):(pd_font_library_add_bitmap)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:250
note: pandagl.lib(library.obj):(pd_font_library_get_bitmap)
error: lld-link: undefined symbol: select_font_family_cache
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:387
note: pandagl.lib(library.obj):(pd_font_library_add_font)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\font\library.c:485
note: pandagl.lib(library.obj):(pd_font_library_get_font_id)
error: lld-link: undefined symbol: ui_widget_has_update
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:350
note: ui.lib(ui_updater.obj):(ui_widget_update)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:256
note: ui.lib(ui_updater.obj):(ui_widget_update_children)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:213
note: ui.lib(ui_updater.obj):(ui_widget_update_visible_children)
error: lld-link: undefined symbol: ui_widget_update_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:366
note: ui.lib(ui_updater.obj):(ui_widget_update)
error: lld-link: undefined symbol: ui_widget_in_layout_flow
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:381
note: ui.lib(ui_updater.obj):(ui_widget_update)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_diff.c:71
note: ui.lib(ui_diff.obj):(ui_style_diff_end)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_block_layout.c:108
note: ui.lib(ui_block_layout.obj):(ui_block_layout_load)
note: referenced 5 more times
error: lld-link: undefined symbol: ui_widget_create_selector
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:153
note: ui.lib(ui_updater.obj):(ui_widget_match_style)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:160
note: ui.lib(ui_updater.obj):(ui_widget_match_style)
error: lld-link: undefined symbol: ui_widget_compute_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:316
note: ui.lib(ui_updater.obj):(ui_widget_update_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_block_layout.c:112
note: ui.lib(ui_block_layout.obj):(ui_block_layout_load)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_block_layout.c:238
note: ui.lib(ui_block_layout.obj):(ui_block_layout_update)
note: referenced 6 more times
error: lld-link: undefined symbol: ui_rect_is_equal
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:412
note: ui.lib(ui_updater.obj):(ui_process_mutations)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:412
note: ui.lib(ui_updater.obj):(ui_process_mutations)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_updater.c:424
note: ui.lib(ui_updater.obj):(ui_process_mutations)
note: referenced 1 more times
error: lld-link: undefined symbol: ui_compute_rect
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_renderer.c:193
note: ui.lib(ui_renderer.obj):(ui_widget_collect_dirty_rect)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:283
note: ui-server.lib(server.obj):(ui_server_refresh_window)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:205
note: ui-server.lib(server.obj):(ui_server_on_window_resize)
error: lld-link: undefined symbol: ui_widget_compute_box
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_renderer.c:566
note: ui.lib(ui_renderer.obj):(ui_widget_render)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_renderer.c:407
note: ui.lib(ui_renderer.obj):(ui_renderer_render_children)
error: lld-link: undefined symbol: ui_widget_get_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:42
note: ui.lib(ui_widget_helper.obj):(ui_widget_show)
error: lld-link: undefined symbol: ui_widget_unset_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:46
note: ui.lib(ui_widget_helper.obj):(ui_widget_show)
error: lld-link: undefined symbol: ui_widget_request_update_style
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:47
note: ui.lib(ui_widget_helper.obj):(ui_widget_show)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_helper.c:54
note: ui.lib(ui_widget_helper.obj):(ui_widget_hide)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\scrollbar.c:671
note: ui-widgets.lib(scrollbar.obj):(ui_scrollbar_set_position)
note: referenced 3 more times
error: lld-link: undefined symbol: pd_text_get_line
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\text\text.c:687
note: pandagl.lib(text.obj):(pd_text_process)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\text\text.c:695
note: pandagl.lib(text.obj):(pd_text_process)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\text\text.c:736
note: pandagl.lib(text.obj):(pd_text_process)
note: referenced 6 more times
error: lld-link: undefined symbol: pd_text_append_line
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\text\text.c:689
note: pandagl.lib(text.obj):(pd_text_process)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\text\text.c:697
note: pandagl.lib(text.obj):(pd_text_process)
error: lld-link: undefined symbol: pd_rect_is_include
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\rect.c:163
note: pandagl.lib(rect.obj):(pd_rect_split)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\rect.c:258
note: pandagl.lib(rect.obj):(pd_rects_add)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\rect.c:262
note: pandagl.lib(rect.obj):(pd_rects_add)
note: referenced 1 more times
error: lld-link: undefined symbol: pd_canvas_draw_hline
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:446
note: ui-server.lib(server.obj):(ui_server_render_flash_rect)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:452
note: ui-server.lib(server.obj):(ui_server_render_flash_rect)
error: lld-link: undefined symbol: pd_canvas_draw_vline
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:447
note: ui-server.lib(server.obj):(ui_server_render_flash_rect)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-server\src\server.c:449
note: ui-server.lib(server.obj):(ui_server_render_flash_rect)
error: lld-link: undefined symbol: ui_widget_block_event
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\scrollbar.c:461
note: ui-widgets.lib(scrollbar.obj):(ui_scrollbar_on_container_touch)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui-widgets\src\scrollbar.c:501
note: ui-widgets.lib(scrollbar.obj):(ui_scrollbar_on_container_touch)
error: lld-link: undefined symbol: css_parser_get_char
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\parser.c:75
note: css.lib(parser.obj):(css_parser_begin_parse_comment)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\parser.c:255
note: css.lib(parser.obj):(css_parser_parse_target)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\parser.c:123
note: css.lib(parser.obj):(css_parser_parse_rule_name)
note: referenced 5 more times
error: lld-link: undefined symbol: get_css_font_face_parser
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\font_face_parser.c:240
note: css.lib(font_face_parser.obj):(css_parser_parse_font_face)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\font_face_parser.c:88
note: css.lib(font_face_parser.obj):(css_font_face_parser_parse_head)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\font_face_parser.c:135
note: css.lib(font_face_parser.obj):(FontFaceParser_ParseKey)
note: referenced 8 more times
error: lld-link: undefined symbol: ui_widget_has_flex_display
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_diff.c:63
note: ui.lib(ui_diff.obj):(ui_style_diff_end)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_diff.c:72
note: ui.lib(ui_diff.obj):(ui_style_diff_end)
error: lld-link: undefined symbol: css_padding_x
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:147
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:152
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:979
note: css.lib(computed.obj):(compute_absolute_length_x)
note: referenced 6 more times
error: lld-link: undefined symbol: css_border_x
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:147
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:154
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:979
note: css.lib(computed.obj):(compute_absolute_length_x)
note: referenced 6 more times
error: lld-link: undefined symbol: css_padding_y
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:149
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:153
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:1016
note: css.lib(computed.obj):(compute_absolute_length_y)
note: referenced 3 more times
error: lld-link: undefined symbol: css_border_y
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:149
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:155
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:1016
note: css.lib(computed.obj):(compute_absolute_length_y)
note: referenced 3 more times
error: lld-link: undefined symbol: css_margin_x
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:156
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:161
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_load_rows)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:513
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_update_column)
error: lld-link: undefined symbol: css_margin_y
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:157
note: ui.lib(ui_widget_box.obj):(ui_widget_update_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:242
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_load_columns)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:391
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_update_row)
error: lld-link: undefined symbol: css_convert_content_box_width
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:166
note: ui.lib(ui_widget_box.obj):(ui_widget_set_content_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:154
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_load_rows)
error: lld-link: undefined symbol: css_convert_content_box_height
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_widget_box.c:167
note: ui.lib(ui_widget_box.obj):(ui_widget_set_content_box_size)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:237
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_load_columns)
error: lld-link: undefined symbol: css_query_selector
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\library.c:501
note: css.lib(library.obj):(css_select_style)
error: lld-link: undefined symbol: is_css_display_inline
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:1054
note: css.lib(computed.obj):(compute_absolute_width)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:1120
note: css.lib(computed.obj):(compute_absolute_height)
error: lld-link: undefined symbol: is_css_display_block
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:1058
note: css.lib(computed.obj):(compute_absolute_width)
error: lld-link: undefined symbol: is_css_display_inline_block
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\computed.c:1058
note: css.lib(computed.obj):(compute_absolute_width)
error: lld-link: undefined symbol: app_off_native_event
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_ime.c:64
note: platform.lib(win32_ime.obj):(win32ime_close)
error: lld-link: undefined symbol: app_on_native_event
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_ime.c:58
note: platform.lib(win32_ime.obj):(win32ime_open)
error: lld-link: undefined symbol: ImmGetContext
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_ime.c:45
note: platform.lib(win32_ime.obj):(win32ime_set_caret)
error: lld-link: undefined symbol: ImmSetCompositionWindow
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_ime.c:51
note: platform.lib(win32_ime.obj):(win32ime_set_caret)
error: lld-link: undefined symbol: ImmReleaseContext
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\platform\src\windows\win32_ime.c:52
note: platform.lib(win32_ime.obj):(win32ime_set_caret)
error: lld-link: undefined symbol: pd_file_reader_rewind
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\image\reader.c:156
note: pandagl.lib(reader.obj):(pd_image_reader_read_header)
error: lld-link: undefined symbol: css_valdef_parser_get_parent_valdef
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:741
note: css.lib(value.obj):(css_valdef_parser_finish)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:329
note: css.lib(value.obj):(css_valdef_parser_commit)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:359
note: css.lib(value.obj):(css_valdef_parser_commit)
error: lld-link: undefined symbol: css_valdef_parser_reset_buffer
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:651
note: css.lib(value.obj):(css_valdef_parser_resolve_target)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:656
note: css.lib(value.obj):(css_valdef_parser_resolve_target)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:667
note: css.lib(value.obj):(css_valdef_parser_resolve_target)
note: referenced 1 more times
error: lld-link: undefined symbol: css_valdef_parser_get_char
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:561
note: css.lib(value.obj):(css_valdef_parser_parse_sign)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:523
note: css.lib(value.obj):(css_valdef_parser_parse_data_type)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\value.c:484
note: css.lib(value.obj):(css_valdef_parser_parse_keyword)
note: referenced 1 more times
error: lld-link: undefined symbol: css_color
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\data_types.c:285
note: css.lib(data_types.obj):(css_parse_color_value)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\data_types.c:290
note: css.lib(data_types.obj):(css_parse_color_value)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\css\src\data_types.c:232
note: css.lib(data_types.obj):(css_parse_rgb)
note: referenced 3 more times
error: lld-link: undefined symbol: ui_widget_is_inline
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_block_layout.c:220
note: ui.lib(ui_block_layout.obj):(ui_block_layout_update)
error: lld-link: undefined symbol: ui_widget_has_absolute_position
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_block_layout.c:184
note: ui.lib(ui_block_layout.obj):(ui_block_layout_update_item_position)
error: lld-link: undefined symbol: ui_widget_has_inline_block_display
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_block_layout.c:184
note: ui.lib(ui_block_layout.obj):(ui_block_layout_update_item_position)
error: lld-link: undefined symbol: ui_compute_column_item_main_size
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:242
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_load_columns)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:496
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_update_column)
error: lld-link: undefined symbol: ui_compute_row_item_main_size
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:161
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_load_rows)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:374
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_update_row)
error: lld-link: undefined symbol: css_convert_border_box_width
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:513
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_update_column)
error: lld-link: undefined symbol: css_convert_border_box_height
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\ui\src\ui_flexbox_layout.c:391
note: ui.lib(ui_flexbox_layout.obj):(ui_flexbox_layout_update_row)
error: lld-link: undefined symbol: get_boxshadow_width
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\boxshadow.c:131
note: pandagl.lib(boxshadow.obj):(pd_get_boxshadow_canvas_rect)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\boxshadow.c:587
note: pandagl.lib(boxshadow.obj):(pd_paint_boxshadow)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\boxshadow.c:602
note: pandagl.lib(boxshadow.obj):(pd_paint_boxshadow)
note: referenced 1 more times
error: lld-link: undefined symbol: get_boxshadow_height
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\boxshadow.c:132
note: pandagl.lib(boxshadow.obj):(pd_get_boxshadow_canvas_rect)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\boxshadow.c:587
note: pandagl.lib(boxshadow.obj):(pd_paint_boxshadow)
error: lld-link: undefined symbol: pd_file_reader_read
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\image\png.c:42
note: pandagl.lib(png.obj):(pd_png_reader_on_read)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\image\png.c:117
note: pandagl.lib(png.obj):(pd_png_reader_read_header)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\image\bmp.c:78
note: pandagl.lib(bmp.obj):(pd_bmp_reader_read_header)
note: referenced 2 more times
error: lld-link: undefined symbol: pd_file_reader_skip
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\image\bmp.c:115
note: pandagl.lib(bmp.obj):(pd_bmp_reader_start)
error: lld-link: undefined symbol: pd_canvas_get_pixel
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\zoom.c:156
note: pandagl.lib(zoom.obj):(pd_canvas_zoom_bilinear)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\zoom.c:158
note: pandagl.lib(zoom.obj):(pd_canvas_zoom_bilinear)
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\zoom.c:160
note: pandagl.lib(zoom.obj):(pd_canvas_zoom_bilinear)
note: referenced 1 more times
error: lld-link: undefined symbol: pd_canvas_set_pixel
note: referenced by D:\Dev-cpp\lcui_project\LCUI\lib\pandagl\src\zoom.c:172
note: pandagl.lib(zoom.obj):(pd_canvas_zoom_bilinear)
error: the following command failed with 90 compilation errors:
C:\Users\dcyno\.zig\0.13.0\zig.exe build-exe -cflags -Wno-error=expansion-to-defined -- D:\Dev-cpp\lcui_project\LCUI\examples\hello\src/main.c D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\0a014eec7de0b6bc9c3219575f445662\lcui.lib -ODebug -I D:\Dev-cpp\lcui_project\LCUI\examples\hello\include -I D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\c3cf63990471c89894c42461340e0c4b -I D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\4635065941c4d81a5500ab0f07e06a1a\ -Mroot D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\865da88c38742edeca7a63a0ed9b65ce\thread.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\c05c5e81f70f535ee477918afa15c628\platform.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\3be3d5de2caf4ee94dfe352708a624c5\worker.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\ce832027578c760c90236990fc401441\timer.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\bbb26b6767e77e0b63888ba61216668e\css.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\42e3b1837c629899741c9e99175d38f1\ui.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\0e656febe5bffa252a089b99647f82e1\ui-cursor.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\411dcfc2d6e606e8943be97b945f1ef4\ui-server.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\2abde225ef68d23ab92d6dfdddaf80ed\ui-xml.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\8234aaa395508106ff3d13d232474ed9\ui-widgets.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\0da8585c894aaeb7499deddf7cba79c0\ui-router.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\528fbf70eb59c8bf3af13d03d7e8276a\png.lib -lShell32 -lGdi32 -lUser32 D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\865da88c38742edeca7a63a0ed9b65ce\thread.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\865da88c38742edeca7a63a0ed9b65ce\thread.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\bbb26b6767e77e0b63888ba61216668e\css.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\865da88c38742edeca7a63a0ed9b65ce\thread.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\42e3b1837c629899741c9e99175d38f1\ui.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\bbb26b6767e77e0b63888ba61216668e\css.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\c05c5e81f70f535ee477918afa15c628\platform.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\42e3b1837c629899741c9e99175d38f1\ui.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\bbb26b6767e77e0b63888ba61216668e\css.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\c05c5e81f70f535ee477918afa15c628\platform.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\0e656febe5bffa252a089b99647f82e1\ui-cursor.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\8878b3b850a846adb215552b1826a70f\libxml2.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\bbb26b6767e77e0b63888ba61216668e\css.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\42e3b1837c629899741c9e99175d38f1\ui.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\c05c5e81f70f535ee477918afa15c628\platform.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\bbb26b6767e77e0b63888ba61216668e\css.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\865da88c38742edeca7a63a0ed9b65ce\thread.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\3be3d5de2caf4ee94dfe352708a624c5\worker.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\2abde225ef68d23ab92d6dfdddaf80ed\ui-xml.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\42e3b1837c629899741c9e99175d38f1\ui.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\ce832027578c760c90236990fc401441\timer.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\59f481d13246e4c866af4990b16d235f\yutil.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\42e3b1837c629899741c9e99175d38f1\ui.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\e95ddbbe60b985942736f6dd15621d0b\pandagl.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\8234aaa395508106ff3d13d232474ed9\ui-widgets.lib D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache\o\b10315deba00c443f79eb4cdff73e673\z.lib -lws2_32 -lc --cache-dir D:\Dev-cpp\lcui_project\LCUI\examples\hello\.zig-cache --global-cache-dir C:\Users\dcyno\AppData\Local\zig --name hello --listen=-
Build Summary: 48/51 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install hello transitive failure
└─ zig build-exe hello Debug native 90 errors
有试过用 xmake 指定 zig 工具链来编译吗?
你这配置似乎没有定义子库的依赖项,建议参考它们的 xmake.lua 里的 add_packages()
、add_deps()
。
编译步骤类似xmake.lua
1)编译 lib/ 目录下每个子lib 得到(static libary) 2)编译LCUI得到最终的静态库(依赖子库顺序与xmake.lua一致) 3)编译example/hello demo
C:\Users\dcyno\.zig\0.12.0\zig.exe build-exe D:\Dev-cpp\Project\lcui-quick-start\vendor\LCUI\examples\hello\src/main.c -llcui -ODebug -I D:\Dev-cpp\Project\lcui-quick-start\vendor\LCUI\include -L D:\Dev-cpp\Project\lcui-quick-start\vendor\LCUI\zig-out\lib -Mroot -lc
build.zig 代码:![屏幕截图 2024-05-26 235001](https://github.com/lc-soft/LCUI/assets/40350332/5261d9c9-d9a0-4893-940b-510eda288278)
4)报错:![image](https://github.com/lc-soft/LCUI/assets/40350332/2857b756-f434-4e3e-95b0-752b8dd2fdfd)
请问一下这个
error: lld-link: undefined symbol
与库链接时顺序有关吗?