Menu

#23 Trying to build under Windows

untriaged
closed
nobody
None
2023-04-17
2023-04-12
No

Some time ago, I was able to build wpd2html.exe under Windows , by starting with libwpg-0.9.8 (I didn't know that a later version existed, and it may not have existed then). I'm now trying to build wpd2odt.exe under Windows, and can't figure out what I'm doing wrong.

Using MinGW's MINGW64 I was able to configure, make, and make install both librevenge-0.0.5, and libodfgen-0.1.8. I have boost and doxygen installed.

When I try to configure libwpd-0.10.3, I get this error message:

configure: error: conditional "HAVE_VISIBILITY" was never defined.
Usually this means the macro was only invoked conditionally.

Is there anything I can do to avoid this error message and build libwpd, and then go on to build libwpg and writerperfect?

Many thanks for any help (and is this the right place to post these issues?).

Discussion

  • Edward Mendelson

    I get the same error message when I try to configure in cygwin and WSL Ubuntu. Is it possible that something is wrong in the code? Has anyone built current libwpd for Windows?

     
  • Edward Mendelson

    Update: thanks to the generous and patient help of Laurent Alonso, I was able to build WriterPerfect 0.9.6 under both MinGW and Cygwin. I needed to make three changes in the source code, and will post a patch when I've got the details correct.

     
  • alonso laurent

    alonso laurent - 2023-04-17

    After personal discussions, the problem seems to concern libwpg, so I closed this ticket.

     
  • alonso laurent

    alonso laurent - 2023-04-17
    • status: open --> closed
     

Log in to post a comment.