caseymcc / UE4CMake

Provides a simple way to add a cmake lib to any Unreal Engine 4 (UE4) or 5 (UE5) project.
MIT License
80 stars 15 forks source link

Unable to merge actions...PrerequisitesItems are different. #31

Closed ClayJay3 closed 1 week ago

ClayJay3 commented 1 week ago

My setup:

Ubuntu 24.04 Unreal Engine 5.4.4

The problem:

I'm attempting to add a thirdparty library to my project with UE4CMake, but I get some odd errors about duplicate files (at least I think that's what it's saying) and I haven't had success in troubleshooting it. UE4CMake seems to configure and build the library just fine, but then errors out while writing files.

I have tried two different C++ libraries that contain a CMakeLists.txt and get the same issue. One of those libraries is GeographicLib

Any help is appreciated!

Build.cs

// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.IO;

public class RoveSoSimulator : ModuleRules
{
    public RoveSoSimulator(ReadOnlyTargetRules Target) : base(Target)
    {
        PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
        bUseUnity = false;

        // Add public dependencies
        PublicDependencyModuleNames.AddRange(new string[]
        {
            "Core",
            "CoreUObject",
            "Engine",
            "InputCore",
        });

        // Define libraries based on platform
        if (Target.Platform == UnrealTargetPlatform.Win64)
        {
            // CMakeTarget.add(Target, this, "RoveComm_CPP", Path.Combine(this.ModuleDirectory, "./ThirdParty/RoveComm_CPP"), "-DBUILD_WIN=ON -D__ROVECOMM_LIBRARY_MODE__=0 -DBUILD_TESTS_MODE=OFF", true);
        }
        else if (Target.Platform == UnrealTargetPlatform.Linux)
        {
            // CMakeTarget.add(Target, this, "RoveComm_CPP", Path.Combine(this.ModuleDirectory, "./ThirdParty/RoveComm_CPP"), "-D__ROVECOMM_LIBRARY_MODE__=0 -DBUILD_TESTS_MODE=OFF", true);
            CMakeTarget.add(Target, this, "GeographicLib", Path.Combine(this.ModuleDirectory, "./ThirdParty/geographiclib"), "", true);
        }
    }
}

.uproject

{
    "FileVersion": 3,
    "EngineAssociation": "5.4",
    "Category": "",
    "Description": "",
    "Modules": [
        {
            "Name": "RoveSoSimulator",
            "Type": "Runtime",
            "LoadingPhase": "Default"
        }
    ],
    "Plugins": [
        {
            "Name": "ModelingToolsEditorMode",
            "Enabled": true,
            "TargetAllowList": [
                "Editor"
            ]
        },
        {
            "Name": "SunPosition",
            "Enabled": true
        },
        {
            "Name": "GeoReferencing",
            "Enabled": true
        },
        {
            "Name": "PCG",
            "Enabled": true
        },
        {
            "Name": "DatasmithC4DImporter",
            "Enabled": true,
            "SupportedTargetPlatforms": [
                "Win64",
                "Mac"
            ]
        },
        {
            "Name": "DatasmithCADImporter",
            "Enabled": true,
            "SupportedTargetPlatforms": [
                "Win64",
                "Linux"
            ]
        },
        {
            "Name": "DatasmithImporter",
            "Enabled": true
        },
        {
            "Name": "SkeletalMeshModelingTools",
            "Enabled": true
        },
        {
            "Name": "ChaosVehiclesPlugin",
            "Enabled": true
        },
        {
            "Name": "CMakeTarget",
            "Enabled": true
        }
    ],
    "TargetPlatforms": [
        "Linux",
        "Windows",
        "LinuxArm64"
    ]
}

Log Output:

``` Expand to view LOGs. ``` ``` Log file open, 09/24/24 18:17:20 LogInit: Display: Running engine for game: RoveSoSimulator LogCore: UTS: Unreal Trace Server launched successfully LogTrace: Initializing trace... LogCore: Display: Requested channels: 'cpu,gpu,frame,log,bookmark,screenshot,region' LogTrace: Finished trace initialization. LogCsvProfiler: Display: Metadata set : platform="Linux" LogCsvProfiler: Display: Metadata set : config="Development" LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.4-CL-35576357" LogCsvProfiler: Display: Metadata set : engineversion="5.4.4-35576357+++UE5+Release-5.4" LogCsvProfiler: Display: Metadata set : os="Ubuntu 24.04.1 LTS 6.8.0-45-generic" LogCsvProfiler: Display: Metadata set : cpu="AuthenticAMD|AMD Ryzen 9 7950X 16-Core Processor" LogCsvProfiler: Display: Metadata set : pgoenabled="0" LogCsvProfiler: Display: Metadata set : pgoprofilingenabled="0" LogCsvProfiler: Display: Metadata set : ltoenabled="0" LogCsvProfiler: Display: Metadata set : asan="0" LogCsvProfiler: Display: Metadata set : commandline="" "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/RoveSoSimulator.uproject""" LogCsvProfiler: Display: Metadata set : loginid="b8ad3a93c9614ba6b960fe16bf081848-000003e8" LogCsvProfiler: Display: Metadata set : llm="0" LogStats: Stats thread started at 0.079726 LogICUInternationalization: ICU TimeZone Detection - Raw Offset: -6:00, Platform Override: '' LogInit: Session CrashGUID >==================================================== Session CrashGUID > UECC-Linux-DE2AAA6E47CC4B5A8ED88314D957C5C3 Session CrashGUID >==================================================== LogConfig: No local boot hotfix file found at: [../../../../Mars Rover Design Team/RoveSoSimulator/Saved/PersistentDownloadDir/HotfixForNextBoot.txt] LogConfig: Display: Loading Mac ini files took 0.09 seconds LogConfig: Display: Loading IOS ini files took 0.09 seconds LogConfig: Display: Loading Android ini files took 0.09 seconds LogPluginManager: Warning: Engine version string in ../../../../Mars Rover Design Team/RoveSoSimulator/Plugins/UE4CMake/CMakeTarget.uplugin could not be parsed ("ANY_VERSION") LogConfig: Display: Loading Windows ini files took 0.14 seconds LogConfig: Display: Loading VisionOS ini files took 0.15 seconds LogConfig: Display: Loading TVOS ini files took 0.16 seconds LogPluginManager: Mounting Engine plugin WorldMetrics LogPluginManager: Mounting Engine plugin FastBuildController LogPluginManager: Mounting Engine plugin PCG LogPluginManager: Mounting Engine plugin XGEController LogPluginManager: Mounting Engine plugin ChaosVD LogPluginManager: Found config from plugin[ChaosVD] Engine LogPluginManager: Mounting Engine plugin Bridge LogConfig: Display: Loading VulkanPC ini files took 0.20 seconds LogPluginManager: Mounting Engine plugin RenderGraphInsights LogPluginManager: Mounting Engine plugin ChaosCloth LogPluginManager: Mounting Engine plugin EnhancedInput LogPluginManager: Found config from plugin[EnhancedInput] Input LogPluginManager: Mounting Engine plugin CmdLinkServer LogConfig: Display: Loading LinuxArm64 ini files took 0.20 seconds LogPluginManager: Mounting Engine plugin MeshPainting LogPluginManager: Mounting Engine plugin TraceUtilities LogPluginManager: Mounting Engine plugin InterchangeEditor LogPluginManager: Mounting Engine plugin Interchange LogPluginManager: Mounting Engine plugin RiderSourceCodeAccess LogPluginManager: Mounting Engine plugin CLionSourceCodeAccess LogConfig: Display: Loading Unix ini files took 0.21 seconds LogPluginManager: Mounting Engine plugin N10XSourceCodeAccess LogConfig: Display: Loading Linux ini files took 0.21 seconds LogPluginManager: Mounting Engine plugin PixWinPlugin LogPluginManager: Mounting Engine plugin PluginUtils LogPluginManager: Mounting Engine plugin AnimationSharing LogPluginManager: Mounting Engine plugin CodeLiteSourceCodeAccess LogPluginManager: Mounting Engine plugin PropertyAccessNode LogPluginManager: Mounting Engine plugin TraceDataFilters LogPluginManager: Mounting Engine plugin VisualStudioCodeSourceCodeAccess LogPluginManager: Mounting Engine plugin TextureFormatOodle LogPluginManager: Mounting Engine plugin PlasticSourceControl LogPluginManager: Mounting Engine plugin RenderDocPlugin LogPluginManager: Mounting Engine plugin SubversionSourceControl LogPluginManager: Mounting Engine plugin PerforceSourceControl LogPluginManager: Mounting Engine plugin GitSourceControl LogPluginManager: Mounting Engine plugin DumpGPUServices LogPluginManager: Mounting Engine plugin NullSourceCodeAccess LogPluginManager: Mounting Engine plugin XCodeSourceCodeAccess LogPluginManager: Mounting Engine plugin StudioTelemetry LogPluginManager: Mounting Engine plugin UObjectPlugin LogPluginManager: Mounting Engine plugin VisualStudioSourceCodeAccess LogPluginManager: Mounting Engine plugin KDevelopSourceCodeAccess LogPluginManager: Mounting Engine plugin PlatformCrypto LogPluginManager: Mounting Engine plugin PlanarCut LogPluginManager: Mounting Engine plugin ChaosCaching LogPluginManager: Mounting Engine plugin FullBodyIK LogPluginManager: Mounting Engine plugin ChaosSolverPlugin LogPluginManager: Mounting Engine plugin Fracture LogPluginManager: Mounting Engine plugin ChaosNiagara LogPluginManager: Mounting Engine plugin MeshModelingToolsetExp LogPluginManager: Mounting Engine plugin GeometryFlow LogPluginManager: Mounting Engine plugin PythonScriptPlugin LogPluginManager: Mounting Engine plugin StructUtils LogPluginManager: Mounting Engine plugin BackChannel LogPluginManager: Mounting Engine plugin ChaosEditor LogPluginManager: Mounting Engine plugin GeometryCollectionPlugin LogPluginManager: Mounting Engine plugin ToolPresets LogPluginManager: Mounting Engine plugin CharacterAI LogPluginManager: Mounting Engine plugin LocalizableMessage LogPluginManager: Mounting Engine plugin AutomationUtils LogPluginManager: Mounting Engine plugin ChaosUserDataPT LogPluginManager: Mounting Engine plugin OpenImageDenoise LogPluginManager: Mounting Engine plugin SkeletalReduction LogPluginManager: Mounting Engine plugin ChaosVehiclesPlugin LogPluginManager: Mounting Engine plugin WindowsDeviceProfileSelector LogPluginManager: Mounting Engine plugin ProceduralMeshComponent LogPluginManager: Mounting Engine plugin Dataflow LogPluginManager: Mounting Engine plugin AppleMoviePlayer LogPluginManager: Mounting Engine plugin PropertyAccessEditor LogPluginManager: Mounting Engine plugin LinuxDeviceProfileSelector LogPluginManager: Mounting Engine plugin Metasound LogPluginManager: Mounting Engine plugin AudioWidgets LogPluginManager: Mounting Engine plugin GeometryCache LogPluginManager: Mounting Engine plugin MsQuic LogPluginManager: Mounting Engine plugin CableComponent LogPluginManager: Mounting Engine plugin IOSDeviceProfileSelector LogPluginManager: Mounting Engine plugin ExampleDeviceProfileSelector LogPluginManager: Mounting Engine plugin ChunkDownloader LogPluginManager: Mounting Engine plugin AssetTags LogPluginManager: Mounting Engine plugin CustomMeshComponent LogPluginManager: Mounting Engine plugin GoogleCloudMessaging LogPluginManager: Mounting Engine plugin GooglePAD LogPluginManager: Mounting Engine plugin AudioSynesthesia LogPluginManager: Mounting Engine plugin WebMMoviePlayer LogPluginManager: Mounting Engine plugin SunPosition LogPluginManager: Mounting Engine plugin WaveTable LogPluginManager: Mounting Engine plugin ArchVisCharacter LogPluginManager: Mounting Engine plugin InputDebugging LogPluginManager: Found config from plugin[InputDebugging] Input LogPluginManager: Mounting Engine plugin AndroidMoviePlayer LogPluginManager: Mounting Engine plugin RigVM LogPluginManager: Mounting Engine plugin ResonanceAudio LogPluginManager: Mounting Engine plugin AndroidFileServer LogPluginManager: Mounting Engine plugin WindowsMoviePlayer LogPluginManager: Mounting Engine plugin AppleImageUtils LogPluginManager: Mounting Engine plugin GeoReferencing LogPluginManager: Mounting Engine plugin GeometryProcessing LogPluginManager: Mounting Engine plugin AudioCapture LogPluginManager: Mounting Engine plugin SignificanceManager LogPluginManager: Mounting Engine plugin LocationServicesBPLibrary LogPluginManager: Mounting Engine plugin MobilePatchingUtils LogPluginManager: Mounting Engine plugin AndroidDeviceProfileSelector LogPluginManager: Mounting Engine plugin Synthesis LogPluginManager: Mounting Engine plugin AndroidPermission LogPluginManager: Mounting Engine plugin ActorLayerUtilities LogPluginManager: Mounting Engine plugin LauncherChunkInstaller LogPluginManager: Mounting Engine plugin MeshModelingToolset LogPluginManager: Mounting Engine plugin SoundFields LogPluginManager: Mounting Engine plugin DataValidation LogPluginManager: Mounting Engine plugin GeometryMode LogPluginManager: Mounting Engine plugin MaterialAnalyzer LogPluginManager: Mounting Engine plugin SequencerAnimTools LogPluginManager: Mounting Engine plugin SpeedTreeImporter LogPluginManager: Mounting Engine plugin GameplayTagsEditor LogPluginManager: Mounting Engine plugin AssetManagerEditor LogPluginManager: Mounting Engine plugin BlueprintHeaderView LogPluginManager: Mounting Engine plugin FacialAnimation LogPluginManager: Mounting Engine plugin ProxyLODPlugin LogPluginManager: Mounting Engine plugin CryptoKeys LogPluginManager: Mounting Engine plugin UVEditor LogPluginManager: Mounting Engine plugin WorldPartitionHLODUtilities LogPluginManager: Mounting Engine plugin MacGraphicsSwitching LogPluginManager: Mounting Engine plugin EditorScriptingUtilities LogPluginManager: Mounting Engine plugin EngineAssetDefinitions LogPluginManager: Mounting Engine plugin ModelingToolsEditorMode LogPluginManager: Mounting Engine plugin ChangelistReview LogPluginManager: Mounting Engine plugin EditorDebugTools LogPluginManager: Mounting Engine plugin PluginBrowser LogPluginManager: Mounting Engine plugin CurveEditorTools LogPluginManager: Mounting Engine plugin MeshLODToolset LogPluginManager: Mounting Engine plugin WebMMedia LogPluginManager: Mounting Engine plugin MobileLauncherProfileWizard LogPluginManager: Mounting Engine plugin MediaPlate LogPluginManager: Mounting Engine plugin WmfMedia LogPluginManager: Mounting Engine plugin MediaCompositing LogPluginManager: Mounting Engine plugin AndroidMedia LogPluginManager: Mounting Engine plugin AvfMedia LogPluginManager: Mounting Engine plugin ImgMedia LogPluginManager: Mounting Engine plugin MediaPlayerEditor LogPluginManager: Mounting Engine plugin OodleNetwork LogPluginManager: Mounting Engine plugin AlembicImporter LogPluginManager: Mounting Engine plugin InterchangeTests LogPluginManager: Mounting Engine plugin Takes LogPluginManager: Mounting Engine plugin Niagara LogPluginManager: Mounting Engine plugin GLTFExporter LogPluginManager: Mounting Engine plugin Paper2D LogPluginManager: Mounting Engine plugin VariantManager LogPluginManager: Mounting Engine plugin NiagaraSimCaching LogPluginManager: Mounting Engine plugin DatasmithImporter LogPluginManager: Mounting Engine plugin DatasmithContent LogPluginManager: Mounting Engine plugin DatasmithCADImporter LogPluginManager: Mounting Engine plugin DatasmithC4DImporter LogPluginManager: Mounting Engine plugin UdpMessaging LogPluginManager: Mounting Engine plugin VariantManagerContent LogPluginManager: Mounting Engine plugin TcpMessaging LogPluginManager: Mounting Engine plugin DataprepEditor LogPluginManager: Mounting Engine plugin ControlRig LogPluginManager: Mounting Engine plugin ControlRigModules LogPluginManager: Mounting Engine plugin BlendSpaceMotionAnalysis LogPluginManager: Mounting Engine plugin IKRig LogPluginManager: Mounting Engine plugin ControlRigSpline LogPluginManager: Mounting Engine plugin AnimationData LogPluginManager: Mounting Engine plugin EnvironmentQueryEditor LogPluginManager: Mounting Engine plugin AnimationModifierLibrary LogPluginManager: Mounting Engine plugin ACLPlugin LogPluginManager: Mounting Engine plugin AISupport LogPluginManager: Mounting Engine plugin TemplateSequence LogPluginManager: Mounting Engine plugin SequencerScripting LogPluginManager: Mounting Engine plugin ActorSequence LogPluginManager: Mounting Engine plugin OnlineSubsystemUtils LogPluginManager: Mounting Engine plugin LevelSequenceEditor LogPluginManager: Mounting Engine plugin OnlineServices LogPluginManager: Mounting Engine plugin OnlineSubsystemNull LogPluginManager: Mounting Engine plugin CameraShakePreviewer LogPluginManager: Mounting Engine plugin OnlineSubsystem LogPluginManager: Mounting Engine plugin OnlineBase LogPluginManager: Mounting Engine plugin GameplayCameras LogPluginManager: Mounting Engine plugin OnlineSubsystemIOS LogPluginManager: Mounting Engine plugin OnlineSubsystemGooglePlay LogPluginManager: Mounting Engine plugin ContentBrowserFileDataSource LogPluginManager: Mounting Engine plugin LightMixer LogPluginManager: Mounting Engine plugin ContentBrowserAssetDataSource LogPluginManager: Mounting Engine plugin ContentBrowserClassDataSource LogPluginManager: Mounting Engine plugin ObjectMixer LogPluginManager: Mounting Engine plugin XInputDevice LogPluginManager: Mounting Engine plugin BaseCharacterFXEditor LogPluginManager: Mounting Engine plugin SkeletalMeshModelingTools LogPluginManager: Mounting Engine plugin PortableObjectFileDataSource LogPluginManager: Mounting Engine plugin SQLiteCore LogPluginManager: Mounting Engine plugin MetaHumanProjectUtilities LogPluginManager: Mounting Project plugin CMakeTarget SourceControl: Revision control is disabled SourceControl: Revision control is disabled SourceControl: Revision control is disabled Launching UnrealBuildTool... [/home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Build/BatchFiles/Linux/Build.sh -Mode=QueryTargets -Project="/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/RoveSoSimulator.uproject" -Output="/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/TargetInfo.json" -IncludeAllTargets -progress] LogInit: Warning: Incompatible or missing module: RoveSoSimulator LogInit: Warning: Incompatible or missing module: CMakeTarget LogInit: Initializing SDL. LogInit: Initialized SDL 2.24.0 revision: (compiled against 2.24.0) LogInit: Using SDL video driver 'x11' LogInit: Display metrics: LogInit: PrimaryDisplayWidth: 3840 LogInit: PrimaryDisplayHeight: 2160 LogInit: PrimaryDisplayWorkAreaRect: LogInit: Left=0, Top=32, Right=3840, Bottom=2160 LogInit: VirtualDisplayRect: LogInit: Left=0, Top=32, Right=5760, Bottom=2160 LogInit: TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000 LogInit: ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000 LogInit: Number of monitors: 2 LogInit: Monitor 0 LogInit: Name: Odyssey G70B 32" LogInit: ID: display0 LogInit: NativeWidth: 3840 LogInit: NativeHeight: 2160 LogInit: bIsPrimary: true LogInit: Monitor 1 LogInit: Name: C24F390 24" LogInit: ID: display1 LogInit: NativeWidth: 1920 LogInit: NativeHeight: 1080 LogInit: bIsPrimary: false Running /home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/RoveSoSimulator.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE Setting up bundled DotNet SDK Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Development Linux -Project=/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/RoveSoSimulator.uproject -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE Log file: /home/ccowen/.config/Epic/UnrealBuildTool/Log.txt Using 'git status' to determine working set for adaptive non-unity build (/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator). Creating makefile for RoveSoSimulatorEditor (no existing makefile) CMakeTarget load target: GeographicLib loc:/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Source/RoveSoSimulator/./ThirdParty/geographiclib Loading cmake target: UnrealBuildTool.ReadOnlyTargetRules Target GeographicLib CMakeLists.txt out of date, rebuilding CMakeTarget calling cmake with: -G "Unix Makefiles" -S "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib" -B "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/build" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget" -DCMAKE_TOOLCHAIN_FILE="/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/toolchain.cmake" Calling: bash -c "cmake -G \"Unix Makefiles\" -S \"/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib\" -B \"/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/build\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=\"/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget\" -DCMAKE_TOOLCHAIN_FILE=\"/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/toolchain.cmake\" " -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check size of long double -- Check size of long double - done -- Check size of double -- Check size of double - done -- Performing Test FLOAT_CONVERSION -- Performing Test FLOAT_CONVERSION - Success -- Configuring done (0.6s) -- Generating done (0.0s) -- Build files have been written to: /home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/build Calling: bash -c "cmake --build \"/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/build\" --config Release " [ 1%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Accumulator.cpp.o [ 1%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/AlbersEqualArea.cpp.o [ 3%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/AuxAngle.cpp.o [ 4%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/AuxLatitude.cpp.o [ 6%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/AzimuthalEquidistant.cpp.o [ 8%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/CassiniSoldner.cpp.o [ 9%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/CircularEngine.cpp.o [ 11%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/DAuxLatitude.cpp.o [ 11%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/DMS.cpp.o [ 12%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/DST.cpp.o [ 14%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Ellipsoid.cpp.o [ 16%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/EllipticFunction.cpp.o [ 17%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GARS.cpp.o [ 19%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GeoCoords.cpp.o [ 20%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Geocentric.cpp.o [ 20%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Geodesic.cpp.o [ 22%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GeodesicExact.cpp.o [ 24%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GeodesicLine.cpp.o [ 25%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GeodesicLineExact.cpp.o [ 27%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Geohash.cpp.o [ 29%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Geoid.cpp.o [ 30%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Georef.cpp.o [ 30%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Gnomonic.cpp.o [ 32%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GravityCircle.cpp.o [ 33%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/GravityModel.cpp.o [ 35%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Intersect.cpp.o [ 37%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/LambertConformalConic.cpp.o [ 38%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/LocalCartesian.cpp.o [ 40%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/MGRS.cpp.o [ 40%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/MagneticCircle.cpp.o [ 41%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/MagneticModel.cpp.o [ 43%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Math.cpp.o [ 45%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/NormalGravity.cpp.o [ 46%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/OSGB.cpp.o [ 48%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/PolarStereographic.cpp.o [ 48%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/PolygonArea.cpp.o [ 50%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Rhumb.cpp.o [ 51%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/SphericalEngine.cpp.o [ 53%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/TransverseMercator.cpp.o [ 54%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/TransverseMercatorExact.cpp.o [ 56%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/UTMUPS.cpp.o [ 58%] Building CXX object GeographicLib/src/CMakeFiles/GeographicLib_SHARED.dir/Utility.cpp.o [ 58%] Linking CXX shared library libGeographicLib.so [ 58%] Built target GeographicLib_SHARED [ 58%] Built target libs [ 59%] Converting dummy man pages to online usage [ 59%] Built target usage [ 61%] Building CXX object GeographicLib/tools/CMakeFiles/TransverseMercatorProj.dir/TransverseMercatorProj.cpp.o [ 62%] Linking CXX executable TransverseMercatorProj [ 62%] Built target TransverseMercatorProj [ 64%] Building CXX object GeographicLib/tools/CMakeFiles/CartConvert.dir/CartConvert.cpp.o [ 66%] Linking CXX executable CartConvert [ 66%] Built target CartConvert [ 66%] Building CXX object GeographicLib/tools/CMakeFiles/ConicProj.dir/ConicProj.cpp.o [ 67%] Linking CXX executable ConicProj [ 67%] Built target ConicProj [ 69%] Building CXX object GeographicLib/tools/CMakeFiles/GeodesicProj.dir/GeodesicProj.cpp.o [ 70%] Linking CXX executable GeodesicProj [ 70%] Built target GeodesicProj [ 72%] Building CXX object GeographicLib/tools/CMakeFiles/GeoConvert.dir/GeoConvert.cpp.o [ 72%] Linking CXX executable GeoConvert [ 72%] Built target GeoConvert [ 72%] Building CXX object GeographicLib/tools/CMakeFiles/GeodSolve.dir/GeodSolve.cpp.o [ 74%] Linking CXX executable GeodSolve [ 74%] Built target GeodSolve [ 75%] Building CXX object GeographicLib/tools/CMakeFiles/GeoidEval.dir/GeoidEval.cpp.o [ 77%] Linking CXX executable GeoidEval [ 77%] Built target GeoidEval [ 79%] Building CXX object GeographicLib/tools/CMakeFiles/Gravity.dir/Gravity.cpp.o [ 80%] Linking CXX executable Gravity [ 80%] Built target Gravity [ 82%] Building CXX object GeographicLib/tools/CMakeFiles/IntersectTool.dir/IntersectTool.cpp.o [ 83%] Linking CXX executable IntersectTool [ 83%] Built target IntersectTool [ 85%] Building CXX object GeographicLib/tools/CMakeFiles/MagneticField.dir/MagneticField.cpp.o [ 87%] Linking CXX executable MagneticField [ 87%] Built target MagneticField [ 87%] Building CXX object GeographicLib/tools/CMakeFiles/Planimeter.dir/Planimeter.cpp.o [ 88%] Linking CXX executable Planimeter [ 88%] Built target Planimeter [ 90%] Building CXX object GeographicLib/tools/CMakeFiles/RhumbSolve.dir/RhumbSolve.cpp.o [ 91%] Linking CXX executable RhumbSolve [ 91%] Built target RhumbSolve [ 91%] Built target tools [ 93%] Generating geographiclib-get-geoids [ 95%] Generating geographiclib-get-gravity [ 96%] Generating geographiclib-get-magnetic [ 96%] Built target scripts [ 98%] Building dummy html versions of the man pages [ 98%] Built target htmlman [100%] Building dummy man pages [100%] Built target manpages [100%] Built target man Loading build info file: /home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/build/buildinfo_Release.output Add library path: "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/CMakeTarget/GeographicLib/build/GeographicLib/src" @progress push 5% Parsing headers for RoveSoSimulatorEditor Running Internal UnrealHeaderTool "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/RoveSoSimulator.uproject" "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/RoveSoSimulatorEditor/Development/RoveSoSimulatorEditor.uhtmanifest" -WarningsAsErrors -installed Total of 4 written Reflection code generated for RoveSoSimulatorEditor in 1.3110401 seconds @progress pop ------- Build details -------- Using toolchain located at '/home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu'. Using clang (/home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/clang++) version 'clang version 16.0.6 (github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin' (string), 16 (major), 0 (minor), 6 (patch) Using bundled libc++ standard C++ library. Using lld linker Using llvm-ar (/home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar) version 'LLVM (http://llvm.org/): LLVM version 16.0.6 Optimized build. (string)' Using fast way to relink circularly dependent libraries (no FixDeps). Targeted minimum CPU architecture: None ------------------------------ Re-writing a file that was previously written: "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/intersect.cpp.o.rsp" Re-writing a file that was previously written and then removed: "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.o.rsp" Re-writing a file that was previously written and then removed: "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/main.cc.o.rsp" Unable to merge actions 'geodtest.cpp' and 'GeodTest.cpp': PrerequisiteItems are different First Action: { "ActionType": "Compile", "ArtifactMode": 0, "PrerequisiteItems": [ "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/RoveSoSimulatorEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/RoveSoSimulatorEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h.gch", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/Definitions.RoveSoSimulator.h", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/RoveSoSimulator.Shared.rsp", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.o.rsp", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Source/RoveSoSimulator/ThirdParty/geographiclib/tests/geodtest.cpp" ], "ProducedItems": [ "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.d", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.o" ], "DeleteItems": [], "DependencyListFile": "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.d", "WorkingDirectory": "/home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Source", "CommandPath": "/home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/clang\u002B\u002B", "CommandArguments": "@\u0022/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.o.rsp\u0022", "CommandVersion": "clang version 16.0.6 (github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)\nTarget: x86_64-unknown-linux-gnu\nThread model: posix\nInstalledDir: /home/ccowen/Documents/Linux_Unreal_Engine_5.4.4/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin", "CommandDescription": "Compile", "StatusDescription": "geodtest.cpp", "bCanExecuteRemotely": true, "bCanExecuteRemotelyWithSNDBS": true, "bCanExecuteRemotelyWithXGE": true, "bCanExecuteInUBA": true, "bIsGCCCompiler": true, "bShouldOutputStatusDescription": true, "bProducesImportLibrary": false, "bUseActionHistory": true, "bIsHighPriority": false, "Weight": 1 } Second Action: { "ActionType": "Compile", "ArtifactMode": 0, "PrerequisiteItems": [ "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/RoveSoSimulatorEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/RoveSoSimulatorEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h.gch", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/Definitions.RoveSoSimulator.h", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/RoveSoSimulator.Shared.rsp", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Intermediate/Build/Linux/x64/UnrealEditor/Development/RoveSoSimulator/geodtest.cpp.o.rsp", "/home/ccowen/Documents/Mars Rover Design Team/RoveSoSimulator/Source/RoveSoSimulator/ThirdParty/geographiclib/develop/GeodTest.cpp" ], "ProducedItems": [ LogInit: Warning: Still incompatible or missing module: RoveSoSimulator LogInit: Warning: Still incompatible or missing module: CMakeTarget LogCore: Engine exit requested (reason: EngineExit() was called) LogExit: Preparing to exit. LogPakFile: Destroying PakPlatformFile LogExit: Exiting. LogInit: Tearing down SDL. Log file closed, 09/24/24 18:17:52 ```
caseymcc commented 1 week ago

Not sure that I see the actual error in the log files included.

ClayJay3 commented 1 week ago

My problem ended up being with unreal and where I put my library directory, so no issues with UE4Plugin. I just moved my plugin out of my projects source directory and it fixed it. My bad for the false positive.