[brailleblaster] Re: [liblouis-liblouisxml] Re: Files for Making Windows binaries

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sun, 5 Jun 2011 23:01:53 -0500

Jamie,

You've won the free beer and the thanks of many people. This is a 
milestone. The new windows.zip is attached. If anyone doesn't know, you 
will get a 32-bit or 64-bit dll and lib according to which compiler you 
are using.

I've been having some trouble with my svn working copies. Could someone 
put this in svn, please? 

Thanks,
John

On Mon, Jun 06, 2011 at 12:27:33PM +1000, James Teh wrote:
> There are several errors here:
> 1. liblouis.def includes two names which aren't defined:
>       - Lou_backTranslate (typo: capital l at the start instead of lower 
>       case l)
>       - get_table (defined in louis.h but never actually implemented in 
>       the source)
> 2. Remove the lines concerning nodefaultlibrary. They are being passed 
> to the wrong tool, they include typos and they won't achieve what you want.
> 3. You're defining a LIB nmake macro, but this is overriding the LIB 
> environment variable which specifies the library search path. This is 
> why the linker can't find uuid.lib, etc. Either rename the macro or 
> don't use a macro at all.
> 
> With these changes, the library builds quite nicely.
> 
> 
> Also, why not rename Makefile.msvc to just Makefile so you can just type 
> nmake in the windows directory instead of having to pass the /f option?
> 
> Jamie
> 
> On 6/06/2011 10:24 AM, John J. Boyer wrote:
> >The attached zip file contains the files for making Windows binaries
> >that I have been working on. To try them unzip the file into the same
> >directory that holds the liblouis subdirectory. then go to the windows
> >directory which it creates and type nmake /f Makefile.msvc note that you
> >will need Microsoft Visual C++ Expres and must have your einvronment set
> >up properly. now for the bad news. The sources all compile nicely but
> >there is an error at link time that nobody seems to know how to fix.
> >Free beer to anyone who can get rid of it!
> >
> >Thanks,
> >John
> >
> 
> -- 
> James Teh
> Vice President, Developer
> NV Access Inc, ABN 61773362390
> Email: jamie@xxxxxxxxxxxx
> Web site: http://www.nvaccess.org/
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
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: