[vtkusers] VtkRendering*.dll not created

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Thu Jun 26 07:45:00 EDT 2003


Bernadette,

	This is a known bug which couldn't be fix on time for the 4.2.2 
release. If you want you can download it from here:

http://public.kitware.com/cgi-bin/cvsweb.cgi/~checkout~/VTK/Rendering/vtkScalarBarActor.cxx?rev=1.50&content-type=text/plain&cvsroot=VTK&sortby=date

HTH
mathieu

Bernadette Louat wrote:
> Here is the error message I got when vtkRendering*.dll are supposed to be
> created:
> soft\vtk\VTK-4.2.2\Rendering\vtkScalarBarActor.cxx(357) : error C2666: 'pow'
> : 7 overloads have similar conversions
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(620):
> could be 'long double pow(long double,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(618):
> or 'long double pow(long double,long double)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(572):
> or 'float pow(float,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(570):
> or 'float pow(float,float)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(534):
> or 'double pow(int,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(532):
> or 'double pow(double,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(195):
> or 'double pow(double,double)'
> 
> while trying to match the argument list '(int, float)'
> 
> c:\soft\vtk\VTK-4.2.2\Rendering\vtkScalarBarActor.cxx(536) : error C2666:
> 'pow' : 7 overloads have similar conversions
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(620):
> could be 'long double pow(long double,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(618):
> or 'long double pow(long double,long double)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(572):
> or 'float pow(float,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(570):
> or 'float pow(float,float)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(534):
> or 'double pow(int,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(532):
> or 'double pow(double,int)'
> 
> d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\math.h(195):
> or 'double pow(double,double)'
> 
> while trying to match the argument list '(int, float)'
> 
> Visual Studio does not know math.h???
> 
> 
> ----- Original Message -----
> 
> From: "Bernadette Louat" <bernadette.louat2 at mail.dcu.ie>
> To: "vtk users" <vtkusers at public.kitware.com>
> Sent: Thursday, June 26, 2003 12:17 PM
> Subject: Re: [vtkusers] VtkRendering*.dll not created
> 
> 
> 
>>yes, I know , and it is ON, that is why I don't understand?!!?!
>>here is an extract of  CMakeCache.text:
>>//Use the ANSI standard iostream library.
>>VTK_USE_ANSI_STDLIB:BOOL=ON
>>
>>//Build the vtkHybrid kit.
>>VTK_USE_HYBRID:BOOL=OFF
>>
>>//Use mangled Mesa with OpenGL.
>>VTK_USE_MANGLED_MESA:BOOL=OFF
>>
>>//Build the vtkParallel kit.
>>VTK_USE_PARALLEL:BOOL=OFF
>>
>>//Build the vtkPatented kit.  These classes are patented and may
>>// require a license to use.
>>VTK_USE_PATENTED:BOOL=ON
>>
>>//Build the vtkRendering kit.  Needed for displaying data.
>>VTK_USE_RENDERING:BOOL=ON
>>
>>//Use the system's expat library.
>>VTK_USE_SYSTEM_EXPAT:BOOL=OFF
>>
>>//Use the system's jpeg library.
>>VTK_USE_SYSTEM_JPEG:BOOL=OFF
>>
>>//Use the system's png library.
>>VTK_USE_SYSTEM_PNG:BOOL=OFF
>>
>>//Use the system's tiff library.
>>VTK_USE_SYSTEM_TIFF:BOOL=OFF
>>
>>//Use the system's zlib library.
>>VTK_USE_SYSTEM_ZLIB:BOOL=OFF
>>
>>//Build VTK with VolumePro support.
>>VTK_USE_VOLUMEPRO:BOOL=OFF
>>
>>//Where can the hints file be found
>>VTK_WRAP_HINTS:FILEPATH=C:/soft/vtk/VTK-4.2.2/Wrapping/hints
>>
>>//Wrap VTK classes into the Java language.
>>VTK_WRAP_JAVA:BOOL=ON
>>
>>//Path to an internal program.
>>VTK_WRAP_JAVA_EXE:FILEPATH=D:/Program
>>Files/vtk42/bin/$(IntDir)/vtkWrapJava.exe
>>
>>//Wrap VTK classes into the Python language.
>>VTK_WRAP_PYTHON:BOOL=OFF
>>----- Original Message -----
>>From: "de Boer Ingo" <I.deBoer at polytec.de>
>>To: "Bernadette Louat" <bernadette.louat2 at mail.dcu.ie>
>>Sent: Thursday, June 26, 2003 12:15 PM
>>Subject: AW: [vtkusers] VtkRendering*.dll not created
>>
>>
>>
>>>I built VTK with Visual Studio .NET, everything is fine,
>>>but the 3 libraries VtkRendering*.dll are not created.
>>
>>Rendering is an option in CMake, also the java,tcl wrapper...
>>
>>greets
>>  Ingo
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at:
> 
> <http://public.kitware.com/cgi-bin/vtkfaq>
> 
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>>
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list