#412·libui

Alpha-4 静态 MSVC2017 不能与 `cl` 一起使用

作者: hanyuone创建于 2018年8月17日更新于 2024年9月6日

C:\Crystal>cl control_gallery.o /Fecontrol_gallery gc.lib pcre.lib libui.lib Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26726 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9024 : unrecognized source file type 'control_gallery.o', object file assumed Microsoft (R) Incremental Linker Version 14.15.26726.0 /out:control_gallery.exe control_gallery.o gc.lib pcre.lib libui.lib Creating library control_gallery.lib and object control_gallery.exp LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library libui.lib(image.obj) : warning LNK4049: locally defined symbol _invalid_parameter_noinfo_noreturn imported libui.lib(events.obj) : warning LNK4049: locally defined symbol _invalid_parameter_noinfo_noreturn imported libui.lib(fontmatch.obj) : warning LNK4217: locally defined symbol _invalid_parameter_noinfo_noreturn imported in function "protected: void __cdecl std::_Tree<class std::_Tmap_traits<unsigned int,enum DWRITE_FONT_STYLE,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,enum DWRITE_FONT_STYLE> >,0> >::_Erase(struct std::_Tree_node<struct std::pair<unsigned int const ,enum DWRITE_FONT_STYLE>,void *> *)" (?_Erase@?$_Tree@V?$_Tmap_traits@IW4DWRITE_FONT_STYLE@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIW4DWRITE_FONT_STYLE@@@std@@@3@$0A@@std@@@std@@IEAAXPEAU?$_Tree_node@U?$pair@$$CBIW4DWRITE_FONT_STYLE@@@std@@PEAX@2@@Z) libui.lib(colordialog.obj) : warning LNK4217: locally defined symbol _invalid_parameter_noinfo_noreturn imported in function "__int64 __cdecl hSliderSubProc(struct HWND__ *,unsigned int,unsigned __int64,__int64,unsigned __int64,unsigned __int64)" (?hSliderSubProc@@YA_JPEAUHWND__@@I_K_J11@Z) libui.lib(tab.obj) : warning LNK4049: locally defined symbol _invalid_parameter_noinfo_noreturn imported libui.lib(alloc.obj) : warning LNK4049: locally defined symbol _invalid_parameter_noinfo_noreturn imported libui.lib(utf16.obj) : warning LNK4049: locally defined symbol _invalid_parameter_noinfo_noreturn imported libui.lib(draw.obj)