[kepler-dev] [Bug 4859] GDALTranslate does not work on Windows 7 (64bit)

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Mar 4 21:37:37 PST 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4859

--- Comment #4 from Christopher Brooks <cxh at eecs.berkeley.edu> 2010-03-04 21:37:36 PST ---
I created a universal binary that supports 32 and 64 bit JVMs under MacOSX.
The library may be found in ptII/lib/matlabMacOSX.jar

Note that to run the 64bit version, I had to set
export
DYLD_LIBRARY_PATH=/Applications/MATLAB_R2009b.app//bin/maci/:/Applications/MATLAB_R2009b.app//bin/maci64/:/Users/cxh/ptII/lib/Users/cxh/ptII/lib:/Applications/MATLAB_R2009b.app/sys/os/maci/:/Applications/MATLAB_R2009b.app/sys/os/maci64

so that libXm.3.so and the 64bit matlab libraries are found.

To build the 64 bit library, I used the -m64 gcc option.
To build the universal binary, I used lipo:

lipo -create -arch i386 libptmatlab32.jnilib -arch x86_64 libptmatlab64.jnilib
-o libptmatlab.jnilib

Note that for Web Start to work under Mac OS 10.5 with Java 1.5.0_22, the
shared libraries must have a .jnilib extension.  I could not get Web Start
to work if the shared libraries have a .dylib extension.  It would
probably be worth renaming the MacOSX shared libraries that are to
be loaded using JNI to .jnilib

See
http://developer.apple.com/Mac/library/documentation/Java/Conceptual/Java14Development/05-CoreJavaAPIs/CoreJavaAPIs.html

I still need to create 32 and 64 bit Ptolemy/Matlab libraries for
Windows and Linux.  I don't think I have access to a 64 bit Windows
machine though.

I still need to fix up $PTII/lbnl, which contains the
Building Controls Virtual Test Bench, which provides a socket-based interface
to Matlab, C and other programs.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list