[texworks] Compiling with mingw32

Paul A Norman paul.a.norman at gmail.com
Sun May 23 13:08:54 CEST 2010


P.S. When installing/updating KDE, under Available releases stable
4.3.4, and stable 4.4.0 are the only shown ones, I chose stable 4.3.4

Paul

On 23 May 2010 23:02, Paul A Norman <paul.a.norman at gmail.com> wrote:
> Thanks Stefan,
>
> That sorted that out.
>
> I went abck to the beginning and rebuilt the Lua5.1 but I still get
>
> c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
> cannot find -lQtXml
> collect2: ld returned 1 exit status
> mingw32-make[1]: *** [release/TWLuaPlugin.dll] Error 1
> mingw32-make[1]: Leaving directory `C:/texworks/plugins-src/TWLuaPlugin'
> mingw32-make: *** [release] Error 2
>
> My KDEDIRS env variable is set up and I've got kde directories
> including c:\KDE\include;  in the path and c:\KDE\include\QtXml exists
> with all of its files.
>
> May be I have the wrong version of KDE?  I have run
> C:\KDE\bin\designer.exe and it reports as QT 4.6
>
> Paul
>
> On 23 May 2010 19:54, Stefan Löffler <st.loeffler at gmail.com> wrote:
>> Hi,
>>
>> Am 2010-05-23 08:07, schrieb Paul A Norman:
>>> My TW build directories are as in wiki by Stefan, and all steps there
>>> including building hunspell appeared to work (with errors for hunspell
>>> as Stefan indicated would be the case.)
>>>
>>
>> I wrote that there may be warnings, but errors are bad ;).
>>
>>> This is what I get after running mingw32-make
>>>
>>> last lines...
>>>
>>> c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
>>> cannot find -lhunspell-1.2
>>> collect2: ld returned 1 exit status
>>> mingw32-make[1]: *** [release/TeXworks.exe] Error 1
>>> mingw32-make[1]: Leaving directory `C:/texworks'
>>> mingw32-make: *** [release] Error 2
>>>
>>
>> As it says on the second line: the compiler/linker can't find the
>> hunspell library. If you check
>> c:\texworks\hunspell-1.2.11\src\hunspell\.libs I have no doubt that you
>> won't find the file libhunspell-1.2.a. That's the problem.
>>
>>> And       hunspell is in c:\texworks\hunspell-1.2.11
>>>
>>
>> As the wiki guide states, it was written for hunspell 1.2.8. Apparently,
>> a few things have changed in 1.2.11 in the build system. Simply replace
>> the line
>>    ./configure
>> by
>>    ./configure --disable-shared
>> for the hunspell build instructions and rebuild hunspell. It worked for
>> me, at least.
>>
>> HTH
>> Stefan
>>
>



More information about the texworks mailing list