John, It appears that, when compiling with mingw, it is recognized as being in _win32 environment. So it compiles the lines corresponding to this in paths.c. It assumes that the directory containing the conversion tables and the .cfg files should be somewhere under "c:\Program Files". It would be better, in my opinion, if it would be "Program " independant. The better would be to retrieve the directory where the program runs from. for example if I run the program from: c:\liblouisxml\bin\xml2brl.exe it should return c:\liblouisxml\bin as currentPath. Then, in yourSubDir, we could put something like ".\\etc\\tables" So, if you install liblouisxml in c:\Program Files\liblouisxml the path you would retrieve in the end would be: c:\Program Files\liblouisxml\bin..\etc\tables wich is like c:\Program Files\liblouisxml\etc\tables ----- Original Message ----- From: John J. Boyer To: liblouis-liblouisxml@xxxxxxxxxxxxx Sent: Saturday, January 31, 2009 4:27 PM Subject: [liblouis-liblouisxml] Re: Question aout liblouisxml structure Michel, i assume you are using Mingw and Msys. The mysubdir line was intended for building liblouisxml with a Microsoft compiler such as VC6. On line 38 of paths.c there is the statement: #ifdef _WIN32 Which checks whether you are compiling under Windows. It should also be possible to check whether you are using Mingw. I'm not sure just what this variable is called. But if you are compiling under Mingw you want to skip all the code up to line 118, where there is a comment about Unix paths. This can be done by modifying the #ifdef statement at line 38. Let's hope someone more familiar with Mingw knows how to do this. Once this is done, we will have to decide on a suitable value for the --prefix option in configure for both liblouis and liblouisxml. John On Sat, Jan 31, 2009 at 02:55:54PM +0100, Michel such wrote: > Hi all, > > After 2 weeks of hard fight, I finally succeeded building liblouisxml under Windows. > > Now a question: > > I have changed the file paths.c (line 114). > I replaced yoursubdir by a directory name of mine (I called it "tables"). > As I understand, this directory should contain conversion tables and maybe cfg files. > > Where should this directory be located in the liblouisxml directory structure? > I currently have a standard structire (bin, etc, include...) -- My websites: http://www.godtouches.org http://www.jjb-software.com Location: Madison, WI, USA For a description of the software and to download it go to http://www.jjb-software.com