[texworks] Error in compiling r.577/78
lautrup at nbi.dk
Sun Mar 7 13:06:55 CET 2010
Thanks, it worked. Remember Windows users do have a unix environment via
MSYS. I just ran the script in the unix shell, and it updated to rev. 578
in SvnRev.h as it should.
From: texworks-bounces at tug.org [mailto:texworks-bounces at tug.org] On Behalf
Of Jonathan Kew
Sent: 7. marts 2010 12:51
To: Discuss the TeXworks front end.
Subject: Re: [texworks] Error in compiling r.577/78
On 7 Mar 2010, at 10:05, Benny Lautrup wrote:
> Hi again,
> The recompiled version still claims to be 571 (in About), even if svn says
> it is at 577, and it is recompiled after clean.
> Doesn't the version number change automatically?
Sorry, no, it doesn't. I should try to make that happen, but it's tricky to
do it reliably for all platforms and build environments. If you run the
shell script getSvnRev.sh in your checked-out copy, it should update - but
that requires a Unix-style shell, so might be a problem if you're building
> -----Original Message-----
> From: texworks-bounces at tug.org [mailto:texworks-bounces at tug.org] On Behalf
> Of Jonathan Kew
> Sent: 7. marts 2010 10:41
> To: Discuss the TeXworks front end.
> Subject: Re: [texworks] Error in compiling r.577/78
> Hi Alain,
> 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
> you need to make sure to build the plugins before the main application;
> alternatively, you can change the configuration to link them dynamically,
> 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
>> .exe object_script.TeXworks.Release -L'c:/Programmes/KDE/bin/../lib'
>> -lqtmain ./obj/TeXworks_res.o
> -LC:/texworks/hunspell-1.2.8/src/hunspell/.libs -l
>> poppler-qt4 -lhunspell-1.2 -Lplugins-src/TWLuaPlugin/release
>> -Lplugins-src/TWPythonPlugin/release -lTWPythonPlugin -Lc:/Python26/libs
>> on26 -lQtScript -lQtScriptTools -lQtXml -lQtGui -lQtCore
> 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