Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Build error with SGenAutoResolve_x64.exe #571

Open
Geneticus opened this issue Dec 24, 2016 · 7 comments
Open

Build error with SGenAutoResolve_x64.exe #571

Geneticus opened this issue Dec 24, 2016 · 7 comments

Comments

@Geneticus
Copy link
Contributor

Geneticus commented Dec 24, 2016

""C:\Users\Geneticus\Documents\Projects\SpaceEngineers\Sources\SpaceEngineers.ObjectBuilders....\Build\Tools\SGenAutoResolve\SGenAutoResolve_x64.exe" /a:"C:\Users\Geneticus\Documents\Projects\SpaceEngineers\Sources\SpaceEngineers.ObjectBuilders\bin\x64\Release\SpaceEngineers.ObjectBuilders.dll" /d:"C:\Users\Geneticus\Documents\Projects\SpaceEngineers\Sources\SpaceEngineers.ObjectBuilders\bin\x64\Release\VRage.Game.dll" /b /v" exited with code -532462766. SpaceEngineers.ObjectBuilders

@w00zla
Copy link

w00zla commented Jan 26, 2017

Nailed it down to some memory problems (pasted text is build-output of project "SpaceEngineers.ObjectBuilders"):

2>------ Build started: Project: SpaceEngineers.ObjectBuilders, Configuration: Debug x64 ------
2> SpaceEngineers.ObjectBuilders -> D:\ProjectsLocal\SpaceEngineers-master\Sources\SpaceEngineers.ObjectBuilders\bin\x64\Debug\SpaceEngineers.ObjectBuilders.dll
2> [6,0058ms] Assemblies loaded.
2> Generate serializer for: MyObjectBuilder_UpgradeModuleDefinition
2> Generate serializer for: MyObjectBuilder_DemoComponentDefinition
.....
2> Generate serializer for: MyObjectBuilder_WeaponBlockDefinition
2> Generate serializer for: MyObjectBuilder_WelderDefinition
2> [18,017ms] Types collected.
2> [1908,9268ms] Dependencies solved.
2>
2> Unbehandelte Ausnahme: OutOfMemoryException.
2>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(4714,5): error MSB3073: The command ""D:\ProjectsLocal\SpaceEngineers-master\Sources\SpaceEngineers.ObjectBuilders....\Build\Tools\SGenAutoResolve\SGenAutoResolve_x64.exe" /a:"D:\ProjectsLocal\SpaceEngineers-master\Sources\SpaceEngineers.ObjectBuilders\bin\x64\Debug\SpaceEngineers.ObjectBuilders.dll" /d:"D:\ProjectsLocal\SpaceEngineers-master\Sources\SpaceEngineers.ObjectBuilders\bin\x64\Debug\VRage.Game.dll" /b /v" exited with code -532462766.

@Krienas
Copy link

Krienas commented Feb 14, 2017

hope they will update these files, as currently they are the only real show stopper to build solution.

@spacebuilder2020
Copy link

I am also getting this error when trying to build.

@Equinox-
Copy link

If you are getting this error you may be able to use SGen without conflict resolution. (https://msdn.microsoft.com/en-us/library/bk3w6240(v=vs.110).aspx)
Doing this, and correcting a few type name conflicts manually using the System.Xml.Serialization.XmlType annotation I was able to get the engine running correctly (more or less)

@Pitj3
Copy link

Pitj3 commented May 16, 2017

@Equinox- what exactly did you do? I still can't compile

@Equinox-
Copy link

I modified the project files outside of VS, removed the original post build hook, inserted a custom snippet to list types tagged with an attribute, then passed that into the SGen task supported by MSBuild. You can look at my fork to get an idea.

@Rseding91
Copy link

This is still a problem... both x86 and x64 crash with this error when trying to compile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants