[brailleblaster] Re: Can't build BrailleBlaster

  • From: François Ouellette <braille@xxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Mon, 25 Jun 2012 08:45:25 -0400

Hi Vic,

I joined the team recently and have been working on a few issues related to
the Windows environment and the liblouis dll's. Basically the issue is that
by default the java runtime cannot find dependent dll's unless they are in
the execution PATH. In our case we have liblouisutdml which is loaded as a
resource, and it makes reference to liblouis.

John's latest change puts those two in the native/lib directory but  the
runtime system cannot find liblouis, unless it is physically located in the
execution path. I made a change to BBIni in order to set the search path
dynamically and tell the java runtime about the native/lib when we load
liblouisutdml, and it works.

I guess changes will be made available soon through code distribution.

Regards,

François


On Mon, Jun 25, 2012 at 6:52 AM, John J. Boyer <john.boyer@xxxxxxxxxxxxxxxxx
> wrote:

> Hi Vic,
>
> This is being fixed. See the recent messages.
>
> John
>
> On Mon, Jun 25, 2012 at 06:22:19AM -0400, Vic Beckley wrote:
> > John,
> >
> > I updated all my repositories this morning and try to build everything on
> > W



> indows. BrailleBlaster wouldn't build. I deleted my classes folder and
> > tried again with no success. Below is the error I got.
> >
> > I haven't caught up with the mail from the weekend yet so if this has
> > already been covered, my apologies.
> >
> > Buildfile: C:\bb\build.xml
> > init:
> > compile:
> >     [ javac] Compiling 49 source files to C:\bb\classes
> >     [ javac] C:\bb\src\main\org\brailleblaster\BBIni.java:175:
> loadLibrary()
> > in org.liblouis.liblouisutdml cannot be applied to
> > (java.lang.String,java.lang.String)
> >     [ javac] liblouisutdml.loadLibrary (nativeLibraryPath,
> > nativeLibrarySuffix);
> >     [ javac]              ^
> > [ javac] C:\bb\src\main\org\brailleblaster\BBIni.java:176:
> > initialize(java.lang.String,java.lang.String) in
> org.liblouis.liblouisutdml
> > cannot be applied to (java.lang.String,java.lang.String,java.lang.String)
> >     [ javac] liblouisutdml.initialize (programDataPath, tempFilesPath,
> > [ javac]              ^
> >     [ javac] 2 errors
> >
> >
> >
> > BUILD FAILED
> > C:\bb\build.xml:17: Compile failed; see the compiler error output for
> > details.
> > Total time: 1 second
> > C:\bb>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Best regards from Ohio, U.S.A.,
> >
> > Vic
> > E-mail: vic.beckley3@xxxxxxxxx
> >
> >
>
> --
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
>
>
>

Other related posts: