A bunch off topic... Are you running Mono on the Mac in 64 or 32 bit mode? I need to build BulletSim for the Mac and have been having problems compiling a 32 bit version on a 64 bit system. If 64 bit Mono is out, that would make building it much easier.
Can some of you Mac wizards help? On Thu, Oct 9, 2014 at 5:59 PM, Amit Goel <[email protected]> wrote: > On Mac Xamarin Studio installs mono as part of IDE install. So I assume > libgdiplus is bundled alongwith ? > > Ok So I updated the mono from their beta channel to 3.10.0.20 and now > the error goes away. :-( Did they just remove libgdiplus from stable 3.10.0 > and then added it back in 3.10.0.20 :-( > > Regards > > -- amit > > ------------------------------ > *From:* [email protected] [ > [email protected]] on behalf of Cinder Roxley [ > [email protected]] > *Sent:* Thursday, October 09, 2014 8:44 PM > *To:* [email protected] > *Subject:* Re: [Opensim-dev] Issues in Running OpenSim on Mac from Source > Build > > You’re missing libgdiplus. > > On Oct 9, 2014, at 6:38 PM, Amit Goel <[email protected]> wrote: > > Dear OpenSim Developers > > I tried compiling OpenSim from Source in a mac and it compiled but while > running ran into following errors : > > 20:30:14 - [OPENSIM MAIN]: configured log4net using default > OpenSim.exe.config > 20:30:14 - [OPENSIM MAIN]: System Locale is en-US > 20:30:14 - [OPENSIM MAIN]: Environment variable MONO_THREADS_PER_CPU is > unset > 20:30:14 - [OPENSIM MAIN]: Runtime gave us 8 min worker threads and 16 min > IOCP threads > 20:30:14 - [OPENSIM MAIN]: Runtime gave us 800 max worker threads and 32 > max IOCP threads > 20:30:14 - [OPENSIM MAIN]: Bumping up max IOCP threads to 1000 > 20:30:14 - [OPENSIM MAIN]: Threadpool set to 800 max worker threads and > 1000 max IOCP threads > 20:30:14 - [OPENSIM MAIN]: Environment is supported by OpenSimulator. > 20:30:14 - [CONFIG]: Reading configuration settings > 20:30:14 - [CONFIG]: Reading configuration file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/OpenSimDefaults.ini > 20:30:14 - [CONFIG]: Reading configuration file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/OpenSim.ini > 20:30:14 - [CONFIG]: Reading configuration file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/config-include/Standalone.ini > 20:30:14 - [CONFIG]: Reading configuration file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/config-include/StandaloneCommon.ini > 20:30:14 - [CONFIG]: Could not find include file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/config-include/FlotsamCache.ini > 20:30:14 - [CONFIG]: Reading configuration file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/config-include/storage/SQLiteStandalone.ini > 20:30:14 - [CONFIG]: Could not find include file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/config-include/FlotsamCache.ini > 20:30:14 - [CONFIG]: Loading environment variables for Config > 20:30:14 - [OPENSIM MAIN]: Using async_call_method SmartThreadPool > 20:30:14 - > ==================================================================== > 20:30:14 - ========================= STARTING OPENSIM > ========================= > 20:30:14 - > ==================================================================== > 20:30:14 - [LOCAL CONSOLE]: Persistent command line history is Enabled, up > to 100 lines from file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/OpenSimConsoleHistory.txt > 20:30:14 - [LOCAL CONSOLE]: Read 0 lines of command line history from file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/OpenSimConsoleHistory.txt > 20:30:14 - [SERVER BASE]: Starting in > /Users/amit/projects/GoelResearch-GitHub/opensim/bin > 20:30:14 - [SERVER BASE]: OpenSimulator version: OpenSim 0.8.1 Dev > c7a1189 > 20:30:14 - [SERVER BASE]: Operating system version: Unix 13.4.0.0, .NET > platform Unix, 32-bit > Console log level is ALL > 20:30:14 - [SERVER BASE]: Logging started to file > /Users/amit/projects/GoelResearch-GitHub/opensim/bin/OpenSim.log > 20:30:14 - [SQLITE REGION DB]: Sqlite - connecting: > URI=file:OpenSim.db,version=3,UseUTF16Encoding=True > 20:30:14 - [MIGRATIONS]: Creating migrations at version 1 > 20:30:14 - [MIGRATIONS]: Upgrading RegionStore to latest revision 30. > 20:30:14 - [MIGRATIONS]: NOTE - this may take a while, don't interrupt > this process! > 20:30:14 - [MIGRATIONS]: Creating RegionStore at version 1 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 2 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 3 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 4 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 5 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 6 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 9 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 10 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 11 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 12 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 13 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 14 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 15 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 16 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 17 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 18 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 19 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 20 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 21 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 22 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 23 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 24 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 25 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 26 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 27 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 28 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 29 > 20:30:14 - [MIGRATIONS]: Updating RegionStore to version 30 > 20:30:14 - [ESTATE DB]: Sqlite - connecting: > URI=file:OpenSim.db,version=3,UseUTF16Encoding=True > 20:30:14 - [MIGRATIONS]: Upgrading EstateStore to latest revision 9. > 20:30:14 - [MIGRATIONS]: NOTE - this may take a while, don't interrupt > this process! > 20:30:14 - [MIGRATIONS]: Creating EstateStore at version 6 > 20:30:14 - [MIGRATIONS]: Updating EstateStore to version 7 > 20:30:14 - [MIGRATIONS]: Updating EstateStore to version 8 > 20:30:14 - [MIGRATIONS]: Updating EstateStore to version 9 > 20:30:14 - [CLIENTSTACK]: Attempting to load > OpenSim.Region.ClientStack.LindenUDP.dll > 20:30:14 - [CLIENTSTACK]: Added IClientNetworkServer Interface > 20:30:14 - [REGION SERVER]: Starting HTTP server on port 9000 > 20:30:14 - [BASE HTTP SERVER]: Starting HTTP server on port 9000 > 20:30:14 - [WATCHDOG]: Started tracking thread > PollServiceWorkerThread0:9000, ID 25 > 20:30:14 - [WATCHDOG]: Started tracking thread > PollServiceWorkerThread1:9000, ID 26 > 20:30:14 - [WATCHDOG]: Started tracking thread > PollServiceWorkerThread2:9000, ID 27 > 20:30:14 - [WATCHDOG]: Started tracking thread > LongPollServiceWatcherThread:9000, ID 28 > 20:30:14 - [SERVER STATS]: Not including stats for network interface 'lo0' > of type 'Loopback'. > 20:30:14 - [SERVER STATS]: To include, add to comma separated list in > [Monitoring]NetworkInterfaceTypes=Ethernet > 20:30:14 - [SERVER STATS]: Not including stats for network interface 'fw0' > of type 'Unknown'. > 20:30:14 - [SERVER STATS]: To include, add to comma separated list in > [Monitoring]NetworkInterfaceTypes=Ethernet > 20:30:14 - [SERVER STATS]: Not including stats for network interface > 'utun0' of type 'Unknown'. > 20:30:14 - [SERVER STATS]: To include, add to comma separated list in > [Monitoring]NetworkInterfaceTypes=Ethernet > 20:30:14 - [PLUGINS]: Initializing addin manager > 20:30:15 - [PLUGINS]: Loading extension point /OpenSim/Startup > 20:30:15 - [PLUGINS]: Trying plugin /OpenSim/Startup/RemoteController > 20:30:15 - [PLUGINS]: Plugin Loaded: > OpenSim.ApplicationPlugins.RemoteController > 20:30:15 - [PLUGINS]: Trying plugin > /OpenSim/Startup/RegionModulesController > 20:30:15 - [PLUGINS]: Plugin Loaded: > OpenSim.ApplicationPlugins.RegionModulesController > 20:30:15 - [PLUGINS]: Trying plugin /OpenSim/Startup/LoadRegions > 20:30:15 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.LoadRegions > 20:30:15 - [PLUGINS]: Plugin Loaded: LindenCaps > 20:30:15 - [PLUGINS]: Plugin Loaded: SimianGrid > 20:30:15 - [PLUGINS]: Plugin Loaded: OpenSim.Region.OptionalModules > 20:30:15 - [PLUGINS]: Plugin Loaded: > OpenSim.RegionModules.RegionCombinerModule > 20:30:15 - [PLUGINS]: Plugin Loaded: DataSnapshot > 20:30:15 - [PLUGINS]: Plugin Loaded: OpenSim.Region.CoreModules > 20:30:15 - [PLUGINS]: Plugin Loaded: OpenSim.Groups > 20:30:15 - [PLUGINS]: Plugin Loaded: OpenSim.Region.ScriptEngine.XEngine > 20:30:15 - [PLUGINS]: Plugin Loaded: OpenSim.OfflineIM > 20:30:15 - [PLUGINS]: Plugin Loaded: WebStats > 20:30:15 - [REGIONMODULES]: From plugin LindenCaps, (version 0.1), loaded > 14 modules, 1 shared, 13 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin SimianGrid, (version 1.0), loaded > 10 modules, 8 shared, 2 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin OpenSim.Region.OptionalModules, > (version 0.1), loaded 39 modules, 20 shared, 19 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin > OpenSim.RegionModules.RegionCombinerModule, (version 0.3), loaded 1 > modules, 1 shared, 0 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin DataSnapshot, (version 0.1), > loaded 1 modules, 1 shared, 0 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin OpenSim.Region.CoreModules, > (version 0.1), loaded 121 modules, 77 shared, 44 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin OpenSim.Groups, (version 0.1), > loaded 5 modules, 5 shared, 0 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin > OpenSim.Region.ScriptEngine.XEngine, (version 0.2), loaded 1 modules, 0 > shared, 1 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin OpenSim.OfflineIM, (version 0.1), > loaded 1 modules, 1 shared, 0 non-shared 0 unknown > 20:30:15 - [REGIONMODULES]: From plugin WebStats, (version 1.0), loaded 1 > modules, 1 shared, 0 non-shared 0 unknown > 20:30:15 - [FLOTSAM ASSET CACHE]: FlotsamAssetCache enabled > 20:30:15 - [FLOTSAM ASSET CACHE]: AssetCache section missing from config > (not copied config-include/FlotsamCache.ini.example? Using defaults. > 20:30:15 - [FLOTSAM ASSET CACHE]: Cache Directory ./assetcache > 20:30:15 - [MIGRATIONS]: Creating migrations at version 1 > 20:30:15 - [MIGRATIONS]: Upgrading FriendsStore to latest revision 2. > 20:30:15 - [MIGRATIONS]: NOTE - this may take a while, don't interrupt > this process! > 20:30:15 - [MIGRATIONS]: Creating FriendsStore at version 1 > 20:30:15 - [MIGRATIONS]: Cmd was SQLite error > no such table: userfriends in SQL: BEGIN TRANSACTION; INSERT INTO > `Friends` SELECT `ownerID`, `friendID`, `friendPerms`, 0 FROM > `userfriends`; COMMIT; > 20:30:15 - [MIGRATIONS]: An error has occurred in the migration. If > you're running OpenSim for the first time then you can probably safely > ignore this, since certain migration commands attempt to fetch data out of > old tables. However, if you're using an existing database and you see > database related errors while running OpenSim then you will need to fix > these problems manually. Continuing. > 20:30:15 - [MIGRATIONS]: Updating FriendsStore to version 2 > 20:30:15 - [FRIENDS MODULE]: FriendsModule enabled. > 20:30:15 - [GROUPS]: Groups disabled in configuration > 20:30:15 - [HG MESSAGE TRANSFER]: Disabled by configuration > 20:30:15 - [LURE MODULE]: LureModule enabled > 20:30:15 - [LIBRARY MODULE]: Library service dll is > OpenSim.Services.InventoryService.dll:LibraryService > 20:30:15 - [LIBRARY]: Starting library service... > 20:30:15 - [LIBRARY INVENTORY]: Loading library control file > ./inventory/Libraries.xml > 20:30:15 - [BASIC SEARCH MODULE]: BasicSearchModule is enabled > 20:30:15 - [USER MANAGEMENT MODULE]: BasicUserManagementModule is enabled > 20:30:15 - [VECTORRENDERMODULE]: using font "Arial" for text rendering. > 20:30:15 - [APPLICATION]: > APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs > > Exception: System.TypeInitializationException: An exception was thrown > by the type initializer for System.Drawing.GDIPlus ---> > System.EntryPointNotFoundException: GdiplusStartup > at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup > (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) > at System.Drawing.GDIPlus..cctor () [0x000cc] in > /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127 > --- End of inner exception stack trace --- > at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat > format) [0x00006] in > /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:96 > at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor > (int,int,System.Drawing.Imaging.PixelFormat) > at > OpenSim.Region.CoreModules.Scripting.VectorRender.VectorRenderModule.Initialise > (IConfigSource config) [0x00055] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs:155 > at > OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin.Initialise > (OpenSim.OpenSimBase openSim) [0x002d9] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs:161 > at OpenSim.ApplicationPluginInitialiser.Initialise (IPlugin plugin) > [0x0000f] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/IApplicationPlugin.cs:62 > at OpenSim.Framework.PluginLoader`1[OpenSim.IApplicationPlugin].Load () > [0x0015f] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Framework/PluginLoader.cs:191 > at OpenSim.Framework.PluginLoader`1[OpenSim.IApplicationPlugin].Load > (System.String extpoint) [0x00009] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Framework/PluginLoader.cs:153 > at OpenSim.OpenSimBase.LoadPlugins () [0x0005c] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/OpenSimBase.cs:193 > at OpenSim.OpenSimBase.StartupSpecific () [0x00190] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/OpenSimBase.cs:268 > at OpenSim.OpenSim.StartupSpecific () [0x00121] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/OpenSim.cs:169 > at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00002] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Framework/Servers/BaseOpenSimServer.cs:150 > at OpenSim.Application.Main (System.String[] args) [0x00409] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/Application.cs:325 > InnerException: System.EntryPointNotFoundException: GdiplusStartup > at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup > (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) > at System.Drawing.GDIPlus..cctor () [0x000cc] in > /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127 > > Application is terminating: True > > [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: > An exception was thrown by the type initializer for System.Drawing.GDIPlus > ---> System.EntryPointNotFoundException: GdiplusStartup > at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup > (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) > at System.Drawing.GDIPlus..cctor () [0x000cc] in > /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:127 > --- End of inner exception stack trace --- > at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat > format) [0x00006] in > /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System.Drawing/System.Drawing/Bitmap.cs:96 > at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor > (int,int,System.Drawing.Imaging.PixelFormat) > at > OpenSim.Region.CoreModules.Scripting.VectorRender.VectorRenderModule.Initialise > (IConfigSource config) [0x00055] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs:155 > at > OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin.Initialise > (OpenSim.OpenSimBase openSim) [0x002d9] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs:161 > at OpenSim.ApplicationPluginInitialiser.Initialise (IPlugin plugin) > [0x0000f] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/IApplicationPlugin.cs:62 > at OpenSim.Framework.PluginLoader`1[OpenSim.IApplicationPlugin].Load () > [0x0015f] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Framework/PluginLoader.cs:191 > at OpenSim.Framework.PluginLoader`1[OpenSim.IApplicationPlugin].Load > (System.String extpoint) [0x00009] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Framework/PluginLoader.cs:153 > at OpenSim.OpenSimBase.LoadPlugins () [0x0005c] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/OpenSimBase.cs:193 > at OpenSim.OpenSimBase.StartupSpecific () [0x00190] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/OpenSimBase.cs:268 > at OpenSim.OpenSim.StartupSpecific () [0x00121] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/OpenSim.cs:169 > at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00002] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Framework/Servers/BaseOpenSimServer.cs:150 > at OpenSim.Application.Main (System.String[] args) [0x00409] in > /Users/amit/projects/GoelResearch-GitHub/opensim/OpenSim/Region/Application/Application.cs:325 > > > Any idea ? > > Regards > > -- amit > > _______________________________________________ > Opensim-dev mailing list > [email protected] > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > > > _______________________________________________ > Opensim-dev mailing list > [email protected] > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > >
_______________________________________________ Opensim-dev mailing list [email protected] http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
