Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os-x64/moc does not work on mac os #174

Closed
JoeCoderJC opened this issue Aug 7, 2019 · 4 comments
Closed

os-x64/moc does not work on mac os #174

JoeCoderJC opened this issue Aug 7, 2019 · 4 comments
Labels
stale stale not updated issue & pr

Comments

@JoeCoderJC
Copy link

No description provided.

@JoeCoderJC
Copy link
Author

Project Compilation Start:/Users/mirabo_computer/Documents/UnityWorkspace/ProjectUnity/MagicOnionOculus/MagicOnionOculus.Client/Assets/../../Server/MagicOnionOculus.Server.csproj
Fail in batch running on Program.Run
System.AggregateException: One or more errors occurred. (One or more errors occurred. (No such file or directory)) (No such file or directory) ---> System.ComponentModel.Win32Exception: No such file or directory
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Buildalyzer.Environment.ProcessRunner.Start()
at Buildalyzer.Environment.DotnetPathResolver.GetInfo(String projectPath, String dotnetExePath)
at Buildalyzer.Environment.DotnetPathResolver.ResolvePath(String projectPath, String dotnetExePath)
at Buildalyzer.Environment.EnvironmentFactory.CreateCoreEnvironment(EnvironmentOptions options)
at Buildalyzer.Environment.EnvironmentFactory.GetBuildEnvironment(String targetFramework, EnvironmentOptions options)
at Buildalyzer.ProjectAnalyzer.Build(String targetFramework, EnvironmentOptions environmentOptions)
at MagicOnion.RoslynExtensions.<>c__DisplayClass3_0.b__0(ProjectAnalyzer p) in /root/project/src/MagicOnion.UniversalCodeGenerator/Utils/RoslynExtensions.cs:line 83
at System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index) at System.Linq.Parallel.QueryResults1.get_Item(Int32 index)
at System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey) at System.Linq.Parallel.WhereQueryOperator1.WhereQueryOperatorEnumerator1.MoveNext(TInputOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.StopAndGoSpoolingTask2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of inner exception stack trace ---
at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
at System.Linq.Parallel.SpoolingTask.SpoolStopAndGo[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream2 partitions, SynchronousChannel1[] channels, TaskScheduler taskScheduler)
at System.Linq.Parallel.MergeExecutor1.Execute() at System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId) at System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream2 partitionedStream) at System.Linq.Parallel.WhereQueryOperator1.WrapPartitionedStream[TKey](PartitionedStream2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings)
at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream)
at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
at System.Linq.Parallel.UnaryQueryOperator2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
at System.Linq.Parallel.QueryOperator1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
at System.Linq.Parallel.QueryOpeningEnumerator1.OpenQuery() at System.Linq.Parallel.QueryOpeningEnumerator1.MoveNext()
at System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery1 source) at MagicOnion.RoslynExtensions.GetWorkspace(AnalyzerManager manager, EnvironmentOptions envOptions) in /root/project/src/MagicOnion.UniversalCodeGenerator/Utils/RoslynExtensions.cs:line 81 at MagicOnion.RoslynExtensions.GetWorkspaceWithPreventBuildEvent(AnalyzerManager manager) in /root/project/src/MagicOnion.UniversalCodeGenerator/Utils/RoslynExtensions.cs:line 67 at MagicOnion.RoslynExtensions.GetCompilationFromProject(String csprojPath, String[] preprocessorSymbols) in /root/project/src/MagicOnion.UniversalCodeGenerator/Utils/RoslynExtensions.cs:line 26 at MagicOnion.CodeAnalysis.MethodCollector..ctor(String csProjPath, IEnumerable1 conditinalSymbols) in /root/project/src/MagicOnion.UniversalCodeGenerator/CodeAnalysis/MethodCollector.cs:line 64
at MagicOnion.CodeGenerator.Program.Run(String input, String output, Boolean unuseUnityAttr, String namespace, String[] conditionalSymbol) in /root/project/src/MagicOnion.UniversalCodeGenerator/Program.cs:line 40
---> (Inner Exception #0) System.ComponentModel.Win32Exception (2): No such file or directory
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Buildalyzer.Environment.ProcessRunner.Start()
at Buildalyzer.Environment.DotnetPathResolver.GetInfo(String projectPath, String dotnetExePath)
at Buildalyzer.Environment.DotnetPathResolver.ResolvePath(String projectPath, String dotnetExePath)
at Buildalyzer.Environment.EnvironmentFactory.CreateCoreEnvironment(EnvironmentOptions options)
at Buildalyzer.Environment.EnvironmentFactory.GetBuildEnvironment(String targetFramework, EnvironmentOptions options)
at Buildalyzer.ProjectAnalyzer.Build(String targetFramework, EnvironmentOptions environmentOptions)
at MagicOnion.RoslynExtensions.<>c__DisplayClass3_0.b__0(ProjectAnalyzer p) in /root/project/src/MagicOnion.UniversalCodeGenerator/Utils/RoslynExtensions.cs:line 83
at System.Linq.Parallel.SelectQueryOperator2.SelectQueryOperatorResults.GetElement(Int32 index) at System.Linq.Parallel.QueryResults1.get_Item(Int32 index)
at System.Linq.Parallel.PartitionedDataSource1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey) at System.Linq.Parallel.WhereQueryOperator1.WhereQueryOperatorEnumerator1.MoveNext(TInputOutput& currentElement, TKey& currentKey) at System.Linq.Parallel.StopAndGoSpoolingTask2.SpoolingWork()
at System.Linq.Parallel.SpoolingTaskBase.Work()
at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
at System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)<---

UnityEngine.Debug:Log(Object)
<>c__DisplayClass1_0:b__0(Object, EventArgs) (at Assets/Editor/MenuItems.cs:55)
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

@JoeCoderJC
Copy link
Author

please help me! thanks

@JoeCoderJC JoeCoderJC changed the title moc.exe does not work on mac os os-x64/moc does not work on mac os Aug 7, 2019
@neuecc
Copy link
Member

neuecc commented Aug 8, 2019

Sorry, this is the common my generators issue.
Maybe here info is useful.
MessagePack-CSharp/MessagePack-CSharp#355
MessagePack-CSharp/MessagePack-CSharp#386

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale stale not updated issue & pr label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale stale not updated issue & pr
Projects
None yet
Development

No branches or pull requests

2 participants