[texworks] Compiling with mingw32

Paul A Norman paul.a.norman at gmail.com
Sun May 23 08:07:15 CEST 2010


I am having some trouble compiling Tw.

Any pointers appreciated please.

I'm on Xp pro Sp3

My TW build directories are as in wiki by Stefan, and all steps there
including building hunspell appeared to work (with errors for hunspell
as Stefan indicated would be the case.)

SVN says:       Completed  at revision: 650

This is what I get after running mingw32-make

last lines...

cannot find -lhunspell-1.2
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release/TeXworks.exe] Error 1
mingw32-make[1]: Leaving directory `C:/texworks'
mingw32-make: *** [release] Error 2

And       hunspell is in c:\texworks\hunspell-1.2.11

This is my TeXworks.pro Windows section, the last four LIB += appear
additional to what is in the Wiki instructions.

win32 {
        INCLUDEPATH += C:/KDE/include/poppler/qt4
        INCLUDEPATH += C:/texworks/hunspell-1.2.11/src/hunspell
        LIBS += -LC:/texworks/hunspell-1.2.11/src/hunspell/.libs
        LIBS += -lpoppler-qt4
        LIBS += -lhunspell-1.2
        LIBS += -lQtUiTools

        RC_FILE = res/TeXworks.rc

        # for the Windows build, we use static plugins:

 	LIBS += -Lplugins-src/TWLuaPlugin/release -lTWLuaPlugin
  LIBS += -llua5.1

 	LIBS += -Lplugins-src/TWPythonPlugin/release -lTWPythonPlugin
  LIBS += -Lc:/Python26/libs -lpython26

More information about the texworks mailing list