[Paraview] Manta plugin for Paraview

David E DeMarle dave.demarle at kitware.com
Thu Jul 22 10:12:03 EDT 2010


In short no, it doesn't build in visual studio.

We spent a day or two trying to get it to build with shared libraries
but could not. We estimate it would take a couple of days more to
finish the modifications to manta that are necessary. Expect a summary
of where we were going with that on the manta mailing list.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Wed, Jul 21, 2010 at 10:51 PM,  <Raymond.Cohen at csiro.au> wrote:
> Hi,
>
> I am having trouble compiling the Manta source code itself under windows
> (XP, VS2008). Has anyone else tried this? The problem is on the line:
>
> Model/AmbientLights/.svn/text-base/AmbientOcclusion.cc.svn-base:68:
>  pair<float, float> sortedSamples[num_directions];
>
> Has anyone else got Manta and also the Manta Plugin for Paraview to work on
> this platform?
>
> Cheers,
> Ray
>
>
>
>
> D:\Manta_src\Manta\Build>nmake
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
> [  0%] Built target About
> [ 23%] Built target Manta_Core
> [ 34%] Built target Manta_Interface
> [ 38%] Built target Manta_Image
> [ 38%] Building CXX object
> Model/CMakeFiles/Manta_Model.dir/AmbientLights/AmbientOcclusion.obj
> AmbientOcclusion.cc
> D:\Manta_src\Manta\Core/Color/RGBTraits.h(51) : warning C4244: 'return' :
> conversion from 'double' to 'Manta::RGBTraits:
> :ComponentType', possible loss of data
> D:\Manta_src\Manta\Core/Color/RGBTraits.h(53) : warning C4244: 'return' :
> conversion from 'double' to 'Manta::RGBTraits:
> :ComponentType', possible loss of data
> D:\Manta_src\Manta\Model/AmbientLights/AmbientOcclusion.h(21) : warning
> C4244: '=' : conversion from 'double' to 'Manta:
> :ColorComponent', possible loss of data
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(27) : warning
> C4244: '=' : conversion from 'double' to 'Manta
> ::ColorComponent', possible loss of data
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(54) : warning
> C4244: '=' : conversion from 'double' to 'Manta
> ::ColorComponent', possible loss of data
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(68) : error
> C2057: expected constant expression
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(68) : error
> C2466: cannot allocate an array of constant size
> 0
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(68) : error
> C2133: 'sortedSamples' : unknown size
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(103) : warning
> C4244: 'initializing' : conversion from 'doubl
> e' to 'float', possible loss of data
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(109) : warning
> C4244: 'initializing' : conversion from 'doubl
> e' to 'float', possible loss of data
> D:\Manta_src\Manta\Model\AmbientLights\AmbientOcclusion.cc(110) : warning
> C4244: '=' : conversion from 'double' to 'floa
> t', possible loss of data
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return
> code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
>
>
> _______________________________________________
> 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
>
>


More information about the ParaView mailing list