[vtkusers] Compiling VTK 6.1.0 fails on Red Hat Enterprise GNU/Linux Server release 6.3 (Santiago)

antonioreyes at gmail.com antonioreyes at gmail.com
Wed Mar 12 09:54:32 EDT 2014


Hi, thank you all for your help. I tried using Visual Studio 2012 instead of 2013 and everything worked fine again. It doesn’t seem to be a problem of VTK, but of VS2013.











De: David E DeMarle
Enviado el: ‎miércoles‎, ‎12‎ de ‎marzo‎ de ‎2014 ‎14‎:‎53
Para: Omid
CC: David Gobbi, vtkusers at vtk.org





On Thu, Mar 6, 2014 at 6:24 PM, Omid <omidlink at gmail.com> wrote:
...



>> I thought the reason could be that the gcc compiler is too old (4.4.6)
>> and may not support some of the newer language features (like new). I
>> installed the latest stable gcc (4.8.2) and tried instructing ccmake
>> to use the new gcc using
>>
>> env CC=$(which gcc) CXX=$(which gcc) ccmake .
>>
>> or
>>
>> CC=$(which gcc) CXX=$(which gcc) ccmake .
>>
>> where $(which gcc) returns the path to the new gcc. But the output and
>> the errors are still the same (referring to gcc 4.4.6). It looks like
>> the new gcc is not picked up by ccmake. Doing a find grep, I don't


... 




Is this in a new build directory? CMake won't overwrite the CMAKE_CXX_COMPILER an CMAKE_C_COMPILER variables it picked up the first time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140312/44fad6b1/attachment.html>


More information about the vtkusers mailing list