[texworks] Problem compiling build 569 under mingw4

Jannie Hofmeyr jhshofmeyr at gmail.com
Wed Feb 17 19:55:23 CET 2010

Hi Jonathan and Stefan

I have had no problems in the past compiling TeXworks under mingw4.

With 569 I could compile both the python and the lua plugin (I used lua 
5.2) so that the required libraries were in their respective release 
directories under plugins-src.

In my TeXworks.pro the win32 section contains

     # for the Windows build, we use static plugins:

     LIBS += -Lplugins-src/TWLuaPlugin/release -lTWLuaPlugin
     LIBS += -Lt:/builds/texworks/lua-5.2 -llua52

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

Compilation of TeXworkds exited with:

g++ -fexceptions -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o 
release\TeXworks.exe object_script.TeXworks.Release  
-L"c:\KDE\bin\..\lib" -lmingw32
-lqtmain .\obj\TeXworks_res.o 
-LT:/builds/texworks/hunspell-1.2.8/src/hunspell/.libs -lpoppler-qt4 
-Lplugins-src/TWLuaPlugin/release -lTWLuaPlugin 
-Lt:/builds/texworks/lua-5.2 -llua52
-Lplugins-src/TWPythonPlugin/release -lTWPythonPlugin -Lc:/Python26/libs 
-lpython26 -lQtScript -lQtScriptTools -lQtXml -lQtGui -lQtCore

./obj\TWScriptable.o:TWScriptable.cpp:(.text+0xa): undefined reference 
to `qt_plugin_instance_TWLuaPlugin()'
./obj\TWScriptable.o:TWScriptable.cpp:(.text+0x19): undefined reference 
to `qt_plugin_instance_TWPythonPlugin()'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\TeXworks.exe] Error 1
mingw32-make[1]: Leaving directory `T:/builds/texworks/texworks'
mingw32-make: *** [release] Error 2

Any ideas?


More information about the texworks mailing list