iwer / GeotiffLandscape

Unreal Engine Plugin to support geotiff as landscape file format.
MIT License
66 stars 12 forks source link

GDAL #9

Open sg-12345 opened 6 months ago

sg-12345 commented 6 months ago

Hi I wanna use your plugin but I could not use it becasuse of UnrealGDAL does not build and gives me the LINK errors I issued problem in github bu ı did not get a reply so please help!

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
iwer commented 6 months ago

Hi this looks like the issue where libcurl in UEs dependencies is now linking against nghttp2 and OpenSSL which then needs Crypto32 on Windows.

If you are on Windows, you could try this. I think I already tested it with UE5.1

sg-12345 commented 6 months ago

@iwer Thank you for your response. I just spend whole week to build this plugin and i cloned UnrealGDAL and ue4-conan-recipe and it works but when i precompute this plugin with conan-ue4cli i got the following error ; LNK1181 cannot open input file 'crypt32.lib.lib'

I sincerly thank you for repositories.

iwer commented 6 months ago

Hm, I can't reproduce this (see log below). As far as I remember, crypt32.lib does not need to be copied into the precomputed directory. The only related libs are libcrypto.lib and libssl.lib.

Somehow there seems to appear a second lib extension for crypt32, you could check if this can be corrected in one of these two files (conanbuildinfo.json, ...txt):

PS D:\UnrealProjects\TestProject\Plugins\UnrealGDAL\Source\GDAL> Get-ChildItem  *.* | Select-String -Pattern "crypt32*"

conanbuildinfo.json:321:        "crypt32.lib"
conanbuildinfo.txt:57:crypt32.lib
conanbuildinfo.txt:624:crypt32.lib 

Output of ue4 conan precompute on my machine:

PS D:\UnrealProjects\TestProject\Plugins\UnrealGDAL\Source\GDAL> ue4 conan precompute -d . host
Using user-specified engine root: C:\Program Files\Epic Games\UE_5.1
Using profile for host platform "ue5.1-Win64"
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=16
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
UNREAL_ENGINE_VERSION=5.1
conanfile.py: Installing package
Requirements
    OpenSSL/ue4@adamrehn/5.1 from local cache - Cache
    UElibPNG/ue4@adamrehn/5.1 from local cache - Cache
    gdal-ue4/2.4.0@adamrehn/5.1 from local cache - Cache
    geos-ue4/3.6.3@adamrehn/5.1 from local cache - Cache
    libcurl/ue4@adamrehn/5.1 from local cache - Cache
    libcxx/ue4@adamrehn/profile from local cache - Cache
    mergetiff-ue4/0.0.6@adamrehn/5.1 from local cache - Cache
    nghttp2/ue4@adamrehn/5.1 from local cache - Cache
    proj-ue4/4.9.3@adamrehn/5.1 from local cache - Cache
    ue4lib/ue4@adamrehn/profile from local cache - Cache
    ue4util/ue4@adamrehn/profile from local cache - Cache
    zlib/ue4@adamrehn/5.1 from local cache - Cache
Packages
    OpenSSL/ue4@adamrehn/5.1:b21c67632d3dc13ff6d7c7432a489603c3302c9a - Cache
    UElibPNG/ue4@adamrehn/5.1:b21c67632d3dc13ff6d7c7432a489603c3302c9a - Cache
    gdal-ue4/2.4.0@adamrehn/5.1:07c9ac5db669a117025464d9db815670b73cde80 - Cache
    geos-ue4/3.6.3@adamrehn/5.1:7333dc905312a2df09e78e1a60d59e628a5f0321 - Cache
    libcurl/ue4@adamrehn/5.1:b21c67632d3dc13ff6d7c7432a489603c3302c9a - Cache
    libcxx/ue4@adamrehn/profile:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    mergetiff-ue4/0.0.6@adamrehn/5.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    nghttp2/ue4@adamrehn/5.1:b21c67632d3dc13ff6d7c7432a489603c3302c9a - Cache
    proj-ue4/4.9.3@adamrehn/5.1:7333dc905312a2df09e78e1a60d59e628a5f0321 - Cache
    ue4lib/ue4@adamrehn/profile:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    ue4util/ue4@adamrehn/profile:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    zlib/ue4@adamrehn/5.1:b21c67632d3dc13ff6d7c7432a489603c3302c9a - Cache

Installing (downloading, building) binaries...
libcxx/ue4@adamrehn/profile: Already installed!
mergetiff-ue4/0.0.6@adamrehn/5.1: Already installed!
ue4lib/ue4@adamrehn/profile: Already installed!
ue4util/ue4@adamrehn/profile: Already installed!
OpenSSL/ue4@adamrehn/5.1: Already installed!
UElibPNG/ue4@adamrehn/5.1: Already installed!
geos-ue4/3.6.3@adamrehn/5.1: Already installed!
libcurl/ue4@adamrehn/5.1: Already installed!
nghttp2/ue4@adamrehn/5.1: Already installed!
proj-ue4/4.9.3@adamrehn/5.1: Already installed!
zlib/ue4@adamrehn/5.1: Already installed!
gdal-ue4/2.4.0@adamrehn/5.1: Already installed!
conanfile.py: Generator txt created conanbuildinfo.txt
conanfile.py: Generator json created conanbuildinfo.json
conanfile.py: Aggregating env generators
conanfile.py: Generated conaninfo.txt
conanfile.py: Generated graphinfo
Copying "C:\.conan\2cd8bf\1\include\cplkeywordparser.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_alibaba_oss.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_atomic_ops.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_auto_close.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_aws.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_azure.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_config.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_config_extras.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_conv.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_cpu_features.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_csv.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_error.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_google_cloud.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_hash_set.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_http.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_json.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_json_header.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_json_streaming_parser.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_list.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_md5.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_mem_cache.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_minixml.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_minizip_ioapi.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_minizip_unzip.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_minizip_zip.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_multiproc.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_odbc.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_port.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_progress.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_quad_tree.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_sha1.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_sha256.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_spawn.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_string.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_swift.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_time.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_userfaultfd.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_virtualmem.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_vsi.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_vsil_curl_class.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_vsil_curl_priv.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_vsi_error.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_vsi_virtual.h"...
Copying "C:\.conan\2cd8bf\1\include\cpl_worker_thread_pool.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalexif.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalgeorefpamdataset.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalgrid.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalgrid_priv.h"...
Copying "C:\.conan\2cd8bf\1\include\gdaljp2abstractdataset.h"...
Copying "C:\.conan\2cd8bf\1\include\gdaljp2metadata.h"...
Copying "C:\.conan\2cd8bf\1\include\gdaljp2metadatagenerator.h"...
Copying "C:\.conan\2cd8bf\1\include\gdallinearsystem.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalpansharpen.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalsse_priv.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalwarper.h"...
Copying "C:\.conan\2cd8bf\1\include\gdalwarpkernel_opencl.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_alg.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_alg_priv.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_csv.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_frmts.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_mdreader.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_pam.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_priv.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_proxy.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_rat.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_simplesurf.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_utils.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_version.h"...
Copying "C:\.conan\2cd8bf\1\include\gdal_vrt.h"...
Copying "C:\.conan\2cd8bf\1\include\gnm.h"...
Copying "C:\.conan\2cd8bf\1\include\gnmgraph.h"...
Copying "C:\.conan\2cd8bf\1\include\gnm_api.h"...
Copying "C:\.conan\2cd8bf\1\include\gvgcpfit.h"...
Copying "C:\.conan\2cd8bf\1\include\internal_qhull_headers.h"...
Copying "C:\.conan\2cd8bf\1\include\memdataset.h"...
Copying "C:\.conan\2cd8bf\1\include\ograpispy.h"...
Copying "C:\.conan\2cd8bf\1\include\ogrgeomediageometry.h"...
Copying "C:\.conan\2cd8bf\1\include\ogrpgeogeometry.h"...
Copying "C:\.conan\2cd8bf\1\include\ogrsf_frmts.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_api.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_attrind.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_core.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_expat.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_feature.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_featurestyle.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_geocoding.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_geometry.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_geos.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_geo_utils.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_libs.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_p.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_sfcgal.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_spatialref.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_srs_api.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_srs_esri_names.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_xerces.h"...
Copying "C:\.conan\2cd8bf\1\include\ogr_xerces_headers.h"...
Copying "C:\.conan\2cd8bf\1\include\osr_cs_wkt.h"...
Copying "C:\.conan\2cd8bf\1\include\osr_cs_wkt_parser.h"...
Copying "C:\.conan\2cd8bf\1\include\rawdataset.h"...
Copying "C:\.conan\2cd8bf\1\include\swq.h"...
Copying "C:\.conan\2cd8bf\1\include\thinplatespline.h"...
Copying "C:\.conan\2cd8bf\1\include\vrtdataset.h"...
Copying "C:\.conan\2cd8bf\1\lib\gdal.lib"...
Copying "C:\.conan\2cd8bf\1\data\bag_template.xml"...
Copying "C:\.conan\2cd8bf\1\data\compdcs.csv"...
Copying "C:\.conan\2cd8bf\1\data\coordinate_axis.csv"...
Copying "C:\.conan\2cd8bf\1\data\cubewerx_extra.wkt"...
Copying "C:\.conan\2cd8bf\1\data\datum_shift.csv"...
Copying "C:\.conan\2cd8bf\1\data\default.rsc"...
Copying "C:\.conan\2cd8bf\1\data\ecw_cs.wkt"...
Copying "C:\.conan\2cd8bf\1\data\eedaconf.json"...
Copying "C:\.conan\2cd8bf\1\data\ellipsoid.csv"...
Copying "C:\.conan\2cd8bf\1\data\epsg.wkt"...
Copying "C:\.conan\2cd8bf\1\data\esri_epsg.wkt"...
Copying "C:\.conan\2cd8bf\1\data\esri_extra.wkt"...
Copying "C:\.conan\2cd8bf\1\data\esri_StatePlane_extra.wkt"...
Copying "C:\.conan\2cd8bf\1\data\esri_Wisconsin_extra.wkt"...
Copying "C:\.conan\2cd8bf\1\data\gcs.csv"...
Copying "C:\.conan\2cd8bf\1\data\gcs.override.csv"...
Copying "C:\.conan\2cd8bf\1\data\gdalicon.png"...
Copying "C:\.conan\2cd8bf\1\data\GDALLogoBW.svg"...
Copying "C:\.conan\2cd8bf\1\data\GDALLogoColor.svg"...
Copying "C:\.conan\2cd8bf\1\data\GDALLogoGS.svg"...
Copying "C:\.conan\2cd8bf\1\data\gdalvrt.xsd"...
Copying "C:\.conan\2cd8bf\1\data\gdal_datum.csv"...
Copying "C:\.conan\2cd8bf\1\data\geoccs.csv"...
Copying "C:\.conan\2cd8bf\1\data\gmlasconf.xml"...
Copying "C:\.conan\2cd8bf\1\data\gmlasconf.xsd"...
Copying "C:\.conan\2cd8bf\1\data\gml_registry.xml"...
Copying "C:\.conan\2cd8bf\1\data\gt_datum.csv"...
Copying "C:\.conan\2cd8bf\1\data\gt_ellips.csv"...
Copying "C:\.conan\2cd8bf\1\data\header.dxf"...
Copying "C:\.conan\2cd8bf\1\data\inspire_cp_BasicPropertyUnit.gfs"...
Copying "C:\.conan\2cd8bf\1\data\inspire_cp_CadastralBoundary.gfs"...
Copying "C:\.conan\2cd8bf\1\data\inspire_cp_CadastralParcel.gfs"...
Copying "C:\.conan\2cd8bf\1\data\inspire_cp_CadastralZoning.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_AdmArea.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_AdmBdry.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_AdmPt.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_BldA.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_BldL.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_Cntr.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_CommBdry.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_CommPt.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_Cstline.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_ElevPt.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_GCP.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_LeveeEdge.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RailCL.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RdArea.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RdASL.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RdCompt.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RdEdg.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RdMgtBdry.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RdSgmtA.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_RvrMgtBdry.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_SBAPt.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_SBArea.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_SBBdry.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_WA.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_WL.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_WStrA.gfs"...
Copying "C:\.conan\2cd8bf\1\data\jpfgdgml_WStrL.gfs"...
Copying "C:\.conan\2cd8bf\1\data\LICENSE.TXT"...
Copying "C:\.conan\2cd8bf\1\data\netcdf_config.xsd"...
Copying "C:\.conan\2cd8bf\1\data\nitf_spec.xml"...
Copying "C:\.conan\2cd8bf\1\data\nitf_spec.xsd"...
Copying "C:\.conan\2cd8bf\1\data\ogrvrt.xsd"...
Copying "C:\.conan\2cd8bf\1\data\osmconf.ini"...
Copying "C:\.conan\2cd8bf\1\data\ozi_datum.csv"...
Copying "C:\.conan\2cd8bf\1\data\ozi_ellips.csv"...
Copying "C:\.conan\2cd8bf\1\data\pci_datum.txt"...
Copying "C:\.conan\2cd8bf\1\data\pci_ellips.txt"...
Copying "C:\.conan\2cd8bf\1\data\pcs.csv"...
Copying "C:\.conan\2cd8bf\1\data\pcs.override.csv"...
Copying "C:\.conan\2cd8bf\1\data\pds4_template.xml"...
Copying "C:\.conan\2cd8bf\1\data\plscenesconf.json"...
Copying "C:\.conan\2cd8bf\1\data\prime_meridian.csv"...
Copying "C:\.conan\2cd8bf\1\data\projop_wparm.csv"...
Copying "C:\.conan\2cd8bf\1\data\ruian_vf_ob_v1.gfs"...
Copying "C:\.conan\2cd8bf\1\data\ruian_vf_st_uvoh_v1.gfs"...
Copying "C:\.conan\2cd8bf\1\data\ruian_vf_st_v1.gfs"...
Copying "C:\.conan\2cd8bf\1\data\ruian_vf_v1.gfs"...
Copying "C:\.conan\2cd8bf\1\data\s57agencies.csv"...
Copying "C:\.conan\2cd8bf\1\data\s57attributes.csv"...
Copying "C:\.conan\2cd8bf\1\data\s57expectedinput.csv"...
Copying "C:\.conan\2cd8bf\1\data\s57objectclasses.csv"...
Copying "C:\.conan\2cd8bf\1\data\seed_2d.dgn"...
Copying "C:\.conan\2cd8bf\1\data\seed_3d.dgn"...
Copying "C:\.conan\2cd8bf\1\data\stateplane.csv"...
Copying "C:\.conan\2cd8bf\1\data\trailer.dxf"...
Copying "C:\.conan\2cd8bf\1\data\unit_of_measure.csv"...
Copying "C:\.conan\2cd8bf\1\data\vdv452.xml"...
Copying "C:\.conan\2cd8bf\1\data\vdv452.xsd"...
Copying "C:\.conan\2cd8bf\1\data\vertcs.csv"...
Copying "C:\.conan\2cd8bf\1\data\vertcs.override.csv"...
Copying "C:\Users\iwer\.conan\data\mergetiff-ue4\0.0.6\adamrehn\5.1\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\mergetiff"...
Copying "C:\Users\iwer\.conan\data\geos-ue4\3.6.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\include\geos"...
Copying "C:\Users\iwer\.conan\data\geos-ue4\3.6.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\include\geos_c.h"...
Copying "C:\Users\iwer\.conan\data\geos-ue4\3.6.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\lib\geos.lib"...
Copying "C:\Users\iwer\.conan\data\geos-ue4\3.6.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\lib\geos_c.lib"...
Copying "C:\Users\iwer\.conan\data\geos-ue4\3.6.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\bin\geos.dll"...
Copying "C:\Users\iwer\.conan\data\geos-ue4\3.6.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\bin\geos_c.dll"...
Copying "C:\Users\iwer\.conan\data\proj-ue4\4.9.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\include\geodesic.h"...
Copying "C:\Users\iwer\.conan\data\proj-ue4\4.9.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\include\projects.h"...
Copying "C:\Users\iwer\.conan\data\proj-ue4\4.9.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\include\proj_api.h"...
Copying "C:\Users\iwer\.conan\data\proj-ue4\4.9.3\adamrehn\5.1\package\7333dc905312a2df09e78e1a60d59e628a5f0321\lib\proj_4_9.lib"...
Copying "C:\Users\iwer\.conan\data\OpenSSL\ue4\adamrehn\5.1\package\b21c67632d3dc13ff6d7c7432a489603c3302c9a\include\openssl"...
Copying "C:\Users\iwer\.conan\data\OpenSSL\ue4\adamrehn\5.1\package\b21c67632d3dc13ff6d7c7432a489603c3302c9a\lib\libcrypto.lib"...
Copying "C:\Users\iwer\.conan\data\OpenSSL\ue4\adamrehn\5.1\package\b21c67632d3dc13ff6d7c7432a489603c3302c9a\lib\libssl.lib"...
Copying "C:\Users\iwer\.conan\data\nghttp2\ue4\adamrehn\5.1\package\b21c67632d3dc13ff6d7c7432a489603c3302c9a\include\nghttp2"...
Copying "C:\Users\iwer\.conan\data\nghttp2\ue4\adamrehn\5.1\package\b21c67632d3dc13ff6d7c7432a489603c3302c9a\lib\nghttp2.lib"...
Done.
Bosa17 commented 5 months ago

image Modify like this in ProcessPrecomputedData() in GDAL.Build.cs file.

sg-12345 commented 5 months ago

@Bosa17 Hi it solves LNK1181 cannot open input file 'crypt32.lib.lib' problem and work in ue4cli, conan-ue4cli and ue5 source installed pc but does not work another pc that does not have ue4cli, conan-ue4cli

Should I tdownload ue4cli, conan-ue4cli to other pc and try what happens

This is the error in other pc :


C:\Users\egultekin\Documents\Unreal Projects\PrecomputedGDAL\Plugins\UnrealGDAL\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.suppressed.lib kitaplığı ve C:\Users\egultekin\Documents\Unreal Projects\PrecomputedGDAL\Plugins\UnrealGDAL\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.suppressed.exp nesnesi oluşturuluyor
1>gdal.lib(BitStuffer2.obj) : error LNK2019: çözümlenmemiş dış sembol __std_max_element_4 için "public: bool __cdecl GDAL_LercNS::BitStuffer2::EncodeSimple(unsigned char * *,class std::vector<unsigned int,class std::allocator<unsigned int> > const &,int)const " (?EncodeSimple@BitStuffer2@GDAL_LercNS@@QEBA_NPEAPEAEAEBV?$vector@IV?$allocator@I@std@@@std@@H@Z) işlevinde başvuruldu
1>C:\Users\egultekin\Documents\Unreal Projects\PrecomputedGDAL\Plugins\UnrealGDAL\Binaries\Win64\UnrealEditor-UnrealGDAL.dll : fatal error LNK1120: 1 çözümlenmemiş dışlar
1>[2/2] WriteMetadata PrecomputedGDALEditor.target cancelled
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: ""C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\Build.bat" PrecomputedGDALEditor Win64 Development -Project="C:\Users\egultekin\Documents\Unreal Projects\PrecomputedGDAL\PrecomputedGDAL.uproject" -WaitMutex -FromMsBuild" komutundan 6 koduyla çıkıldı.
1>"PrecomputedGDAL.vcxproj" projesini oluşturma tamamlandı -- BAŞARISIZ OLDU.
iwer commented 5 months ago

If ue4 conan precompute was successful on computer A, then there is a precomputed directory in UnrealGDAL/Source/GDAL. Then you should be able to zip the whole UnrealGDAL directory, copy it to computer B with the same UE5 version.

sg-12345 commented 5 months ago

@iwer @Bosa17 Yes it should compile and work same version but get error this time i got this error;

2>[78/86] Link UnrealEditor-KingsGambit.lib 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Intermediate\Build\Win64\UnrealEditor\Development\KingsGambit\UnrealEditor-KingsGambit.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Intermediate\Build\Win64\UnrealEditor\Development\KingsGambit\UnrealEditor-KingsGambit.exp 2>[79/86] Link UnrealEditor-UnrealGDAL.dll 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\UnrealGDAL\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.suppressed.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\UnrealGDAL\Intermediate\Build\Win64\UnrealEditor\Development\UnrealGDAL\UnrealEditor-UnrealGDAL.suppressed.exp 2>gdal.lib(pds4dataset.obj) : error LNK2019: unresolved external symbol std_find_trivial_1 referenced in function "void cdecl FillMask(void ,unsigned char ,int,int,int,class std::vector<double,class std::allocator > const &)" (??$FillMask@E@@YAXPEAXPEAEHHHAEBV?$vector@NV?$allocator@N@std@@@std@@@Z) 2>gdal.lib(cadobjects.obj) : error LNK2001: unresolved external symbol std_find_trivial_1 2>gdal.lib(pds4dataset.obj) : error LNK2019: unresolved external symbol std_find_trivial_2 referenced in function "void cdecl FillMask(void ,unsigned char ,int,int,int,class std::vector<double,class std::allocator > const &)" (??$FillMask@G@@YAXPEAXPEAEHHHAEBV?$vector@NV?$allocator@N@std@@@std@@@Z) 2>gdal.lib(pds4dataset.obj) : error LNK2019: unresolved external symbol std_find_trivial_4 referenced in function "void cdecl FillMask(void ,unsigned char ,int,int,int,class std::vector<double,class std::allocator > const &)" (??$FillMask@I@@YAXPEAXPEAEHHHAEBV?$vector@NV?$allocator@N@std@@@std@@@Z) 2>gdal.lib(cpl_vsil_swift.obj) : error LNK2019: unresolved external symbol std_count_trivial_1 referenced in function "public: virtual int cdecl cpl::VSISwiftFSHandler::Stat(char const ,struct _stat64 ,int)" (?Stat@VSISwiftFSHandler@cpl@@UEAAHPEBDPEAU_stat64@@H@Z) 2>gdal.lib(cpl_vsil_webhdfs.obj) : error LNK2001: unresolved external symbol std_count_trivial_1 2>gdal.lib(BitStuffer2.obj) : error LNK2019: unresolved external symbol std_max_element_4 referenced in function "public: bool __cdecl GDAL_LercNS::BitStuffer2::EncodeSimple(unsigned char ,class std::vector<unsigned int,class std::allocator > const &,int)const " (?EncodeSimple@BitStuffer2@GDAL_LercNS@@QEBA_NPEAPEAEAEBV?$vector@IV?$allocator@I@std@@@std@@H@Z) 2>gdal.lib(gnmgraph.obj) : error LNK2019: unresolved external symbol std_find_trivial_8 referenced in function "public: virtual void cdecl GNMGraph:eleteEdge(int64)" (?DeleteEdge@GNMGraph@@UEAAX_J@Z) 2>C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\UnrealGDAL\Binaries\Win64\UnrealEditor-UnrealGDAL.dll : fatal error LNK1120: 6 unresolved externals 2>[80/86] Link UnrealEditor-RealtimeMeshComponent.dll 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshComponent\UnrealEditor-RealtimeMeshComponent.suppressed.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshComponent\UnrealEditor-RealtimeMeshComponent.suppressed.exp 2>[81/86] Link UnrealEditor-RealtimeMeshEditor.dll 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshEditor\UnrealEditor-RealtimeMeshEditor.suppressed.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshEditor\UnrealEditor-RealtimeMeshEditor.suppressed.exp 2>[82/86] Link UnrealEditor-KingsGambit.dll 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Intermediate\Build\Win64\UnrealEditor\Development\KingsGambit\UnrealEditor-KingsGambit.suppressed.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Intermediate\Build\Win64\UnrealEditor\Development\KingsGambit\UnrealEditor-KingsGambit.suppressed.exp 2>[83/86] Compile RealtimeMeshBuilderTests.cpp 2>[84/86] Link UnrealEditor-RealtimeMeshTests.lib 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshTests\UnrealEditor-RealtimeMeshTests.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshTests\UnrealEditor-RealtimeMeshTests.exp 2>[85/86] Link UnrealEditor-RealtimeMeshTests.dll 2> Creating library C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshTests\UnrealEditor-RealtimeMeshTests.suppressed.lib and object C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\Plugins\RealtimeMeshComponent\Intermediate\Build\Win64\UnrealEditor\Development\RealtimeMeshTests\UnrealEditor-RealtimeMeshTests.suppressed.exp 2>[86/86] WriteMetadata KingsGambitEditor.target cancelled 2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(51,5): error MSB3073: The command ""C:\Program Files\UE\UE_5.1\Engine\Build\BatchFiles\Rebuild.bat" KingsGambitEditor Win64 Development -Project="C:\Users\SERHAT\Documents\Unreal Projects\KingsGambit\KingsGambit.uproject" -WaitMutex -FromMsBuild" exited with code -1. 2>Done building project "KingsGambit.vcxproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 1 skipped ==========

iwer commented 4 months ago

I just discovered, that there is an effort to make UnrealGDAL UE5.3 compatible by ssav7912 and then wolfgangp. While I have not yet found the time to test it, it may be a straw, for everyone struggling with this.