[texworks] Error in compiling r.577/78
jfkthame at googlemail.com
Sun Mar 7 10:41:04 CET 2010
Apparently it can't find the Lua plugin; did you build the plugins before trying to build TW itself?
The project is set up to link the plugins statically on Windows, which means you need to make sure to build the plugins before the main application; alternatively, you can change the configuration to link them dynamically, in which case it shouldn't matter, I think. To do that, you'd need to remove the setting of STATIC_SCRIPTING_PLUGINS from the project file.
On 7 Mar 2010, at 09:34, Alain Delmotte wrote:
> After updating to today release (r577) and changing the TeXworks.pro file for my configuration, the compilation stops with an error:
> windres -i res/TeXworks.rc -o ./obj/TeXworks_res.o --include-dir=./res
> g++ -fexceptions -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release/TeXworks
> .exe object_script.TeXworks.Release -L'c:/Programmes/KDE/bin/../lib' -lmingw32
> -lqtmain ./obj/TeXworks_res.o -LC:/texworks/hunspell-1.2.8/src/hunspell/.libs -l
> poppler-qt4 -lhunspell-1.2 -Lplugins-src/TWLuaPlugin/release -lTWLuaPlugin -llua
> -Lplugins-src/TWPythonPlugin/release -lTWPythonPlugin -Lc:/Python26/libs -lpyth
> on26 -lQtScript -lQtScriptTools -lQtXml -lQtGui -lQtCore
> c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cann not find -lTWLuaPlugin
> collect2: ld returned 1 execution status code
> mingw32-make: *** [release/TeXworks.exe] Error 1
> mingw32-make: Leaving directory `C:/texworks/texworks'
> mingw32-make: *** [release] Error 2
More information about the texworks