Skip to content

sax_exception_example does not compile under mingw #45

Closed
@neheb

Description

@neheb
FAILED: subprojects/libxml++-5.0.2/examples/sax_exception_example.exe
x86_64-w64-mingw32-g++  -o subprojects/libxml++-5.0.2/examples/sax_exception_example.exe subprojects/libxml++-5.0.2/examples/sax_exception_example.exe.p/sax_exception_main.cc.obj subprojects/libxml++-5.0.2/examples/sax_exception_example.exe.p/sax_exception_myparser.cc.obj -Wl,--allow-shlib-undefined -Wl,--start-group subprojects/libxml++-5.0.2/libxml++/libxml++-5.0.dll.a /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libxml2.dll.a -Wl,--subsystem,console -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group
/usr/lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld: subprojects/libxml++-5.0.2/examples/sax_exception_example.exe.p/sax_exception_myparser.cc.obj:myparser.cc:(.rdata$.refptr._ZTVN5xmlpp9exceptionE[.refptr._ZTVN5xmlpp9exceptionE]+0x0): undefined reference to `vtable for xmlpp::exception'
collect2: error: ld returned 1 exit status

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