1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Compile errors...

Discussion in 'Source Code' started by Rabir, Sep 18, 2016.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Rabir

    Rabir Trainee Engineer

    Messages:
    72
    I tried to compile the source, but always get this errors:

    Code:
    Severity	Code	Description	Project	File	Line	Source	Suppression State
    Error	CS1061	'HkdBreakableShape' does not contain a definition for 'NativeDebug' and no extension method 'NativeDebug' accepting a first argument of type 'HkdBreakableShape' could be found (are you missing a using directive or an assembly reference?)	Sandbox.Game	C:\Users\Riba Dániel\Documents\Visual Studio 2015\Projects\Space Engineers\Sources\Sandbox.Game\Engine\Physics\MyBreakableShapeManager.cs	205	IntelliSense	Active
    
    
    Severity	Code	Description	Project	File	Line	Source	Suppression State
    Error	CS1061	'HkdBreakableShape' does not contain a definition for 'NativeDebug' and no extension method 'NativeDebug' accepting a first argument of type 'HkdBreakableShape' could be found (are you missing a using directive or an assembly reference?)	Sandbox.Game	C:\Users\Riba Dániel\Documents\Visual Studio 2015\Projects\Space Engineers\Sources\Sandbox.Game\Engine\Physics\MyBreakableShapeManager.cs	211	IntelliSense	Active
    
    
    Severity	Code	Description	Project	File	Line	Source	Suppression State
    Error	CS0200	Property or indexer 'HkWorld.Gravity' cannot be assigned to -- it is read only	Sandbox.Game	C:\Users\Riba Dániel\Documents\Visual Studio 2015\Projects\Space Engineers\Sources\Sandbox.Game\Engine\Physics\MyPhysics.cs	1549	IntelliSense	Active
    
    
    Severity	Code	Description	Project	File	Line	Source	Suppression State
    Error	CS1061	'HkdShapeInstanceInfo' does not contain a definition for 'IsReferenceValid' and no extension method 'IsReferenceValid' accepting a first argument of type 'HkdShapeInstanceInfo' could be found (are you missing a using directive or an assembly reference?)	Sandbox.Game	C:\Users\Riba Dániel\Documents\Visual Studio 2015\Projects\Space Engineers\Sources\Sandbox.Game\Game\Entities\Cube\MyGridShape.cs	183	IntelliSense	Active
    
    
    Severity	Code	Description	Project	File	Line	Source	Suppression State
    Error	CS1061	'HkWorld' does not contain a definition for 'GetFixedBody' and no extension method 'GetFixedBody' accepting a first argument of type 'HkWorld' could be found (are you missing a using directive or an assembly reference?)	Sandbox.Game	C:\Users\Riba Dániel\Documents\Visual Studio 2015\Projects\Space Engineers\Sources\Sandbox.Game\Game\Entities\Cube\MyGridShape.cs	626	IntelliSense	Active
    
    Any suggestions? I tried some workarounds, but failed...
     
  2. PoeticInjustice

    PoeticInjustice Trainee Engineer

    Messages:
    10
    Check your output window for warnings about missing references, or, expand the References subtree of each project in Solution Explorer, and then look for any references with a yellow exclamation mark.
    I just got a successful compile a few days ago, and encountered those same errors myself.
    You'll have to repeat the process for several of the projects.

    I unfortunately did not keep detailed notes on exactly which changes I needed to make.

    One thing I was unable to do was find x86 (32 bit) versions of all referenced assemblies, one or two were flat out missing, so I built x64 instead, pulling the missing references from Space Engineers' install directory.
     
  3. Rabir

    Rabir Trainee Engineer

    Messages:
    72
    I did, there was a full method that could be commented out (nothing called it) I also commented out the other error sources...
    However when I started to run my modified EXE, it crashed instantly...
     
Thread Status:
This last post in this thread was made more than 31 days old.