Failing to build on OSX

Answered

Comments

7 comments

  • Core Tech

    What exactly were you trying to do here... Run Windows / Mac (which Target)???

    Any chance you could give us the full output of the output window console log?

     

    Russell

    0
    Comment actions Permalink
  • James Eaton

    Morning Russell,

    Here you are: copied and pasted in for speed!

     

    "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2-Beta/Cache/runtimes/runtime-23.1.1.22/bin/Igor.exe -j=8 -options="/var/folders/1z/knwbvcld41b1v6193ryrdswc0000gn/GameMakerStudio2-Beta/GMS2TEMP/build.bff" -v -bp2 -- Mac Run

    Loaded Macros from /Users/james/.config/GameMakerStudio2-Beta/Cache/GMS2CACHE/test_D64161E9/macros.json
    Options: /Users/Shared/GameMakerStudio2-Beta/Cache/runtimes/runtime-23.1.1.22/bin/platform_setting_defaults.json
    Options: /Users/james/.config/GameMakerStudio2-Beta/jimmyeaton_1227016/local_settings.json
    Failed to load Options from /Users/james/.config/GameMakerStudio2-Beta/jimmyeaton_1227016/local_settings.json
    Options: /Users/james/.config/GameMakerStudio2-Beta/Cache/GMS2CACHE/test_D64161E9/targetoptions.json
    /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono /Users/Shared/GameMakerStudio2-Beta/Cache/runtimes/runtime-23.1.1.22/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="test" /td="/var/folders/1z/knwbvcld41b1v6193ryrdswc0000gn/GameMakerStudio2-Beta/GMS2TEMP" /cd="/Users/james/.config/GameMakerStudio2-Beta/Cache/GMS2CACHE/test_D64161E9" /zpuf="/Users/james/.config/GameMakerStudio2-Beta/jimmyeaton_1227016" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2-Beta/Cache/runtimes/runtime-23.1.1.22/interpreted/" /nodnd /cfg="Default" /o="/var/folders/1z/knwbvcld41b1v6193ryrdswc0000gn/GameMakerStudio2-Beta/GMS2TEMP/test_3ED51BBA_VM" /sh=True /optionsini="/var/folders/1z/knwbvcld41b1v6193ryrdswc0000gn/GameMakerStudio2-Beta/GMS2TEMP/test_3ED51BBA_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2-Beta/Cache/runtimes/runtime-23.1.1.22/BaseProject/BaseProject.yyp" "/Users/james/GameMakerStudio2/test/test.yyp" /preprocess="/Users/james/.config/GameMakerStu
    dio2-Beta/Cache/GMS2CACHE/test_D64161E9"
    Found Project Format 2
    Do not recognise this to load: {
    "resources": [
    {"id":{"name":"Room1","path":"rooms/Room1/Room1.yy",},"order":0,},
    ],
    "isDnDProject": false,
    "isEcma": false,
    "tutorialPath": "",
    "configs": {
    "name": "Default",
    "children": [],
    },
    "options": [
    {"name":"Amazon Fire","path":"options/amazonfire/options_amazonfire.yy",},
    {"name":"Android","path":"options/android/options_android.yy",},
    {"name":"HTML5","path":"options/html5/options_html5.yy",},
    {"name":"iOS","path":"options/ios/options_ios.yy",},
    {"name":"Linux","path":"options/linux/options_linux.yy",},
    {"name":"macOS","path":"options/mac/options_mac.yy",},
    {"name":"Main","path":"options/main/options_main.yy",},
    {"name":"PlayStation 4","path":"options/ps4/options_ps4.yy",},
    {"name":"Switch","path":"options/switch/options_switch.yy",},
    {"name":"tvOS","path":"options/tvos/options_tvos.yy",},
    {"name":"Windows","path":"options/windows/options_windows.yy",},
    {"name":"Windows UWP","path":"options/windowsuap/options_windowsuap.yy",},
    {"name":"Xbox One","path":"options/xboxone/options_xboxone.yy",},
    ],
    "RoomOrder": [
    {"name":"Room1","path":"rooms/Room1/Room1.yy",},
    ],
    "Folders": [
    {"folderPath":"folders/Sprites.yy","order":1,"resourceType":"GMFolder","name":"Sprites","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Tile Sets.yy","order":2,"resourceType":"GMFolder","name":"Tile Sets","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Sounds.yy","order":3,"resourceType":"GMFolder","name":"Sounds","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Paths.yy","order":4,"resourceType":"GMFolder","name":"Paths","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Scripts.yy","order":5,"resourceType":"GMFolder","name":"Scripts","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Shaders.yy","order":6,"resourceType":"GMFolder","name":"Shaders","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Fonts.yy","order":7,"resourceType":"GMFolder","name":"Fonts","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Timelines.yy","order":8,"resourceType":"GMFolder","name":"Timelines","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Objects.yy","order":9,"resourceType":"GMFolder","name":"Objects","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Rooms.yy","order":10,"resourceType":"GMFolder","name":"Rooms","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Sequences.yy","order":11,"resourceType":"GMFolder","name":"Sequences","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Animation Curves.yy","order":12,"resourceType":"GMFolder","name":"Animation Curves","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Notes.yy","order":13,"resourceType":"GMFolder","name":"Notes","tags":[],"resourceVersion":"1.0",},
    {"folderPath":"folders/Extensions.yy","order":14,"resourceType":"GMFolder","name":"Extensions","tags":[],"resourceVersion":"1.0",},
    ],
    "AudioGroups": [
    {"targets":461609314234257646,"resourceType":"GMAudioGroup","name":"audiogroup_default","resourceVersion":"1.0",},
    ],
    "TextureGroups": [
    {"isScaled":true,"autocrop":true,"border":2,"mipsToGenerate":0,"targets":461609314234257646,"resourceType":"GMTextureGroup","name":"Default","resourceVersion":"1.0",},
    ],
    "IncludedFiles": [],
    "MetaData": {
    "IDEVersion": "23.1.1.115",
    },
    "resourceType": "GMProject",
    "name": "test",
    "tags": [],
    "resourceVersion": "1.3",
    }Object reference not set to an instance of an object at YoYoStudio.Resources.IdReference..ctor (System.String name, System.String path) [0x00006] in <65a1dcb55be244a585b1b9268620fe9d>:0
    at (wrapper dynamic-method) YoYoStudio.Resources.IdReference.Void .ctor(System.String, System.String)(object[])
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.Serialization.ObjectConstructor`1[T] creator, System.String id) [0x00340] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract objectContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id, System.Boolean& createdFromNonDefaultCreator) [0x00026] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00148] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (System.Collections.IList list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00173] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x001c4] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00069] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00266] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate (Newtonsoft.Json.JsonReader reader, System.Object target) [0x00136] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonSerializer.PopulateInternal (Newtonsoft.Json.JsonReader reader, System.Object target) [0x00051] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonSerializer.Populate (Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonConvert.PopulateObject (System.String value, System.Object target, Newtonsoft.Json.JsonSerializerSettings settings) [0x00013] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonConvert.PopulateObject (System.String value, System.Object target) [0x00000] in <836484b0267d488c8d30f28b57efebd9>:0
    at YoYoStudio.Resources.GMProject.Upgrade (System.Collections.Generic.Dictionary`2[TKey,TValue] _jsonDict) [0x00033] in <65a1dcb55be244a585b1b9268620fe9d>:0
    at YoYoStudio.Resources.ProjectConverter.ReadJson (Newtonsoft.Json.JsonReader _reader, System.Type _objectType, System.Object _existingValue, Newtonsoft.Json.JsonSerializer _serializer) [0x0005f] in <65a1dcb55be244a585b1b9268620fe9d>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00055] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <836484b0267d488c8d30f28b57efebd9>:0
    at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <836484b0267d488c8d30f28b57efebd9>:0
    at YoYoStudio.Resources.ResourceBase.Deserialise[T] (System.String _path) [0x0003a] in <65a1dcb55be244a585b1b9268620fe9d>:0
    -----------------------------------------------------------------------------
    System.NullReferenceException: Object reference not set to an instance of an object
    at YoYoStudio.Resources.ProjectInfo.LoadProject (System.String _path, System.Boolean _setActive, YoYoStudio.Resources.ResourceBase+OnLoadSaveSuccess _onSuccess, YoYoStudio.Resources.ResourceBase+OnLoadSaveUpdate _onUpdate, YoYoStudio.Resources.ResourceBase+OnLoadSaveFailed _onFailed) [0x00044] in <65a1dcb55be244a585b1b9268620fe9d>:0
    at GMAssetCompiler.Loader. (System.String ) [0x0015e] in <b78b6ab7b8d040c1a6e3754a7822f478>:0
    at GMAssetCompiler.Loader. (System.String ) [0x0026b] in <b78b6ab7b8d040c1a6e3754a7822f478>:0
    at GMAssetCompiler.Program. (System.Collections.Generic.List`1[T] ) [0x000a0] in <b78b6ab7b8d040c1a6e3754a7822f478>:0
    at GMAssetCompiler.Program. (System.String[] ) [0x002bd] in <b78b6ab7b8d040c1a6e3754a7822f478>:0
    -----------------------------------------------------------------------------
    EXCEPTION FILE - /var/folders/1z/knwbvcld41b1v6193ryrdswc0000gn/T/3812c918809e48cb9806d693f0e19067.yyg.saencryptedreport
    -----------------------------------------------------------------------------
    WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all


    /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono exited with non-zero status (82)

    elapsed time 00:00:01.0179560s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2-Beta/Cache/runtimes/runtime-23.1.1.22/bin/Igor.exe -j=8 -options="/var/folders/1z/knwbvcld41b1v6193ryrdswc0000gn/GameMakerStudio2-Beta/GMS2TEMP/build.bff" -v -bp2 -- Mac Run started at 02/18/2020 10:48:25
    FAILED: Run Program Complete
    For the details of why this build failed, please review the whole log above and also see your Compile Errors window.

    0
    Comment actions Permalink
  • James Eaton

    And all I am simply doing is targeting a MacOS build in VM

    0
    Comment actions Permalink
  • Core Tech

    That looks like you have not created the project in a version of the IDE that the runtime was built for - if you are loading a project from an earlier Beta then you will have to ensure that it has been resaved properly before compiling (in extreme cases you may need to remake the project)

    Russell

    0
    Comment actions Permalink
  • James Eaton

    Hi Russell,

    I simply downloaded the beta from my downloads page, hit install, then ran an empty project - I guess it defaulted the latest available runtime?

    Which runtime should I use here instead?

    J

    0
    Comment actions Permalink
  • Richard McLoughlin

    Might not be related, but did you see Issue #1 from the Known Issues list with regards to the Mac IDE?

    https://help.yoyogames.com/hc/en-us/community/posts/360008799838-Closed-Beta-v3-Release-Notes

    1) The Mac IDE doesn't have the correct runtime feed, and you will need to add this in Preferences > Runtime Feeds in order to get the correct runtimes version. Add an entry for https://gms.yoyogames.com/Zeus-Runtime-NuBeta.rss and then you will be able to switch to the new tab to view this feed and get your runtimes straight away.

    1
    Comment actions Permalink
  • YoYo QA Dept

    Definitely related to the above ;)  (Thanks!)

    Guessing that, as there hasn't been a follow-up, that resolved the issue. That feed problem is now fixed for the new CB4 release, so you don't have to worry about doing that again now.

    0
    Comment actions Permalink

Please sign in to leave a comment.