Can't cook on 2 computers

 

Hello,

I have two computers that won't cook ! Both are Windows 10, I tried 2024.3  and 2024.2, same error...

UATHelper: Cooking (Windows): C:\Program Files\Aximmetry\2024.2.0_UnrealEngine\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: '__has_feature' non d fini(e) comme pr processeur ou macro, remplacement par '0' pour '#if/#elif'

UATHelper: Cooking (Windows): C:\Program Files\Aximmetry\2024.2.0_UnrealEngine\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: jetons inattendus apr s la directive du pr processeur - saut de ligne attendu


And just in case, yep, i followed the "How to install Aximmetry" page, and took care about prerequirisites, especially the MSVC one...

Thanks a lot for your help

   marc.mazerin

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Based on the discussion here: https://forums.unrealengine.com/t/ue5-3-cannot-build-project/2133106/4

You could search for files ending with Target.cs in your Unreal Project folder. Open these files with a text editor and ensure that
DefaultBuildSettings = BuildSettingsVersion.Latest;
is set, rather than V2, V3, V4, V5, etc.

If that doesn't work, you could try deselecting the latest MSVC option in the Visual Studio installer:
Can't cook on 2 computers

Warmest regards,

 
Profile Image
marc.mazerin
  -  

Hi Eifert, thanks a lot for the quick answer. Unfortunately, same log error , on latest, v2 v3 v4 v5 v6  and latest. And same with second solution !

Regards

 
Profile Image
marc.mazerin
  -  

So far, it works on 2024.3 but not 2024.2 (replacing by latest and changing msvc)

Also, Why should I edit target.cs myself on certain computers ? While on some others it's all fine ? 

Regards

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

I'm glad to hear that you found a solution. It seems that the update from Unreal 5.3 to 5.4 resolved the issue.

I'm unsure why modifying Target.cs would have helped in this scenario. I noticed it was mentioned in the linked Unreal forum post, and it has resolved similar issues for us in the past.
It's possible that different Windows versions caused it to work on some computers but not on others. But I am not sure at all what was the underlying problem.

Warmest regards,

 
Profile Image
marc.mazerin
  -  

We're going to clean the computers and reinstall everything, with win 11. There might be something installed before interfering. We are curious which program would be interfering at this point. We might find when reinstalling on these two computers.

Thanks

;