Ask Your Question
2

Can't load IA 32-bit .dll on a AMD 64-bit platform [closed]

asked 2013-03-15 10:11:30 +0200

SeanW gravatar image

updated 2015-09-27 18:56:17 +0200

Alex Kemp gravatar image

I want to run libre.extend.examples on Windows 7 (x64). I get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\LibreOffice 4.0\URE\bin\jpipe.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Will there be support for x64 Windows? Should I switch to Microsoft Office and reimplement my stuff there?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-11-12 02:12:59.639804

Comments

@qubit: I made a demo for a client based on these: http://api.libreoffice.org/examples/DevelopersGuide/examples.html . I'd really hate telling them to use MS Office "because LibreOffice can't API".

SeanW gravatar imageSeanW ( 2013-03-21 14:41:47 +0200 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2013-03-21 21:20:10 +0200

qubit gravatar image

updated 2013-03-21 22:50:35 +0200

@SeanW,

After chatting with a developer, it sounds like TDF only provides 32bit builds of the code, which would include the DLL. This might be an issue where you need a 32bit JRE to handle the 32bit DLLs, although I don't know enough about the particulars to tell you for sure.

The fastest solution would be to run a 32bit VM so that LO can run in a native 32bit environment.

It may certainly be possible for you to recompile the DLL and then have the example code work on the 64bit Windows platform. The devs tell me that "recompiling LibO for 64 bit is not possible for someone without deep knowledge as it requires some low level work in the uno bridge," so that sounds pretty tricky. If you have are interested in trying that process, please check with the devs.

I also found this bug:

Looks like there's a flag in the compile process to enable the creation of 64bit DLLs. This might be totally irrelevant to your problem, but it sounds like it could be pertinent.

Good luck!

edit flag offensive delete link more

Comments

1

@qubit thank you for your research; hopefully a x64 version will be released eventually. As I really only need to manipulate spreadsheets, using HandsOnTable in the browser is what I am doing currently.

SeanW gravatar imageSeanW ( 2013-03-27 11:22:11 +0200 )edit
1

answered 2013-10-18 00:17:53 +0200

ueberferret gravatar image

I had the same problem with Jabref 2.9 on a Windows 8 machine. (On my Ubuntu machines this always worked out of the box).

I had both 64 bit and 32 bit java installed, and apparently LO seemed to run on the 32 while Jabref ran on the 64. I uninstalled my 64 bit JAVA using "Control Panel"' and set the PATH environment variables to include 'C:\Program Files (x86)\Java\jre7\bin' and created a JAVA_HOME variable pointing to ''C:\Program Files (x86)\Java'. After that, when I restarted JabRef it connected to LibreOffice straight away and it now works great. When you get it to work, the Jabref plugin for OO/ Libre Office is really rather nice!

Bye bye expensive overcomplicated endnote :-)

edit flag offensive delete link more
0

answered 2013-03-17 19:01:06 +0200

qubit gravatar image

Hi @SeanW,

To provide the backstory (that you probably know), we don't currently ship a 64-bit build of LO for Windows, we just support the 32-bit build on both x86 and x86_64:

Where have you sourced this "libre.extend.examples" file/library? Is that something that LibreOffice provides?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-15 10:11:30 +0200

Seen: 19,633 times

Last updated: Oct 18 '13