[vtkusers] undefined reference errors when compiling

Yichuan GU guyichuan at gmail.com
Mon Mar 12 15:37:17 EDT 2012


Hi,

Thanks a lot for responding.

I tried with vtkHybrid, there is now a lot less "undefined reference"
errors. The only two left are

lib/libslu.a(dsp_blas2.o): In function `sp_dtrsv':
>
> dsp_blas2.c:(.text+0x591): undefined reference to `dtrsv_'
>
> dsp_blas2.c:(.text+0x76e): undefined reference to `dtrsv_'
>
>
>
However, this generate some more error code at the begining of the "make"
process like :



trunk/src/super_lu_4/sreadrb.c:186:15: warning: ignoring return value of
> ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]


and

trunk/src/Meth_Projection_Barriere.cpp:56:30: warning: deprecated
>> conversion from string constant to ‘char*’ [-Wwrite-strings]
>
>
>
 Is there a way to remove these new errors ? If not, will them affect the
program ?

Thank you very much !


On Fri, Mar 9, 2012 at 7:45 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> Then try this:
> SET(VTK_LIBRARIES vtkRendering vtkHybrid)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120312/6152dca6/attachment.htm>


More information about the vtkusers mailing list