Problems building tesseract with sw

62 views
Skip to first unread message

Björn Ganster

unread,
Oct 5, 2023, 12:30:14 PM10/5/23
to tesseract-ocr
Thanks for updating tesseract/sw to libwebp 1.3.2. Now, I get these error messages:

Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.8b599b-0.0.32.dll
Bibliothek "C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.8b599b-0.0.32.lib" und Objekt "C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.8b599b-0.0.32.exp" werden erstellt.
sw.cpp.72559ea2.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""private: virtual struct sw::TargetSettings const & __cdecl sw::NativeCompiledTarget::getInterfaceSettings(class std::unordered_set<void *,struct std::hash<void *>,struct std::equal_to<void *>,class std::allocator<void *> > *)const " (?getInterfaceSettings@NativeCompiledTarget@sw@@EEBAAEBUTargetSettings@2@PEAV?$unordered_set@PEAXU?$hash@PEAX@std@@U?$equal_to@PEAX@2@V?$allocator@PEAX@2@@std@@@Z)".
sw.cpp.72559ea2.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual struct sw::TargetSettings const & __cdecl sw::Target::getInterfaceSettings(class std::unordered_set<void *,struct std::hash<void *>,struct std::equal_to<void *>,class std::allocator<void *> > *)const " (?getInterfaceSettings@Target@sw@@UEBAAEBUTargetSettings@2@PEAV?$unordered_set@PEAXU?$hash@PEAX@std@@U?$equal_to@PEAX@2@V?$allocator@PEAX@2@@std@@@Z)".
C:\temp\.sw\storage\tmp\cfg\135085\loc.sw.self.8b599b-0.0.32.dll : fatal error LNK1120: 2 nicht aufgelöste Externe
command failed: exit code = 1120 (0x460)
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.6fbf27-0.0.32.dll
Bibliothek "C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.6fbf27-0.0.32.lib" und Objekt "C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.6fbf27-0.0.32.exp" werden erstellt.
sw.cpp.c192c645.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""private: virtual struct sw::TargetSettings const & __cdecl sw::NativeCompiledTarget::getInterfaceSettings(class std::unordered_set<void *,struct std::hash<void *>,struct std::equal_to<void *>,class std::allocator<void *> > *)const " (?getInterfaceSettings@NativeCompiledTarget@sw@@EEBAAEBUTargetSettings@2@PEAV?$unordered_set@PEAXU?$hash@PEAX@std@@U?$equal_to@PEAX@2@V?$allocator@PEAX@2@@std@@@Z)".
sw.cpp.c192c645.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual struct sw::TargetSettings const & __cdecl sw::Target::getInterfaceSettings(class std::unordered_set<void *,struct std::hash<void *>,struct std::equal_to<void *>,class std::allocator<void *> > *)const " (?getInterfaceSettings@Target@sw@@UEBAAEBUTargetSettings@2@PEAV?$unordered_set@PEAXU?$hash@PEAX@std@@U?$equal_to@PEAX@2@V?$allocator@PEAX@2@@std@@@Z)".
C:\temp\.sw\storage\tmp\cfg\135085\loc.sw.self.6fbf27-0.0.32.dll : fatal error LNK1120: 2 nicht aufgelöste Externe
command failed: exit code = 1120 (0x460)
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.77da27-0.0.32.dll
Bibliothek "C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.77da27-0.0.32.lib" und Objekt "C:/temp/.sw/storage/tmp/cfg/135085/loc.sw.self.77da27-0.0.32.exp" werden erstellt.
sw.cpp.0a0e5d46.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""private: virtual struct sw::TargetSettings const & __cdecl sw::NativeCompiledTarget::getInterfaceSettings(class std::unordered_set<void *,struct std::hash<void *>,struct std::equal_to<void *>,class std::allocator<void *> > *)const " (?getInterfaceSettings@NativeCompiledTarget@sw@@EEBAAEBUTargetSettings@2@PEAV?$unordered_set@PEAXU?$hash@PEAX@std@@U?$equal_to@PEAX@2@V?$allocator@PEAX@2@@std@@@Z)".
C:\temp\.sw\storage\tmp\cfg\135085\loc.sw.self.77da27-0.0.32.dll : fatal error LNK1120: 1 nicht aufgelöste Externe
command failed: exit code = 1120 (0x460)
Total errors: 3
sw command: E:/bin/sw.exe -static -platform x64 -compiler msvc-19.37 -d E:/devel/tesseract/build/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps E:/devel/tesseract/build/.sw/cmake/sw.txt -cmake-file-version 9
CMake Error at C:/temp/.sw/storage/etc/sw/static/SWConfig.cmake:267 (message):
  sw: non-zero exit code: 1
Call Stack (most recent call first):
  CMakeLists.txt:393 (sw_execute)

It seems that sw is trying to configure things but fails. Can anyone shed some on this, please?
Reply all
Reply to author
Forward
0 new messages