[texworks] Problem compiling svn version with Mingw

Ignasi Furió ignasi.furio at uib.cat
Mon Apr 26 16:03:36 CEST 2010


Hi,

today I tested last texworks version and after 'svn', 'qmake' and  
'ming32-make', it finished with some errors and without any executable.

Next you will some parts of the output:

D:/MinGW/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `d:/texworks/texworks-read-only'
fixQtLibs.bat
         1 archivos copiados.
         1 archivos copiados.
         1 archivos copiados.
         1 archivos copiados.
         1 archivos copiados.
g++ -enable-stdcall-fixup -Wl,-enable-auto-import  
-Wl,-enable-runtime-pseudo-reloc -Wl,--export-dynamic -fexceptions -Wl,-s  
-mthreads -Wl -Wl,-subsystem,windows -o release/TeXworks.exe  
object_script.TeXworks.Release  -L'd:/kde/bin/../lib' -lmingw32 -lqtmain  
./obj/TeXworks_res.o -LD:/texworks/hunspell-1.2.8/src/hunspell/.libs  
-lpoppler-qt4 -lhunspell-1.2 -lQtScript -lQtScriptTools -lQtXml -lQtGui  
-lQtCore -lQtUiTools
d:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:  
warning: --export-dynamic is not supported for PE targets, did you mean  
--export-all-symbols?
d:/kde/bin/../lib/libQtUiTools.a(quiloader.o):quiloader.cpp:(.text+0x20a):  
undefined reference to `_imp___ZNK9QIODevice6isOpenEv'
d:/kde/bin/../lib/libQtUiTools.a(quiloader.o):quiloader.cpp:(.text+0x271):  
undefined reference to `_imp___ZN10QTabWidget16staticMetaObjectE'
d:/kde/bin/../lib/libQtUiTools.a(quiloader.o):quiloader.cpp:(.text+0x2e1):  
undefined reference to `_imp___ZN12QTableWidget16staticMetaObjectE'
...


d:/kde/bin/../lib/libQtUiTools.a(abstractformbuilder.o):abstractformbuilder.cpp:(.text+0x3bf):  
undefined reference to `_imp___ZN7QLayout14addChildWidgetEP7QWidget'
d:/kde/bin/../lib/libQtUiTools.a(abstractformbuilder.o):abstractformbuilder.cpp:(.text+0x3c8):  
undefined reference to `_imp___ZN11QGridLayout16staticMetaObjectE'
d:/kde/bin/../lib/libQtUiTools.a(abstractformbuilder.o):abstractformbuilder.cpp:(.text+0x45d):  
undefined reference to `_imp___ZN7QLayout14addChildLayoutEPS_'
d:/kde/bin/../lib/libQtUiTools.a(abstractformbuilder.o):abstractformbuilder.cpp:(.text+0x46d):  
undefined reference to `_imp___ZN11QFormLayout16staticMetaObjectE'
d:/kde/bin/../lib/libQtUiTools.a(abstractformbuilder.o):abstractformbuilder.cpp:(.text+0x4a0):  
undefined reference to  
`_imp___ZN11QFormLayout7setItemEiNS_8ItemRoleEP11QLayoutItem'
d:/kde/bin/../lib/libQtUiTools.a(abstractformbuilder.o):abstractformbuilder.cpp:(.text+0xdc0):  
undefined reference to `_imp___ZNK9QComboBox8itemDataEii'

...

d:/kde/bin/../lib/libQtUiTools.a(formbuilder.o):formbuilder.cpp:(.text+0x2e3):  
undefined reference to `_imp___Z7qstrcmpPKcS0_'
d:/kde/bin/../lib/libQtUiTools.a(formbuilder.o):formbuilder.cpp:(.text+0x9cb):  
undefined reference to `_imp___ZN10QByteArray7prependEPKc'
d:/kde/bin/../lib/libQtUiTools.a(formbuilder.o):formbuilder.cpp:(.text+0xc4f):  
undefined reference to `_imp___ZN11QMetaObject8addGuardEPP7QObject'
d:/kde/bin/../lib/libQtUiTools.a(formbuilder.o):formbuilder.cpp:(.text+0xc64):  
undefined reference to `_imp___ZN11QMetaObject11removeGuardEPP7QObject'
d:/kde/bin/../lib/libQtUiTools.a(formbuilder.o):formbuilder.cpp:(.text+0xd30):  
undefined reference to `_imp___ZN8QToolBox16staticMetaObjectE'
d:/kde/bin/../lib/libQtUiTools.a(formbuilder.o):formbuilder.cpp:(.text+0xd4a):  
undefined reference to `_imp___ZN14QStackedWidget16staticMetaObjectE'
...

d:/kde/bin/../lib/libQtUiTools.a(properties.o):properties.cpp:(.text$_ZN13QFormInternal14enumKeyToValueIN11QSizePolicy6PolicyEEET_RK9QMetaEnumPKcPKS3_[QSizePolicy::Policy  
QFormInternal::enumKeyToValue<QSizePolicy::Policy>(QMetaEnum const&, char  
const*, QSizePolicy::Policy const*)]+0x18): undefined reference to  
`_imp___ZNK9QMetaEnum10keyToValueEPKc'
d:/kde/bin/../lib/libQtUiTools.a(properties.o):properties.cpp:(.text$_ZN13QFormInternal14enumKeyToValueIN11QSizePolicy6PolicyEEET_RK9QMetaEnumPKcPKS3_[QSizePolicy::Policy  
QFormInternal::enumKeyToValue<QSizePolicy::Policy>(QMetaEnum const&, char  
const*, QSizePolicy::Policy const*)]+0x3f): undefined reference to  
`_imp___ZNK9QMetaEnum3keyEi'
d:/kde/bin/../lib/libQtUiTools.a(properties.o):properties.cpp:(.text$_ZN13QFormInternal14enumKeyToValueIN11QSizePolicy6PolicyEEET_RK9QMetaEnumPKcPKS3_[QSizePolicy::Policy  
QFormInternal::enumKeyToValue<QSizePolicy::Policy>(QMetaEnum const&, char  
const*, QSizePolicy::Policy const*)]+0x15e): undefined reference to  
`_imp___ZNK9QMetaEnum5valueEi'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release/TeXworks.exe] Error 1
mingw32-make[1]: Leaving directory `d:/texworks/texworks-read-only'
mingw32-make: *** [release] Error 2

Do you know what's wrong?

Thank you,

	Ignasi
	
-- 
----------------------------------------------------------------------
Ignasi Furió Caldentey
Universitat de les Illes Balears
Escola Politècnica Superior
Dep. Matematiques i Informatica
Cra. Valldemossa, km. 7,5. 07071-Palma. SPAIN
tel: (34) 971.259.970    fax: (34) 971.173.003
e-mail: ignasi dot furio at uib dot cat
http://www.uib.cat
----------------------------------------------------------------------


More information about the texworks mailing list