<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> opensim-dev-bounces@lists.berlios.de
[mailto:opensim-dev-bounces@lists.berlios.de] <b>On Behalf Of </b>Charles
Krinke<br>
<b>Sent:</b> Sunday, November 23, 2008 11:34 AM<br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Subject:</b> Re: [Opensim-dev] OpenSim on Mac G5<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<div>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>To amplify a
tiny bit, the exception says basically:<br>
<br>
System.DllNotFoundException: openjpeg-dotnet.dll.<br>
<br>
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.<br>
<br>
$ ls open*.dll -la<br>
-rwxrwxr-x 1 ckrinke ckrinke 196608 2008-11-23 11:03 openjpeg-dotnet.dll<br>
[<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial","sans-serif"'><br>
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:<br>
<br>
$ cp /usr/lib/libjp*.so* .<br>
<br>
And the region still has the same System.DllNotFoundException.<br>
<br>
So, anyone that can shed a little light on this puzzle would help me get some
additional testing setup.<br>
<br>
Charles<br>
<br>
<br>
<o:p></o:p></span></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=1 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Charles Krinke <cfk@pacbell.net><br>
<b>To:</b> opensim-dev@lists.berlios.de<br>
<b>Sent:</b> Sunday, November 23, 2008 11:26:18 AM<br>
<b>Subject:</b> [Opensim-dev] OpenSim on Mac G5</span><o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Arial","sans-serif"'>I
have a Mac G5 available for testing for a little while and have installed
Fedora 9 on it.<br>
<br>
I can get OpenSim.exe compiled and the region up on OSGrid. There are a couple
of issues. One solved, one not solved.<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 1: Terrain<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 1: Done in 82 ms<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 2: Object Volume Profile<br>
10:47:04 - [MAPTILE]: Generating Maptile Step 2: Done in 21 ms<br>
Failed generating terrain map: System.DllNotFoundException: openjpeg-dotnet.dll<br>
  at (wrapper managed-to-native)
OpenMetaverse.Imaging.OpenJPEG:DotNetAllocDecoded
(OpenMetaverse.Imaging.OpenJPEG/MarshalledImage&)<br>
  at OpenMetaverse.Imaging.OpenJPEG.Encode
(OpenMetaverse.Imaging.ManagedImage image, Boolean lossless) [0x00000] <br>
  at OpenMetaverse.Imaging.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap
bitmap, Boolean lossless) [0x00000] <br>
  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
<br>
10:47:04 - [OGS1 GRID SERVICES]: Attempting to register region Mac Land with
grid at <a href="http://osgrid.org:8001" target="_blank">http://osgrid.org:8001</a><br>
10:47:05 - [OGS1 GRID SERVICES]: Region Mac Land successfully registered with
grid at http://osgrid.org:8001<br>
<br>
<br>
<o:p></o:p></span></p>

</div>

</div>

</div>

</div>

</div>

</body>

</html>