[texworks] crash problem gone
Benny Lautrup
lautrup at nbi.dk
Fri Feb 19 17:51:03 CET 2010
Hi,
Strange things happen in computers, supposed to be deterministic! The crash
problem in r.567 that I reported some days ago is now gone. Ok, perhaps it
was because I hadn't removed the local configuration for r.511 before I
installed r.567. Hmmm.
--Benny
-----Original Message-----
From: texworks-bounces at tug.org [mailto:texworks-bounces at tug.org] On Behalf
Of Stefan Löffler
Sent: 19. februar 2010 17:17
To: texworks at tug.org
Subject: Re: [texworks] Problem compiling build 569 under mingw4
Hi,
Am 2010-02-17 19:55, schrieb Jannie Hofmeyr:
> 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.
>
> Compilation of TeXworkds exited with:
>
> ./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()'
I see the same thing. AFAICT, this is connected to static vs. shared
builds of Qt. I think this should be fixed in the code.
@Jonathan: You build Qt statically, I suppose. The KDE on Windows
project (naturally) distributes shared builds, though. I'd prefer to
make this configurable on the command line / in the project file
somehow. The way it is now, building (on Windows) is fairly complicated,
as everybody is forced to build all plugins (in order to include them
statically). This requires build-steps in three different directories
and additional dependencies (lua, python).
I think the simplest solution would be to define a preprocessor
directive indicating whether one wants to build static or shared plugins
(where I'd prefer shared to be the default for consistency with other
OSs and ease of use with KDE on Windows). If shared is selected,
everything should work without problems. And for your official builds,
static could be enabled.
HTH
Stefan
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2697 - Release Date: 02/19/10
08:34:00
More information about the texworks
mailing list