[Paraview] Intel Build: QT Error
Andy Bauer
andy.bauer at kitware.com
Fri Jun 21 15:46:16 EDT 2013
Hmm, just to make sure things are working properly do you also get the same
thing in the Build/paraview/src/paraview-build/CMakeCache.txt? If you
aren't then it may not have been set properly. If it is then the superbuild
code would have to be changed to pass that information down to the external
projects which probably isn't too hard of a task to do. At that point it
may be faster to just build your own version of Qt with specified compilers
(look at ParaViewSuperbuild/Projects/qt.cmake for the options that are used
to build Qt).
Andy
On Fri, Jun 21, 2013 at 3:31 PM, Angelini, Richard C (Rick) CIV USARMY ARL
(US) <richard.c.angelini.civ at mail.mil> wrote:
> Andy - I think that I have that set when I run the top level cmake.
> The Build/CMakeCache.txt file has this:
>
> CMAKE_CXX_COMPILER:FILEPATH=/opt/intel/Compiler/11.1/056/bin/intel64/icpc
> CMAKE_C_COMPILER:FILEPATH=/opt/intel/Compiler/11.1/056/bin/intel64/icc
>
>
> ------------------------------
> Rick Angelini
>
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> Building 120 Cube 315
> Phone: 410-278-6266
> ------------------------------
> *From:* Andy Bauer [andy.bauer at kitware.com]
> *Sent:* Friday, June 21, 2013 2:43 PM
> *To:* Angelini, Richard C (Rick) CIV USARMY ARL (US)
> *Cc:* paraview at paraview.org
> *Subject:* Re: [Paraview] Intel Build: QT Error
>
> Hi Rick,
>
> You may be able to set your CXX and CC environment variables in the shell
> your building in to get what you want. I don't know enough about the Qt
> build system though to know if it will then use those compilers but I'm
> optimistic enough to think it will :)
>
> Regards,
> Andy
>
> On Fri, Jun 21, 2013 at 2:27 PM, Angelini, Richard C (Rick) CIV USARMY ARL
> (US) <richard.c.angelini.civ at mail.mil> wrote:
>
>> I am trying to build 4.0.1 using the Superbuild on an Intel-build
>> system. I have my compilers set to icc/icpc I'm failing deep down in
>> the QT build with missing Intel libraries - and I believe that the reason
>> for the failure is that somehow QT is trying to build with gcc/g++ rather
>> than icc/icpc. Is there any way to force the compiler selection down to QT?
>>
>> cd src/corelib/ && make -f Makefile
>> make[1]: Entering directory
>> `/usr/local/u/angel/PV/Build/qt/src/qt-build/src/corelib'
>> rm -f libQtCore.so.4.8.2 libQtCore.so libQtCore.so.4 libQtCore.so.4.8
>> g++ -L/usr/local/u/angel/PV/Build/install/lib -Wl,--no-undefined
>> -Wl,-e,qt_core_boilerplate -Wl,-O1
>> -Wl,-rpath,/usr/local/u/angel/PV/Build/install/lib
>> -Wl,-rpath,/usr/local/u/angel/PV/Build/install/lib -shared
>> -Wl,-soname,libQtCore.so.4 -o libQtCore.so.4.8.2
>> .obj/release-shared/qabstractanimation.o .obj/
>>
>> ------------------------------
>> Rick Angelini
>>
>> USArmy Research Laboratory
>> CISD/HPC Architectures Team
>> Building 120 Cube 315
>> Phone: 410-278-6266
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130621/8a97ebd0/attachment-0001.htm>
More information about the ParaView
mailing list