Open sg-12345 opened 9 months ago
@adamrehn Hi I find that GDAL.build.cs and see this line Replace Tools.DotNetCommon
with using EpicGames.Core;
for UE5 but this time i got different errors
1>Configuration:
1>[settings]
1>arch=x86_64
1>arch_build=x86_64
1>build_type=Release
1>compiler=Visual Studio
1>compiler.runtime=MD
1>compiler.version=17
1>os=Windows
1>os_build=Windows
1>[options]
1>[build_requires]
1>[env]
1>UNREAL_ENGINE_VERSION=5.1
1>conanfile.py: Installing package
1>Requirements
1> UElibPNG/ue4@adamrehn/5.1 from local cache - Cache
1> gdal-ue4/2.4.0@adamrehn/5.1 from local cache - Cache
1> geos-ue4/3.6.3@adamrehn/5.1 from local cache - Cache
1> libcurl/ue4@adamrehn/5.1 from local cache - Cache
1> libcxx/ue4@adamrehn/profile from local cache - Cache
1> mergetiff-ue4/0.0.6@adamrehn/5.1 from local cache - Cache
1> proj-ue4/4.9.3@adamrehn/5.1 from local cache - Cache
1> ue4lib/ue4@adamrehn/profile from local cache - Cache
1> ue4util/ue4@adamrehn/profile from local cache - Cache
1> zlib/ue4@adamrehn/5.1 from local cache - Cache
1>Packages
1> UElibPNG/ue4@adamrehn/5.1:e1e6b1738d0f221386689b1e26bf8a56d4d0bdcf - Cache
1> gdal-ue4/2.4.0@adamrehn/5.1:07863f996ebe3271435d1fbbaed5ef30542fd710 - Cache
1> geos-ue4/3.6.3@adamrehn/5.1:74f134025aabdec2e63aed248049f450e8e373f4 - Cache
1> libcurl/ue4@adamrehn/5.1:e1e6b1738d0f221386689b1e26bf8a56d4d0bdcf - Cache
1> libcxx/ue4@adamrehn/profile:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
1> mergetiff-ue4/0.0.6@adamrehn/5.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
1> proj-ue4/4.9.3@adamrehn/5.1:74f134025aabdec2e63aed248049f450e8e373f4 - Cache
1> ue4lib/ue4@adamrehn/profile:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
1> ue4util/ue4@adamrehn/profile:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
1> zlib/ue4@adamrehn/5.1:e1e6b1738d0f221386689b1e26bf8a56d4d0bdcf - Cache
1>
1>Installing (downloading, building) binaries...
1>libcxx/ue4@adamrehn/profile: Already installed!
1>mergetiff-ue4/0.0.6@adamrehn/5.1: Already installed!
1>ue4lib/ue4@adamrehn/profile: Already installed!
1>ue4util/ue4@adamrehn/profile: Already installed!
1>UElibPNG/ue4@adamrehn/5.1: Already installed!
1>geos-ue4/3.6.3@adamrehn/5.1: Already installed!
1>libcurl/ue4@adamrehn/5.1: Already installed!
1>proj-ue4/4.9.3@adamrehn/5.1: Already installed!
1>zlib/ue4@adamrehn/5.1: Already installed!
1>gdal-ue4/2.4.0@adamrehn/5.1: Already installed!
1>conanfile.py: Generator txt created conanbuildinfo.txt
1>conanfile.py: Generator json created conanbuildinfo.json
1>conanfile.py: Aggregating env generators
1>conanfile.py: Generated conaninfo.txt
1>conanfile.py: Generated graphinfo
2>Using bundled DotNet SDK version: 6.0.302
1>Library 'gdal.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Library 'geos.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Library 'geos_c.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Library 'proj_4_9.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Library 'libcurl.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Library 'libpng15_static.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
1>Library 'zlibstatic.lib' was not resolvable to a file when used in Module 'GDAL', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
2>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild
1>Building GISEditor and ShaderCompileWorker...
1>Using Visual Studio 2022 14.37.32825 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Determining max actions to execute in parallel (6 physical cores, 12 logical cores)
1> Executing up to 6 processes, one per physical core
1>Building 6 actions with 6 processes...
1>[1/6] Copy geos_c.dll
1>[2/6] Copy geos.dll
1>[3/6] Compile Module.UnrealGDAL.cpp
1>[4/6] Link UnrealEditor-UnrealGDAL.lib
1> Creating library C:\Users\sguney\Documents\Unreal Projects\GIS\Plugins\UnrealGDAL-master\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.lib and object C:\Users\sguney\Documents\Unreal Projects\GIS\Plugins\UnrealGDAL-master\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.exp
1>[5/6] Link UnrealEditor-UnrealGDAL.dll
1> Creating library C:\Users\sguney\Documents\Unreal Projects\GIS\Plugins\UnrealGDAL-master\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.suppressed.lib and object C:\Users\sguney\Documents\Unreal Projects\GIS\Plugins\UnrealGDAL-master\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.suppressed.exp
1>libcurl.lib(version.obj) : error LNK2019: unresolved external symbol nghttp2_version referenced in function curl_version_info
1>libcurl.lib(http2.obj) : error LNK2001: unresolved external symbol nghttp2_version
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_new referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_del referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_send_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_on_frame_recv_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_on_data_chunk_recv_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_on_stream_close_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_on_begin_headers_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_on_header_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_callbacks_set_error_callback referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_client_new referenced in function Curl_http2_setup
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_del referenced in function http2_disconnect
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_send referenced in function http2_conncheck
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_mem_recv referenced in function h2_process_pending_input
1>libcurl.lib(http2.obj) : error LNK2019: unresolved external symbol nghttp2_session_resume_data referenced in function Curl_http2_done_sending
Hello, I downloaded Unreal Engine 5.1 source and installed conan-ue4cli. I followed the given commands for UnrealGDAL, but I'm still encountering the following error:
It seems there are issues with the assembly file, missing references, and the declaration of types in the 'GISTarget' rules.