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).<br>
<br>Andy<br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 3:31 PM, Angelini, Richard C (Rick) CIV USARMY ARL (US) <span dir="ltr"><<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Arial">Andy - I think that I have that set when I run the top level cmake. The Build/CMakeCache.txt file has this:<br>
<br>
CMAKE_CXX_COMPILER:FILEPATH=/opt/intel/Compiler/11.1/056/bin/intel64/icpc<br>
CMAKE_C_COMPILER:FILEPATH=/opt/intel/Compiler/11.1/056/bin/intel64/icc<br>
<br>
<div><br>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px;text-align:left"><span style="font-family:Arial"><span style="color:rgb(51,153,102);font-style:italic"></span></span>
<hr style="width:100%;min-height:2px;margin-left:0px;margin-right:auto">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,128,128)"><span style="font-style:italic">Rick Angelini</span></span><br style="font-style:italic">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,128,128)"><span style="font-style:italic"><br>
<span style="font-style:italic;color:rgb(0,51,102)">USArmy Research Laboratory</span></span></span><br style="font-style:italic;color:rgb(0,51,102)">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,51,102);font-style:italic"></span>
<div style="font-family:Helvetica;font-weight:bold;color:rgb(0,51,102);font-style:italic">
CISD/HPC Architectures Team<br>
Building 120 Cube 315<br>
</div>
<span style="font-style:italic;font-weight:bold;color:rgb(0,51,102)"></span><span style="font-family:Arial;font-style:italic;color:rgb(0,51,102)"><span style="font-family:Helvetica;font-weight:bold">Phone: <a href="tel:410-278-6266" value="+14102786266" target="_blank">410-278-6266</a></span></span><br>
<span style="font-family:Arial"></span></div>
</div>
</div>
</div>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Andy Bauer [<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>]<br>
<b>Sent:</b> Friday, June 21, 2013 2:43 PM<br>
<b>To:</b> Angelini, Richard C (Rick) CIV USARMY ARL (US)<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Intel Build: QT Error<br>
</font><br>
</div>
<div></div>
<div>Hi Rick,<br>
<br>
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 :)<br>
<br>
Regards,<br>
Andy<br>
<br>
<div class="gmail_quote">On Fri, Jun 21, 2013 at 2:27 PM, Angelini, Richard C (Rick) CIV USARMY ARL (US)
<span dir="ltr"><<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Arial">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?<br>
<br>
cd src/corelib/ && make -f Makefile<br>
make[1]: Entering directory `/usr/local/u/angel/PV/Build/qt/src/qt-build/src/corelib'<br>
rm -f libQtCore.so.4.8.2 libQtCore.so libQtCore.so.4 libQtCore.so.4.8<br>
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/<br>
<div><br>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px;text-align:left"><span style="font-family:Arial"><span style="color:rgb(51,153,102);font-style:italic"></span></span>
<hr style="width:100%;min-height:2px;margin-left:0px;margin-right:auto">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,128,128)"><span style="font-style:italic">Rick Angelini</span></span><br style="font-style:italic">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,128,128)"><span style="font-style:italic"><br>
<span style="font-style:italic;color:rgb(0,51,102)">USArmy Research Laboratory</span></span></span><br style="font-style:italic;color:rgb(0,51,102)">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,51,102);font-style:italic"></span>
<div style="font-family:Helvetica;font-weight:bold;color:rgb(0,51,102);font-style:italic">
CISD/HPC Architectures Team<br>
Building 120 Cube 315<br>
</div>
<span style="font-style:italic;font-weight:bold;color:rgb(0,51,102)"></span><span style="font-family:Arial;font-style:italic;color:rgb(0,51,102)"><span style="font-family:Helvetica;font-weight:bold">Phone:
<a href="tel:410-278-6266" value="+14102786266" target="_blank">410-278-6266</a></span></span><br>
<span style="font-family:Arial"></span></div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote></div><br>