[Insight-developers] Wrapping link warnings on VS7

Bill Hoffman bill . hoffman at kitware . com
Mon, 04 Aug 2003 15:20:23 -0400


We need to put a pragma in.   This is a side effect of the way
swig does tcl, and dll's.   

-Bill


At 03:05 PM 8/4/2003, Lorensen, William E (Research) wrote:
>Folks,
>I get dozens of warnings when I link wrapped code under VS7.
>
>Any ideas?
>
>Linking...
>   Creating library
>C:\lorensen\Insight-net\bin\RelWithDebInfo\ITKAlgorithmsTcl.lib and object
>C:\lorensen\Insight-net\bin\RelWithDebInfo\ITKAlgorithmsTcl.exp
>wrap_itkNormalizedCorrelationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_
>Imagelpshort_unsigned_intc_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_I
>magelpshort_unsigned_intc_3Pg_Pg___) imported
>wrap_itkMattesMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_
>Imagelpshort_unsigned_intc_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_I
>magelpshort_unsigned_intc_3Pg_Pg___) imported
>wrap_itkMeanReciprocalSquareDifferenceImageToImageMetricTcl.obj : warning
>LNK4049: locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_
>Imagelpshort_unsigned_intc_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_I
>magelpshort_unsigned_intc_3Pg_Pg___) imported
>wrap_itkMeanSquaresImageToImageMetricTcl.obj : warning LNK4049: locally
>defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_
>Imagelpshort_unsigned_intc_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_I
>magelpshort_unsigned_intc_3Pg_Pg___) imported
>wrap_itkMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_
>Imagelpshort_unsigned_intc_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_3Pgcitk_I
>magelpshort_unsigned_intc_3Pg_Pg___) imported
>wrap_itkNormalizedCorrelationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_
>Imagelpshort_unsigned_intc_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_I
>magelpshort_unsigned_intc_2Pg_Pg___) imported
>wrap_itkMattesMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_
>Imagelpshort_unsigned_intc_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_I
>magelpshort_unsigned_intc_2Pg_Pg___) imported
>wrap_itkMeanReciprocalSquareDifferenceImageToImageMetricTcl.obj : warning
>LNK4049: locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_
>Imagelpshort_unsigned_intc_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_I
>magelpshort_unsigned_intc_2Pg_Pg___) imported
>wrap_itkMeanSquaresImageToImageMetricTcl.obj : warning LNK4049: locally
>defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_
>Imagelpshort_unsigned_intc_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_I
>magelpshort_unsigned_intc_2Pg_Pg___) imported
>wrap_itkMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_
>Imagelpshort_unsigned_intc_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpshort_unsigned_intc_2Pgcitk_I
>magelpshort_unsigned_intc_2Pg_Pg___) imported
>wrap_itkNormalizedCorrelationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc
>_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc_
>3Pg_Pg___) imported
>wrap_itkMattesMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc
>_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc_
>3Pg_Pg___) imported
>wrap_itkMeanReciprocalSquareDifferenceImageToImageMetricTcl.obj : warning
>LNK4049: locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc
>_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc_
>3Pg_Pg___) imported
>wrap_itkMeanSquaresImageToImageMetricTcl.obj : warning LNK4049: locally
>defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc
>_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc_
>3Pg_Pg___) imported
>wrap_itkMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc
>_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_3Pgcitk_Imagelpfloatc_
>3Pg_Pg___) imported
>wrap_itkNormalizedCorrelationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc
>_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc_
>2Pg_Pg___) imported
>wrap_itkMattesMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc
>_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc_
>2Pg_Pg___) imported
>wrap_itkMeanReciprocalSquareDifferenceImageToImageMetricTcl.obj : warning
>LNK4049: locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc
>_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc_
>2Pg_Pg___) imported
>wrap_itkMeanSquaresImageToImageMetricTcl.obj : warning LNK4049: locally
>defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc
>_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc_
>2Pg_Pg___) imported
>wrap_itkMutualInformationImageToImageMetricTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc
>_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_ImageToImageMetriclpitk_Imagelpfloatc_2Pgcitk_Imagelpfloatc_
>2Pg_Pg___) imported
>wrap_itkSimpleFuzzyConnectednessScalarImageFilterTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpshort_u
>nsigned_intc_2Pgcitk_Imagelpshort_unsigned_intc_2Pg_Pg___@@3Uswig_class@@A
>(struct swig_class
>_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpshort_un
>signed_intc_2Pgcitk_Imagelpshort_unsigned_intc_2Pg_Pg___) imported
>wrap_itkSimpleFuzzyConnectednessScalarImageFilterTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpfloatc_
>3Pgcitk_Imagelpfloatc_3Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpfloatc_3
>Pgcitk_Imagelpfloatc_3Pg_Pg___) imported
>wrap_itkSimpleFuzzyConnectednessScalarImageFilterTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpfloatc_
>2Pgcitk_Imagelpfloatc_2Pg_Pg___@@3Uswig_class@@A (struct swig_class
>_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpfloatc_2
>Pgcitk_Imagelpfloatc_2Pg_Pg___) imported
>wrap_itkSimpleFuzzyConnectednessScalarImageFilterTcl.obj : warning LNK4049:
>locally defined symbol
>?_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpshort_u
>nsigned_intc_3Pgcitk_Imagelpshort_unsigned_intc_3Pg_Pg___@@3Uswig_class@@A
>(struct swig_class
>_wrap_class_itk_SimpleFuzzyConnectednessImageFilterBaselpitk_Imagelpshort_un
>signed_intc_3Pgcitk_Imagelpshort_unsigned_intc_3Pg_Pg___) imported
>
>Build log was saved at
>"file://c:\lorensen\Insight-net\Wrapping\CSwig\Algorithms\RelWithDebInfo\Bui
>ldLog.htm"
>ITKAlgorithmsTcl - 0 error(s), 24 warning(s)
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk . org
>http://www . itk . org/mailman/listinfo/insight-developers