|
Hello Chris,
maybe a detailed stracktrace with exception error message could help
us to make sure that we are looking at the right place. The 32 bit JVM
should have worked just fine. It could be that one of the dependency
libraries, such as the XML library, bzip2 or zlib or even the MSVC
runtime libraries is missing, and that is why the wrapper library
could not be loaded.
As to how to build 64bit binaries with cygwin, i would guess just
compile the file with the -arch x86_64 or -arch x64 flag. ut honestly
i'm not the one to ask using g++ on windows :)
cheers
Frank
On Jul 6, 2009, at 4:04 PM, Chris J. Myers wrote:
> Thanks for the detailed instructions. I tried installing and using
> the 32 bit JVM on Windows XP x64, but this also failed to load the
> library file. I don't use Visual C++. Can a 64-bit library be built
> using Cygwin? Alternatively, is the SBML team planning to release a
> 64-bit version of libsbml for Windows?
>
> Cheers,
>
> Chris
>
> On Jun 30, 2009, at 6:16 PM, Frank Bergmann wrote:
>
>> It turns out to be more complicated than using a flag ... in fact
>> that flag
>> only exists on OSX. So for 64bit windows:
>>
>> A) either download and install the 32bit JVM (that will work fine,
>> and you
>> can use the provided libsbml libraries) or
>> B) generate 64bit java bindings. That is a bit harder than
>> anticipated, but
>> not overly so, you will need to compile libsbml
>> For yourself, next generate the SWIG bindings for Java, and then
>> slightly
>> alter the existing visual project file to no longer target x86 but
>> x64. Here the details:
>>
>> Building and installing libSBML
>> http://sbml.org/Software/libSBML/docs/cpp-api/libsbml-
>> installation.html
>>
>> Enable a 64-Bit Visual C++ Toolset at the Command Line
>> http://msdn.microsoft.com/en-us/library/x4d2c09s.aspx
>>
>> Configure Visual C++ Projects to Target 64-Bit Platforms
>> http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
>>
>> In the long run it might probably make sense to add a feature
>> request that
>> the Java bindings are built for 64bit Java as well.
>>
>> Cheers
>> Frank
>>
>>
>>> -----Original Message-----
>>> From: libsbml-development-bounces@caltech.edu [mailto:libsbml-
>>> development-bounces@caltech.edu] On Behalf Of Frank Bergmann
>>> Sent: Tuesday, June 30, 2009 5:03 PM
>>> To: LibSBML Development List
>>> Subject: Re: [libsbml-development] 64-bit libsbml
>>>
>>> Hello Chris,
>>>
>>> the released versions of libsbml (and the java bindings) only
>>> contain
>>> 32bit executables. If you run a 64bit Java machine, it will not be
>>> able to load these libraries. However i think you might be able to
>>> force the JVM to be instantiated in 32 bit mode by supplying the -
>>> d32
>>> argument.
>>>
>>> Good luck
>>> Frank
>>>
>>> On Jun 30, 2009, at 4:36 PM, Chris J. Myers wrote:
>>>
>>>> I'm having trouble getting libsbml to work on Windows XP 64-bit
>>>> machine? Should it work? If so, which version should I be using?
>>>>
>>>> Thanks,
>>>>
>>>> Chris
>>>>
>>>>
>>>> ____________________________________________________________
>>>> To manage your libsbml-development list subscription, visit
>>>> https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
>>>>
>>>> For a web interface to the libsbml-development mailing list, visit
>>>> http://sbml.org/Forums/
>>>>
>>>> For questions or feedback about the libsbml-development list,
>>>> contact sbml-team@caltech.edu
>>>>
>>>
>>> ____________________________________________________________
>>> To manage your libsbml-development list subscription, visit
>>> https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
>>>
>>> For a web interface to the libsbml-development mailing list, visit
>>> http://sbml.org/Forums/
>>>
>>> For questions or feedback about the libsbml-development list,
>>> contact sbml-team@caltech.edu
>>
>>
>> ____________________________________________________________
>> To manage your libsbml-development list subscription, visit
>> https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
>>
>> For a web interface to the libsbml-development mailing list, visit
>> http://sbml.org/Forums/
>>
>> For questions or feedback about the libsbml-development list,
>> contact sbml-team@caltech.edu
>
> ____________________________________________________________
> To manage your libsbml-development list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
>
> For a web interface to the libsbml-development mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the libsbml-development list,
> contact sbml-team@caltech.edu
>
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu
|