[SOLVED]Compilation error with Intel Parallel Studio 2011



  • Hi guys,

    I'm trying to build 64 bit Qt libraries with the Intel compiler.

    Here are my configure flags:
    >configure -debug-and-release -opensource -platform win32-icc

    Then
    >jom.exe

    icl.exe complains about some deprecated flags and seems to ignore them for every and each module.
    @icl: command line remark #10148: option '/Qprec' not supported
    icl: command line remark #10010: option '/GX' is deprecated and will be removed in a future release. See '/help deprecated'@

    It goes on until I get the following error messages:
    @jom: D:\Qt_binaries\4.8.2-icc\src\opengl\Makefile.Debug [tmp\obj\debug_shared\qglgradientcache.obj] Error 2
    icl -c -nologo -Zm200 /Qprec /Qwd1744,1738 /Zc:forScope -Zi -MDd -O2 -W3 /Qwd673 -GR -GX -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEF
    ILE_SUPPORT -DQT_BUILD_OPENGL_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D
    QT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES -DQT_NO_EGL -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
    -I"....\include\QtCore" -I"....\include\QtGui" -I"....\include" -I"....\include\QtOpenGL" -I"tmp\rcc\debug_shared" -I"tmp" -I"..\3rdparty\harfbuzz
    \src" -I"....\include\ActiveQt" -I"tmp\moc\debug_shared" -I"....\mkspecs\win32-icc" -Fotmp\obj\debug_shared\ @C:\Users\damien\AppData\Local\Temp\qtr
    iangulator.obj.8092.13338.jom
    icl: command line remark #10148: option '/Qprec' not supported
    icl: command line remark #10010: option '/GX' is deprecated and will be removed in a future release. See '/help deprecated'
    qtriangulator.cpp
    gl2paintengineex\qtriangulator.cpp(326): warning #177: function "qDot" was declared but never referenced
    static inline qint64 qDot(const QPodPoint &u, const QPodPoint &v)
    ^

    gl2paintengineex\qtriangulator.cpp(349): warning #177: function "comparePoints" was declared but never referenced
    static int comparePoints(const QPodPoint &u, const QPodPoint &v)
    ^

    gl2paintengineex\qtriangulator.cpp(391): warning #177: function "qIntersectionPoint(int, int)" was declared but never referenced
    static inline QIntersectionPoint qIntersectionPoint(int x, int y)
    ^

    gl2paintengineex\qpaintengineex_opengl2.cpp(93): warning #177: function "isPowerOfTwo" was declared but never referenced
    inline static bool isPowerOfTwo(uint x)
    ^

    jom: D:\Qt_binaries\4.8.2-icc\src\opengl\Makefile.Debug [tmp\obj\debug_shared\qgl2pexvertexarray.obj] Error 2
    qtextureglyphcache_gl.cpp
    jom: D:\Qt_binaries\4.8.2-icc\src\opengl\Makefile [debug-all] Error 2
    jom: D:\Qt_binaries\4.8.2-icc\Makefile [sub-opengl-make_default-ordered] Error 2

    D:\Qt_binaries\4.8.2-icc>@

    The error is not very descriptive. Is there something wrong with my configure line or something else to know about for the Intel compiler?

    Thanks,
    -Damien



  • If it matters to anyone I managed to compile.

    I had a pre-SP1 version of Intel Parallel Studio 2011 installed. Just installing that update, I had put on the side for a long while, solved the issue. Luckily I got it before my subscription ended :)

    I should check the compiler versions at some points to figure out which ones are supported and which ones are not.

    My config line from 32 bit and 64 bit shell:
    @configure -opensource -platform win32-icc@

    Cheers!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.