Skip to content

hxWidgets\samples\00-Showcase\build-static.hxml Build failed Main. exe: fatal error LNK1120: 2 unresolved external commands #109

@isamu2025

Description

@isamu2025

Compiling group: hxcpp_std
cl.exe -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdF:\HaxeFlixelProject\hx-ui\2024\hxWidgets\samples\00-Showcase\bin\obj/msvc19/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -arch:SSE2 -ID:/HaxeToolkit/haxe/lib/hxcpp/4,3,2/include -DHXCPP_VISIT_ALLOCS(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=430(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 ... tags=[haxe,static]

  • Socket.cpp
  • Random.cpp
  • File.cpp
  • Process.cpp
  • Sys.cpp
    Link: Main.exe
    wxmsw32ud_core.lib(gdicmn.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(wxbase32u.lib(appbase.obj) 中)
    wxmsw32ud_core.lib(gdicmn.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(edf3cd3c_GraphicsObject.obj 中)
    wxmsw32ud_core.lib(gdiimage.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(wxbase32u.lib(appbase.obj) 中)
    wxmsw32ud_core.lib(gdiimage.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(edf3cd3c_GraphicsObject.obj 中)

wxmsw32ud_core.lib(font.obj) : error LNK2001: 无法解析的外部符号 __imp___CrtDbgReport
Main.exe : fatal error LNK1120: 2 个无法解析的外部命令
Error: Build failed

F:\HaxeFlixelProject\hx-ui\2024\hxWidgets\samples\00-Showcase>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions