Compile Macos App As Lib

The writing of a full-featured GUI app for macOS is not covered. The article could also be used by professionals who’ve already been doing professional C on, say, a corporate Linux system. This page describes how to compile the latest FreeCAD source on macOS X. Latest means the most recent commit to the master branch of the FreeCAD github repository. These instructions have been tested on macOS High Sierra This page serves as a quick start, and is not intended to be comprehensive with regard to describing all the available build options.

  1. Compile Macos App As Liberal
  2. Compile Macos App As Library
  3. Compile Macos App As Liberty
You caught us doing some quick maintenance, temporarily restricting your repository to read-only access.

Hi,

I've followed the instructions for getting C#6 to compile in Unity 5 but getting compile errors related to imports being defined multiple times.

I'm running MacOS 10.12 beta and Unity 5.4.0f3 using CSharp60Support 1.8

. Free employee monitoring software mac

See below for the editor.log output:

Compile macos app as library

-----Compiler Commandline Arguments:Filename: /Applications/Unity/Unity.app/Contents/Mono/bin/monoArguments: '/Users/foo/dev/Unity/TestCSharp6/CSharp60Support/CSharpCompilerWrapper.exe' @Temp/UnityTempFile-2b5289873182640b1aac40abf453a975MONO_PATH: /Applications/Unity/Unity.app/Contents/Mono/lib/mono/unityMONO_CFG_DIR: /Applications/Unity/Unity.app/Contents/Mono/etcindex: 79Responsefile: Temp/UnityTempFile-2b5289873182640b1aac40abf453a975 Contents: -debug-target:library-nowarn:0169-out:'Temp/Assembly-CSharp.dll'-r:'/Applications/Unity/Unity.app/Contents/Managed/UnityEngine.dll'-r:'/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll'-r:'/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll'-r:'/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll'-r:'Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll'-r:'Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll'-r:'/Applications/Unity/Unity.app/Contents/Managed/UnityEditor.dll'-define:UNITY_5_3_OR_NEWER-define:UNITY_5_4_OR_NEWER-define:UNITY_5_4_0-define:UNITY_5_4-define:UNITY_5-define:UNITY_64-define:UNITY_ANALYTICS-define:ENABLE_NEW_BUGREPORTER-define:ENABLE_AUDIO-define:ENABLE_CACHING-define:ENABLE_CLOTH-define:ENABLE_DUCK_TYPING-define:ENABLE_EDITOR_RETINA-define:ENABLE_RETINA_GUISTYLES-define:ENABLE_FRAME_DEBUGGER-define:ENABLE_GENERICS-define:ENABLE_HOME_SCREEN-define:ENABLE_IMAGEEFFECTS-define:ENABLE_LIGHT_PROBES_LEGACY-define:ENABLE_MICROPHONE-define:ENABLE_MULTIPLE_DISPLAYS-define:ENABLE_PHYSICS-define:ENABLE_PLUGIN_INSPECTOR-define:ENABLE_SHADOWS-define:ENABLE_SPRITERENDERER_FLIPPING-define:ENABLE_SPRITES-define:ENABLE_SPRITE_POLYGON-define:ENABLE_TERRAIN-define:ENABLE_RAKNET-define:ENABLE_UNET-define:ENABLE_UNITYEVENTS-define:ENABLE_VR-define:ENABLE_WEBCAM-define:ENABLE_WWW-define:ENABLE_CLOUD_SERVICES-define:ENABLE_CLOUD_SERVICES_COLLAB-define:ENABLE_CLOUD_SERVICES_ADS-define:ENABLE_CLOUD_HUB-define:ENABLE_CLOUD_PROJECT_ID-define:ENABLE_CLOUD_SERVICES_CRASH_REPORTING-define:ENABLE_CLOUD_SERVICES_PURCHASING-define:ENABLE_CLOUD_SERVICES_ANALYTICS-define:ENABLE_CLOUD_SERVICES_UNET-define:ENABLE_CLOUD_SERVICES_BUILD-define:ENABLE_CLOUD_LICENSE-define:ENABLE_EDITOR_METRICS-define:ENABLE_EDITOR_METRICS_CACHING-define:INCLUDE_DYNAMIC_GI-define:INCLUDE_GI-define:INCLUDE_IL2CPP-define:INCLUDE_DIRECTX12-define:PLATFORM_SUPPORTS_MONO-define:RENDER_SOFTWARE_CURSOR-define:INCLUDE_PUBNUB-define:ENABLE_LOCALIZATION-define:ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION-define:ENABLE_EDITOR_TESTS_RUNNER-define:UNITY_STANDALONE_OSX-define:UNITY_STANDALONE-define:ENABLE_SUBSTANCE-define:ENABLE_GAMECENTER-define:ENABLE_TEXTUREID_MAP-define:ENABLE_RUNTIME_GI-define:ENABLE_MOVIES-define:ENABLE_NETWORK-define:ENABLE_CRUNCH_TEXTURE_COMPRESSION-define:ENABLE_UNITYWEBREQUEST-define:ENABLE_CLUSTERINPUT-define:ENABLE_WEBSOCKET_HOST-define:ENABLE_MONO-define:ENABLE_PROFILER-define:DEBUG-define:TRACE-define:UNITY_ASSERTIONS-define:UNITY_EDITOR-define:UNITY_EDITOR_64-define:UNITY_EDITOR_OSX-define:UNITY_TEAM_LICENSE'Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs'Assets/CSharp 6.0 Support/AsyncTools/UnityScheduler.cs'Assets/CSharp 6.0 Support/AsyncTools/UnitySynchronizationContext.cs'Assets/CSharp 6.0 Support/AsyncTools/UnityTaskScheduler.cs'Assets/CSharp 6.0 Support/FormattableString/FormattableString.cs'Assets/CSharp 6.0 Support/FormattableString/FormattableStringFactory.cs'-r:'/Applications/Unity/Unity.app/Contents/Mono/lib/mono/unity/System.Runtime.Serialization.dll'-r:'/Applications/Unity/Unity.app/Contents/Mono/lib/mono/unity/System.Xml.Linq.dll'

Compile Macos App As Liberal

-----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dllCompilation failed: 9 error(s), 7 warnings-----CompilerOutput:-stderr----------warning CS8001: SDK path could not be resolvedwarning CS1685: The predefined type System.Runtime.CompilerServices.AsyncStateMachineAttribute' is defined multiple times. Using definition frommscorlib.dll'/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous warning)warning CS1685: The predefined type System.Runtime.CompilerServices.CallerMemberNameAttribute' is defined multiple times. Using definition frommscorlib.dll'/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous warning)warning CS1685: The predefined type System.Runtime.CompilerServices.CallerLineNumberAttribute' is defined multiple times. Using definition frommscorlib.dll'/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous warning)warning CS1685: The predefined type System.Runtime.CompilerServices.CallerFilePathAttribute' is defined multiple times. Using definition frommscorlib.dll'/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous warning)warning CS1685: The predefined type System.Threading.Tasks.Task' is defined multiple times. Using definition frommscorlib.dll'/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous warning)warning CS1685: The predefined type System.Threading.Tasks.Task' is defined multiple times. Using definition frommscorlib.dll'/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous warning)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous warning)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(151,34): error CS0433: The imported type System.Runtime.CompilerServices.INotifyCompletion' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/UnityTaskScheduler.cs(7,35): error CS0433: The imported typeSystem.Threading.Tasks.TaskScheduler' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(67,16): error CS0433: The imported type System.Threading.Tasks.Task<TResult>' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(67,66): error CS0433: The imported typeSystem.Threading.CancellationToken' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(84,16): error CS0433: The imported type System.Threading.Tasks.Task<TResult>' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(132,16): error CS0433: The imported typeSystem.Runtime.CompilerServices.TaskAwaiter' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(132,56): error CS0433: The imported type System.Threading.Tasks.Task' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/AsyncTools.cs(137,16): error CS0433: The imported typeSystem.Runtime.CompilerServices.TaskAwaiter<TResult>' is defined multiple times/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/mscorlib.dll (Location of the symbol related to previous error)/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/AsyncBridge.Net35.dll (Location of the symbol related to previous error)Assets/CSharp 6.0 Support/AsyncTools/UnitySynchronizationContext.cs(8,19): error CS0433: The imported type `System.Collections.Concurrent.BlockingCollection<T>' is defined multiple times/Users/foo/dev/Unity/TestCSharp6/Assets/CSharp 6.0 Support/AsyncTools/Plugins/System.Threading.dll (Location of the symbol related to previous error)/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/lib/mono/4.5/System.dll (Location of the symbol related to previous error)-----EndCompilerOutput---------------

Compile Macos App As Library

Compile Macos App As Liberty

Comments (8)