umautobots / GTAVisionExport

Code to export full segmentations from GTA
MIT License
126 stars 42 forks source link

Managed plugin could not be loaded #42

Closed littlepiper closed 5 years ago

littlepiper commented 5 years ago

I sucesfully got native plugin working and compiled all 3 projects in the managed plugin solution, and copied the compiled files into my GTA V dir/scripts. But when running the game and pressing L, the native plugin takes the screenshot and creates .raw files, but managed plugin can't creates a .tiff file. In addition, I can't turn the plugin on by pressing "Page Up" This is output of ScriptHookVDotNet2.log like this : [19:23:23] [DEBUG] Created script domain 'ScriptDomain_50846D2E' with v2.10.9. [19:23:23] [DEBUG] Loading scripts from'D ':\GTA5\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_50846D2E'... [19:23:23] [ERROR] Failed to compile 'GdalConfiguration. Vb 'with 14 ERROR (s): At the line 35: The namespace or type specified in Imports "OSGeo.GDAL. GDAL" does not contain any common members, or cannot be found. Make sure that the namespace or type is defined and that it contains at least one common member; Also make sure that the imported element names are not aliased. At the line of 36: The namespace or type specified in the Imports "OSGeo.OGR. OGR" does not contain any common members, or cannot be found. Make sure that the namespace or type is defined and that it contains at least one common member; Also make sure that the imported element names are not aliased. At line 90: "Gdal" is not declared. It may be inaccessible due to its level of protection. At line 116: "Ogr" is not declared. It may be inaccessible due to its level of protection. [19:23:24] [DEBUG] Successfully generated 'gameutils. cs'. [19:23:24] [DEBUG] Found 0 script(s) in 'gameutils. cs'. [19:23:24] [DEBUG] Successfully produced 'stereocamera. cs'. [19:23:24] [DEBUG] Found 0 script(s) in 'stereocamera. cs'. [19:23:24] [ERROR] Failed to compile 'VisionExport. Cs' with 23 ERROR (s): At line 13: Could not find the type or namespace name "YamlDotNet" (is a using instruction or assembly reference missing?). At the line 15: Failed to find the type or namespace name "BitMiracle" (is there a lack of using instructions or assembly references?). At the line 17: The using directive for "system.drawing.Imaging" has been shown before in this namespace At the line 18: Could not find the type or namespace name "Amazon" (is a using instruction or assembly reference missing?).