Closed reza-shahriari closed 1 year ago
Strangely having this exact issue right now, using unreal 5.2.1. Tried VS2022 and 2019 with no luck...
@reza-shahriari Do you have multiple versions of Visual Studio installed? If so, delete the oldest one and ensure only VS 2022 is installed
You also need to do a clean on Blocks (delete the Intermedate and Binaries folder), then build again.
This is because when you switch UE versions, you have to switch VS versions, which cause conflicts with the build process. This is an Unreal Engine issue that I still have not found a way to automate.
@xxEoD2242 Thanks for answering fast!
I had vs 2015 installed and I deleted it but steal seeing the error :(
Severity Code Description Project File Line Suppression State
Error C1900 Il mismatch between 'P1' version '20210224' and 'P2' version '20210202' Blocks D:\AirSim-Unreal\New folder\Colosseum\Unreal\Environments\Blocks\Intermediate\ProjectFiles\EXEC 1
would you help me please?
i have airsim and unreal 4.27 installed. is it any problem with it?
You need to install VS 2022 and then remove those folders I mentioned.
i have airsim and unreal 4.27 installed. is it any problem with it?
That shouldn't be an issue as long as you are in Colosseum
Thanks again i have VS2022. removed the folder you said by clean.sh . then i used clean.sh in the main folder and build it again but steal not working for me:(
Thanks again
i have VS2022. removed the folder you said by clean.sh . then i used clean.sh in the main folder and build it again but steal not working for me:(
Did you remove all other versions of VS?
Yes I uninstalled all the other versions
can you help me in real time mate? i mean monitor sharing or remote ... it will be nice if you can do
Unfortunately, we are super busy with our new product launch this week.
If I have time next week, we could possibly meet. In the meantime, I would recommend getting on Discord and asking your question there.
would you please share the link
would you please share the link
It's on the readme. Click on the Badge that says Colosseum Robotics Simulator
Thanks a lot 🙏🙏 I am seeing this when I want to join discord
May be link should be updated
Just fixed this problem for myself. I had VS Build Tools 2019 while my VS Community was 2022. Maybe try checking your version of build tools.
@ides2327 i'll check it thanks for helping
@ides2327 i cant find any other version of Vs in my pc........
every where i thought it may b another version:
as you can see no other version... or may be i am wrong and i have to see some where else? i also checked the path and it was not any vs in it
Check the Visual Studio Installer, you may have something like this:
Having the same issue with a clean (and only) install of VS 2022 with UE 5.2.1 and Colosseum 2.1.0.
Already set the VS 2022 as a default source editor in UE.
Tried the last commit, 1d9b330, as an addition to the 2.1.0 release.
Deleting the Intermedate and Binaries folders then building again did not solve the issue.
Here is the console log:
Build started... 1>------ Build started: Project: Blocks, Configuration: DebugGame_Editor x64 ------ 1>Using bundled DotNet SDK version: 6.0.302 1>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" BlocksEditor Win64 DebugGame -Project="C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Blocks.uproject" -WaitMutex -FromMsBuild 1>Log file: C:\Users\batuhan.uzaldi\AppData\Local\UnrealBuildTool\Log.txt 1>Creating makefile for BlocksEditor (no existing makefile) 1>Library 'Shell32.lib' was not resolvable to a file when used in Module 'AirSim', 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 'dinput8.lib' was not resolvable to a file when used in Module 'AirSim', 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 'dxguid.lib' was not resolvable to a file when used in Module 'AirSim', 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>Parsing headers for BlocksEditor 1> Running Internal UnrealHeaderTool "C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Blocks.uproject" "C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Intermediate\Build\Win64\BlocksEditor\DebugGame\BlocksEditor.uhtmanifest" -WarningsAsErrors -installed 1>Total of 46 written 1>Reflection code generated for BlocksEditor in 1.1460443 seconds 1>Building BlocksEditor... 1>Using Visual Studio 2022 14.34.31946 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>[Upgrade] 1>[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is: 1>[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0 1>[Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;' in BlocksEditor.Target.cs. 1>[Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine. 1>[Upgrade] 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> Requested 1.5 GB free memory per action, 4.58 GB available: limiting max parallel actions to 3 1>Building 12 actions with 3 processes... 1>[1/12] Resource Default.rc2 1>[2/12] Resource Default.rc2 1>[3/12] Compile [x64] SharedPCH.Engine.NonOptimized.ShadowErrors.InclOrderUnreal5_0.cpp 1>[4/12] Compile [x64] Module.AirSim.1_of_3.cpp 1>[5/12] Compile [x64] Blocks.cpp 1>[6/12] Link [x64] UnrealEditor-Blocks-Win64-DebugGame.lib 1> Creating library C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Intermediate\Build\Win64\x64\UnrealEditor\DebugGame\Blocks\UnrealEditor-Blocks-Win64-DebugGame.lib and object C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Intermediate\Build\Win64\x64\UnrealEditor\DebugGame\Blocks\UnrealEditor-Blocks-Win64-DebugGame.exp 1>[7/12] Compile [x64] Module.AirSim.3_of_3.cpp 1>[8/12] Compile [x64] Module.AirSim.2_of_3.cpp 1>[9/12] Link [x64] UnrealEditor-AirSim-Win64-DebugGame.lib 1> Creating library C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Plugins\AirSim\Intermediate\Build\Win64\x64\UnrealEditor\DebugGame\AirSim\UnrealEditor-AirSim-Win64-DebugGame.lib and object C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Plugins\AirSim\Intermediate\Build\Win64\x64\UnrealEditor\DebugGame\AirSim\UnrealEditor-AirSim-Win64-DebugGame.exp 1>[10/12] Link [x64] UnrealEditor-Blocks-Win64-DebugGame.dll 1> Creating library C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Intermediate\Build\Win64\x64\UnrealEditor\DebugGame\Blocks\UnrealEditor-Blocks-Win64-DebugGame.suppressed.lib and object C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Intermediate\Build\Win64\x64\UnrealEditor\DebugGame\Blocks\UnrealEditor-Blocks-Win64-DebugGame.suppressed.exp 1>[11/12] Link [x64] UnrealEditor-AirSim-Win64-DebugGame.dll 1>AirLib.lib(FileSystem.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 1>EXEC : fatal error C1900: Il mismatch between 'P1' version '20221215' and 'P2' version '20220715' 1>LINK : fatal error LNK1257: code generation failed 1>[12/12] WriteMetadata BlocksEditor-Win64-DebugGame.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.2\Engine\Build\BatchFiles\Build.bat" BlocksEditor Win64 DebugGame -Project="C:\Unreal Projects\Colosseum-2.1.0\Unreal\Environments\Blocks\Blocks.uproject" -WaitMutex -FromMsBuild" exited with code 6. 1>Done building project "Blocks.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Build started at 11:12 and took 01:01.858 minutes ==========
Solved my issue.
I thought I needed to download the exact Windows SDK version mentioned in the docs, turns out I need to get the latest one listed in the VSC installation list.
Solved my issue.
I thought I needed to download the exact Windows SDK version mentioned in the docs, turns out I need to get the latest one listed in the VSC installation list.
i have uninstalled all the other versions of SDKs but i am steal seeing the error
Solved my issue. I thought I needed to download the exact Windows SDK version mentioned in the docs, turns out I need to get the latest one listed in the VSC installation list.
i have uninstalled all the other versions of SDKs but i am steal seeing the error
Make sure to uninstall all other versions of VS, even the versions of 2022 (17.7, 17.6 etc.). Best way to do it is completely uninstalling the all VS related programs including the installer, as mentioned above by others.
Then do a clean installation after restarting your system. During the installation, just to be safe, select all Microsoft SDK versions, select the latest .NET Framework.
Might also help; Start the VS with admin rights. To do that with the sln files, you need to right click the "devenv.exe" to open the troubleshoot compatibility screen then select "this program requires additional permissions".
ill try it ASAP thanks for the comment
Make sure to uninstall all other versions of VS, even the versions of 2022 (17.7, 17.6 etc.). Best way to do it is completely uninstalling the all VS related programs including the installer, as mentioned above by others.
Then do a clean installation after restarting your system. During the installation, just to be safe, select all Microsoft SDK versions, select the latest .NET Framework.
Might also help; Start the VS with admin rights. To do that with the sln files, you need to right click the "devenv.exe" to open the troubleshoot compatibility screen then select "this program requires additional permissions".
THANKSSSSSSS i have airsim in ue5 now I had to reinstall it as you said thanks a lot
Question
can you please explain step-by-step how to use it?
I have cloned your repo and then built it with vs 2022 now I cant use blocks nor plugin!. both of them showing this error: Severity Code Description Project File Line Suppression State Error C1900 Il mismatch between 'P1' version '20210224' and 'P2' version '20210202' MyProject7 C:\Users\iust\Documents\Unreal Projects\MyProject7\Intermediate\ProjectFiles\EXEC
what should i do ?
Using:
windows10, last version of colosseum, python is installed by vs 2022,unreal 5.2