[OS X TeX] Compiling MikTex tools for Unix

Berend Hasselman bhh at xs4all.nl
Sat Jan 9 16:54:25 CET 2010


On 09-01-2010, at 15:17, Benoit RIVET wrote:

> [ 56%] Building CXX object Libraries/MiKTeX/UI/Qt-static/CMakeFiles/ui-Qt-static.dir/__/Qt/ConnectionSettingsDialog.cpp.o
> In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
>                from /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,
>                from /Library/Frameworks/QtCore.framework/Headers/qobject.h:47,
>                from /Library/Frameworks/QtCore.framework/Headers/qiodevice.h:46,
>                from /Library/Frameworks/QtCore.framework/Headers/qxmlstream.h:45,
>                from /Library/Frameworks/QtCore.framework/Headers/QtCore:3,
>                from /Library/Frameworks/QtGui.framework/Headers/QtGui:3,
>                from /Users/benoit/Downloads/miktex/Libraries/MiKTeX/UI/Qt/StdAfx.h:22,
>                from /Users/benoit/Downloads/miktex/Libraries/MiKTeX/UI/Qt/ConnectionSettingsDialog.cpp:22:
> /Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."


The error message says it all. You can't mix 32/64 bit architectures.
You must force the compiler to produce a 32-bit application since your QT library is 32-bit.
Possible options for gcc are  -arch i386 or -m32 or something similar.

Berend


More information about the macostex-archives mailing list