[texworks] compiling in Win7

Benny Lautrup lautrup at nbi.dk
Sat Feb 27 09:15:03 CET 2010

Hi Stefan,


Thanks for the help. IT WORKS NOW!


I just had to read your instructions about the correct g++ version, and continue all the way  to the end (because of the MikTeX dll-version-problem).


That is actually an ugly work-around, putting all the dll’s into the release directory. There must be a way of excluding the MikTex2.8 bin-directory in the dll-search. I’ll look into that.


My comments to your instructions are few


1.       Show all links explicitly, not just by some text. That is useful for someone (like me) that prints the instructions.

2.       When compiling hunspell, tell the user to run “make clean” first. It matters if you change the version of g++.

3.       When running qmake first time, it doesn’t produce Makefile.  I had to make a qmake.bat with the line 
qmake.exe -makefile -win32 TeXworks.pro


Finally, the display problem with pdf-images produced by Mathematica has not disappeared after my compilation (see my previous mail with a short example).





From: texworks-bounces at tug.org [mailto:texworks-bounces at tug.org] On Behalf Of Stefan Löffler
Sent: 26. februar 2010 15:55
To: texworks at tug.org
Subject: Re: [texworks] compiling in Win7



Glad to see you progressing. Looks like you're almost there.

Am 2010-02-26 09:24, schrieb Benny Lautrup: 

I have now recompiled with all references removed to the TW-plugins in texworks.pro. Then I get the following error output which indicates that the error lies in KDE. Have I made an error in the installation of KDE? Or is KDE in error. I have installed the latest version.

Googling shows that the "undefined reference to `_Unwind_Resume'" and "undefined reference to `__gxx_personality_v0'" errors suggest that the following applies:
"Undefined references to internal run-time library functions, such as __gxx_personality_v0, are also a symptom of linking C++ object files with gcc instead of g++. Linking the same object file with g++ supplies all the necessary C++ libraries and will produce a working executable: " [http://www.network-theory.co.uk/docs/gccintro/gccintro_54.html]

Since your command line shows that Tw is using g++, the problem must lie somewhere else. Hence a few questions:
1) Did you choose "MinGW4" as compiler mode during the installation of the KDE on Windows files?
2) If you have installed KDE on Windows multiple times: are you using the correct one (you can usually check most easily by running "qmake -version" from the command line)
3) Are you using gcc 4.x? (you can find out by running "g++ --version" from the command line)


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2710 - Release Date: 02/25/10 20:57:00

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20100227/fb1b83e3/attachment-0001.html>

More information about the texworks mailing list