kodi-pvr / pvr.stalker

A PVR Client that connects Kodi to Stalker Middleware
GNU General Public License v2.0
41 stars 64 forks source link

Update libxml2 v2.11.7 #226

Closed phunkyfish closed 3 months ago

phunkyfish commented 4 months ago

There is an error on Windows platforms only when updating the dependency:

[100%] Linking CXX shared library pvr.stalker.dll
LINK: command "C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x86\link.exe /nologo @CMakeFiles\pvr.stalker.dir\objects1.rsp /out:pvr.stalker.dll /implib:pvr.stalker.lib /pdb:C:\jenkws\workspace\binary-addons\kodi-windows-i686-Omega\cmake\addons\build\pvr.stalker-prefix\src\pvr.stalker-build\pvr.stalker.pdb /dll /version:21.1 /machine:X86 /INCREMENTAL:NO lib\libstalkerclient\stalkerclient.lib C:\jenkws\workspace\binary-addons\kodi-windows-i686-Omega\cmake\addons\output\lib\libxml2.lib C:\jenkws\workspace\binary-addons\kodi-windows-i686-Omega\cmake\addons\output\lib\jsoncpp.lib C:\jenkws\workspace\binary-addons\kodi-windows-i686-Omega\cmake\addons\output\lib\zlib.lib C:\jenkws\workspace\binary-addons\kodi-windows-i686-Omega\cmake\addons\output\lib\libxml2.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:pvr.stalker.dll.manifest" failed (exit code 1120) with the following output:
Cache.cpp.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
   Creating library pvr.stalker.lib and object pvr.stalker.exp
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlDocGetRootElement
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlFree
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlNewChild
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlNodeGetContent
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlNodeSetContent
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlStrcmp
Cache.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlReadFile
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlStrlen
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlFreeNode
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlFreeDoc
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlNewProp
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlGetProp
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlNewDocNode
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlUnlinkNode
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlNewDoc
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlSaveFormatFileEnc
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlGetCharEncodingName
StalkerInstance.cpp.obj : error LNK2001: unresolved external symbol __imp__xmlDocSetRootElement
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderIsEmptyElement
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderName
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderNodeType
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlFreeTextReader
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderDepth
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlNewTextReaderFilename
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderValue
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderRead
stalkerclient.lib(xmltv.c.obj) : error LNK2001: unresolved external symbol __imp__xmlTextReaderMoveToAttribute
pvr.stalker.dll : fatal error LNK1120: 27 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe" -E vs_link_dll --intdir=CMakeFiles\pvr.stalker.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1440~1.338\bin\Hostx64\x86\link.exe /nologo @CMakeFiles\pvr.stalker.dir\objects1.rsp @C:\Users\jenkins\AppData\Local\Temp\nm7069.tmp' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x86\nmake.exe" -s -f CMakeFiles\pvr.stalker.dir\build.make /nologo -SL                 CMakeFiles\pvr.stalker.dir\build' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x86\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -S                  all' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x86\nmake.exe" -s -f CMakeFiles\pvr.stalker.dir\build.make /nologo -SL                 CMakeFiles\pvr.stalker.dir\build' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x86\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -SL                 CMakeFiles\pvr.stalker.dir\all' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x86\nmake.exe" -s -f CMakeFiles\Makefile2 /nologo -LS                 pvr.stalker' : return code '0x2'
Stop.
Failed to build addon: pvr.stalkerBuild failed: hudson.AbortException: Failed to build addon: pvr.stalker

@AlwinEsch please take a look when you get the time.

phunkyfish commented 3 months ago

Merged and released, for the help @thexai!

Such a simple change to get it working!