[Opensim-dev] OpenSim on Mac G5
Hurliman, John
john.hurliman at intel.com
Sun Nov 23 21:13:39 UTC 2008
OSX uses .dylib files for unmanaged (non-.NET) code, not .dll or .so. I would say make sure you have libopenjpeg-2.1.3.0-dotnet-1.dylib (or something like that) but the fact that Mono is trying to access openjpeg-dotnet.dll means the DllMap seems to have failed. Make sure you have OpenMetaverse.dll.config in that directory, and that it contains a DllMap entry from openjpeg-dotnet.dll to the actual .dylib binary in your bin/ directory.
On a side note, I've been looking into a fully managed JPEG2000 codec. It's quite a ways from complete right now (and certainly slower than unmanaged code), but might prove useful for certain specific tasks.
John
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Charles Krinke
Sent: Sunday, November 23, 2008 11:34 AM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] OpenSim on Mac G5
To amplify a tiny bit, the exception says basically:
System.DllNotFoundException: openjpeg-dotnet.dll.
The issue right now seems to be that an "ls open* -la" shows this file exists and is marked executable. So, I think there may be an underlying .so that is non existent at this point.
$ ls open*.dll -la
-rwxrwxr-x 1 ckrinke ckrinke 196608 2008-11-23 11:03 openjpeg-dotnet.dll
[
On a functioning x86 server, I can see libopenjpeg-1.0.0.so and other files that are not on this Mac G5 in our opensim/bin/ directory. I did try copying the the files from /usr/lib that appear to be concerned with jpeg to our opensim/bin directory like this:
$ cp /usr/lib/libjp*.so* .
And the region still has the same System.DllNotFoundException.
So, anyone that can shed a little light on this puzzle would help me get some additional testing setup.
Charles
________________________________
From: Charles Krinke <cfk at pacbell.net>
To: opensim-dev at lists.berlios.de
Sent: Sunday, November 23, 2008 11:26:18 AM
Subject: [Opensim-dev] OpenSim on Mac G5
I have a Mac G5 available for testing for a little while and have installed Fedora 9 on it.
I can get OpenSim.exe compiled and the region up on OSGrid. There are a couple of issues. One solved, one not solved.
ODE: Using our wiki, I was able to make ODE. I observe that we seem to need to initialize ODE even when ODE is not specified in the OpenSim.ini file. We might want to eliminate that dependency.
The region does come up, but has a jpeg exception which is at the end of this email. At this point, I am a little puzzled with our various jpeg .so, .dll and such that are in svn. Looks like we are supplying an x86 version binary from svn.
In any case, a little help in getting past this jpeg exception would let me get to where we can test a bit more on a 64bit Mac G5.
10:47:04 - [MAPTILE]: Generating Maptile Step 1: Terrain
10:47:04 - [MAPTILE]: Generating Maptile Step 1: Done in 82 ms
10:47:04 - [MAPTILE]: Generating Maptile Step 2: Object Volume Profile
10:47:04 - [MAPTILE]: Generating Maptile Step 2: Done in 21 ms
Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet.dll
at (wrapper managed-to-native) OpenMetaverse.Imaging.OpenJPEG:DotNetAllocDecoded (OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)
at OpenMetaverse.Imaging.OpenJPEG.Encode (OpenMetaverse.Imaging.ManagedImage image, Boolean lossless) [0x00000]
at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]
at OpenSim.Region.Environment.Modules.World.WorldMap.MapImageModule.WriteJpeg2000Image (System.String gradientmap) [0x000bb] in /home/ckrinke/svn/opensim/OpenSim/Region/Environment/Modules/World/WorldMap/MapImageModule.cs:119
10:47:04 - [OGS1 GRID SERVICES]: Attempting to register region Mac Land with grid at http://osgrid.org:8001
10:47:05 - [OGS1 GRID SERVICES]: Region Mac Land successfully registered with grid at http://osgrid.org:8001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20081123/da45a70d/attachment-0001.html>
More information about the Opensim-dev
mailing list