esri / arcgis-maps-sdk-unreal-engine-samples Goto Github PK
View Code? Open in Web Editor NEWSample code for the ArcGIS Maps SDK for Unreal Engine.
Home Page: https://developers.arcgis.com/unreal-engine-sdk/
License: Apache License 2.0
Sample code for the ArcGIS Maps SDK for Unreal Engine.
Home Page: https://developers.arcgis.com/unreal-engine-sdk/
License: Apache License 2.0
When i compile the project on UE5 I get an error saying "compile from source". When I run it through Visual Studio, I get an error saying "MSB 3073 exited with code6".
How to use custom wmts as basemap ?
In the sample code, feautrelayer.cpp. It used url to interface the feature layer (hosted) of ArcGIS Online.
Is there a way to read through the file? Or other way to interact. Because in my case I want to query the map without internet.
When i compile the project on UE5.1 I get an error saying "compile from source". When I run it through Visual Studio, I get an error saying
Build started...
1>------ Build started: Project: MyProject, Configuration: Development_Editor x64 ------
1>Running UnrealBuildTool: dotnet "....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" MyProjectEditor Win64 Development -Project="C:\Users\User\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild
1>Log file: C:\Users\User\AppData\Local\UnrealBuildTool\Log.txt
1>Building MyProjectEditor...
1>Using Visual Studio 2022 14.34.31935 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Determining max actions to execute in parallel (2 physical cores, 4 logical cores)
1> Executing up to 2 processes, one per physical core
1> Requested 1.5 GB free memory per action, 2.2 GB available: limiting max parallel actions to 1
1>Building 8 actions with 1 process...
1>[1/8] Compile Module.ArcGISMapsSDK.13_of_13.cpp
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Components\ArcGISMeshSceneProxy.cpp(159): warning C4996: 'FDynamicPrimitiveUniformBuffer::Set': Use version without bDrawsVelocity instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Public\ArcGISMapsSDK\API\Unreal\ArcGISDataBuffer.h(185): error C4995: 'PLATFORM_COMPILER_HAS_IF_CONSTEXPR': name was marked as #pragma deprecated
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\ArcGISRendererImpl.cpp(44): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Internal\ArcGISMapsSDK\Renderer\GPUComputing\ImageComposerShaders.h(29): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Internal\ArcGISMapsSDK\Renderer\GPUComputing\NormalMapGeneratorShaders.h(33): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Internal\ArcGISMapsSDK\Renderer\GPUComputing\NormalMapGeneratorShaders.h(59): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\GPUComputing\TerrainOcclusionDepthMapRenderer.cpp(67): warning C4996: 'RHICreateTexture2D': FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\GPUComputing\TerrainOcclusionDepthMapRenderer.cpp(373): warning C4996: 'RHICreateTexture2D': FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>[2/8] Compile Module.ArcGISMapsSDK.10_of_13.cpp
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Public\ArcGISMapsSDK\API\Unreal\ArcGISDataBuffer.h(185): error C4995: 'PLATFORM_COMPILER_HAS_IF_CONSTEXPR': name was marked as #pragma deprecated
1>[3/8] Compile Module.ArcGISMapsSDK.11_of_13.cpp
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Public\ArcGISMapsSDK\API\Unreal\ArcGISDataBuffer.h(185): error C4995: 'PLATFORM_COMPILER_HAS_IF_CONSTEXPR': name was marked as #pragma deprecated
1>[4/8] Link UnrealEditor-ArcGISMapsSDK.lib cancelled
1>[5/8] Link UnrealEditor-ArcGISMapsSDK.dll cancelled
1>[6/8] Link UnrealEditor-ArcGISMapsSDKEditor.dll cancelled
1>[7/8] Link UnrealEditor-ArcGISSamples.dll cancelled
1>[8/8] WriteMetadata MyProjectEditor.target cancelled
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\Build.bat" MyProjectEditor Win64 Development -Project="C:\Users\User\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "MyProject.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Elapsed 06:14.600 ==========
I get the following error and I don't know how to fix it:
Severity Code Description Project File Line Suppression State Details Error MSB3073 The command ""C:\Program Files\Epic Games\UE_5.3\Engine\Build\BatchFiles\Build.bat" sample_projectEditor Win64 Development -Project="Z:\TEMP\arcgis_samples\sample_project\sample_project.uproject" -WaitMutex -FromMsBuild" exited with code 6. sample_project C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44
Thank you,
Luigi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.