Closed ashnair1 closed 2 years ago
Tried to probe a bit further with ldd
# ldd tools/ctb-info.exe
ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffaa93d0000)
KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7ffaa8a20000)
KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7ffaa6bb0000)
gdal304.dll => /c/Users/ash19/miniconda3/Library/bin/gdal304.dll (0x7ffa48940000)
USER32.dll => /c/Windows/System32/USER32.dll (0x7ffaa8550000)
win32u.dll => /c/Windows/System32/win32u.dll (0x7ffaa7350000)
GDI32.dll => /c/Windows/System32/GDI32.dll (0x7ffaa7490000)
gdi32full.dll => /c/Windows/System32/gdi32full.dll (0x7ffaa71e0000)
msvcp_win.dll => /c/Windows/System32/msvcp_win.dll (0x7ffaa6b10000)
ucrtbase.dll => /c/Windows/System32/ucrtbase.dll (0x7ffaa6e80000)
ole32.dll => /c/Windows/System32/ole32.dll (0x7ffaa8ef0000)
RPCRT4.dll => /c/Windows/System32/RPCRT4.dll (0x7ffaa9080000)
combase.dll => /c/Windows/System32/combase.dll (0x7ffaa74c0000)
OLEAUT32.dll => /c/Windows/System32/OLEAUT32.dll (0x7ffaa8480000)
ctb.dll => not found
MSVCP140D.dll => /c/Windows/SYSTEM32/MSVCP140D.dll (?)
VCRUNTIME140_1D.dll => /c/Windows/SYSTEM32/VCRUNTIME140_1D.dll (?)
VCRUNTIME140D.dll => /c/Windows/SYSTEM32/VCRUNTIME140D.dll (?)
ucrtbased.dll => /c/Windows/SYSTEM32/ucrtbased.dll (?)
Ah ok. Just need to add it to the path.
I was able to build cesium-terrain-builder on Windows 10 with gdal 3.4.1 (from conda) using MSVC. The executables were created under
build\tools
andctb.dll
was created inbuild\src
. However the executables do not run and throw the following error.I'm guessing the dll in src wasn't linked correctly? Any ideas on how to solve this?