{"action":"created","issue":{"url":"https://api.github.com/repos/proletariatgames/unreal.hx/issues/87","repository_url":"https://api.github.com/repos/proletariatgames/unreal.hx","labels_url":"https://api.github.com/repos/proletariatgames/unreal.hx/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/proletariatgames/unreal.hx/issues/87/comments","events_url":"https://api.github.com/repos/proletariatgames/unreal.hx/issues/87/events","html_url":"https://github.com/proletariatgames/unreal.hx/issues/87","id":318199766,"number":87,"title":"[4.19] MacOS Compile on Editor fails","user":{"login":"gilmarsquinelato","id":4096165,"avatar_url":"https://avatars0.githubusercontent.com/u/4096165?v=4","gravatar_id":"","url":"https://api.github.com/users/gilmarsquinelato","html_url":"https://github.com/gilmarsquinelato","followers_url":"https://api.github.com/users/gilmarsquinelato/followers","following_url":"https://api.github.com/users/gilmarsquinelato/following{/other_user}","gists_url":"https://api.github.com/users/gilmarsquinelato/gists{/gist_id}","starred_url":"https://api.github.com/users/gilmarsquinelato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilmarsquinelato/subscriptions","organizations_url":"https://api.github.com/users/gilmarsquinelato/orgs","repos_url":"https://api.github.com/users/gilmarsquinelato/repos","events_url":"https://api.github.com/users/gilmarsquinelato/events{/privacy}","received_events_url":"https://api.github.com/users/gilmarsquinelato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-26T21:16:41Z","updated_at":"2018-04-26T23:59:49Z","closed_at":null,"author_association":"NONE","body":"When I try to compile the source on Editor it's causing an error.\r\nInvestigating I found that the error is occurring on BuildApi.Build.cs, when it calls the haxe command.\r\nWhen the code calls the haxe command, it's calling from mono, and mono doesn't recognize the bin path to call.\r\n\r\nERROR: Unable to instantiate module 'MyProject': System.ComponentModel.Win32Exception: ApplicationName='haxe', CommandLine='--cwd \"/Users/gilmar/Documents/Unreal Projects/MyProject/Plugins/UnrealHx/Haxe/BuildTool\" compile-project.hxml -D \"EngineDir=/Users/Shared/Epic Games/UE_4.19/Engine\" -D \"ProjectDir=/Users/gilmar/Documents/Unreal Projects/MyProject\" -D \"TargetName=MyProjectEditor\" -D \"TargetPlatform=Mac\" -D \"TargetConfiguration=Development\" -D \"TargetType=Editor\" -D \"ProjectFile=/Users/gilmar/Documents/Unreal Projects/MyProject/MyProject.uproject\" -D \"PluginDir=/Users/gilmar/Documents/Unreal Projects/MyProject/Plugins/UnrealHx\" -D UE_BUILD_CS', CurrentDirectory='', Native error= Cannot find the specified file\r\n         at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0\r\n         at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0\r\n         at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0\r\n         at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()\r\n         at HaxeModuleRules.callHaxe (UnrealBuildTool.ModuleRules rules, HaxeCompilationInfo info, HaxeConfigOptions options) [0x00000] in <filename unknown>:0\r\n         at HaxeModuleRules.setupHaxeTarget (UnrealBuildTool.ModuleRules rules, Boolean forceHaxeCompilation, HaxeConfigOptions options) [0x00000] in <filename unknown>:0\r\n         at HaxeModuleRules.run () [0x00000] in <filename unknown>:0\r\n         at BaseModuleRules..ctor (UnrealBuildTool.ReadOnlyTargetRules target) [0x00000] in <filename unknown>:0\r\n         at HaxeModuleRules..ctor (UnrealBuildTool.ReadOnlyTargetRules target) [0x00000] in <filename unknown>:0\r\n         at MyProject..ctor (UnrealBuildTool.ReadOnlyTargetRules Target) [0x00000] in <filename unknown>:0\r\n         at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)\r\n         at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0\r\n       (referenced via MyProject.Target.cs)\r\n"},"comment":{"url":"https://api.github.com/repos/proletariatgames/unreal.hx/issues/comments/384823524","html_url":"https://github.com/proletariatgames/unreal.hx/issues/87#issuecomment-384823524","issue_url":"https://api.github.com/repos/proletariatgames/unreal.hx/issues/87","id":384823524,"user":{"login":"waneck","id":178171,"avatar_url":"https://avatars1.githubusercontent.com/u/178171?v=4","gravatar_id":"","url":"https://api.github.com/users/waneck","html_url":"https://github.com/waneck","followers_url":"https://api.github.com/users/waneck/followers","following_url":"https://api.github.com/users/waneck/following{/other_user}","gists_url":"https://api.github.com/users/waneck/gists{/gist_id}","starred_url":"https://api.github.com/users/waneck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waneck/subscriptions","organizations_url":"https://api.github.com/users/waneck/orgs","repos_url":"https://api.github.com/users/waneck/repos","events_url":"https://api.github.com/users/waneck/events{/privacy}","received_events_url":"https://api.github.com/users/waneck/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T23:59:49Z","updated_at":"2018-04-26T23:59:49Z","author_association":"CONTRIBUTOR","body":"Oh it seems that this only works for shells, not for GUI applications: https://emacs.stackexchange.com/questions/18017/why-exec-path-doesnt-contain-usr-local-bin-while-etc-paths-already-contains-i . It seems some launchd config is needed. I found this https://apple.stackexchange.com/questions/51677/how-to-set-path-for-finder-launched-applications that may help you"}}
{"actor":{"display_login":"waneck"}}