[vtkusers] Weird link error - possibly 4.7.1??
Andrea Brambilla
andrea.bram at gmail.com
Mon Nov 19 16:17:24 EST 2012
Yes, I have dynamic libraries, but I have 2 completely separate projects
for compiling VTK, 1 for the Release and one for the Debug, and I have no
overall environment variable set, so I guess they should not interfere
On Mon, Nov 19, 2012 at 10:10 PM, Dženan Zukić <dzenanz at gmail.com> wrote:
> Are you using dynamic libraries? If yes, you can have only one
> Debug/Release dlls on path. I recommend using static linking of VTK.
>
>
> On Mon, Nov 19, 2012 at 2:34 PM, Andrea Brambilla <andrea.bram at gmail.com>wrote:
>
>> Billy Araujo <billyaraujo <at> gmail.com> writes:
>>
>> >
>> >
>> > I also get this error:
>> >
>> >
>> > 2>vtkQtBarChart.obj : error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)"
>> (__imp_?IsNan <at> vtkMath <at> <at> SAHN <at> Z) referenced in function
>> "public: virtual void __thiscall vtkQtBarChart::layoutChart(class QRectF
>> const
>> &)" (?layoutChart <at> vtkQtBarChart <at> <at> UAEXABVQRectF <at> <at>
>> <at>
>> Z)
>> >
>> > 2>vtkQtChartSeriesModelRange.obj : error LNK2001: unresolved external
>> symbol
>> "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)"
>> (__imp_?IsNan <at> vtkMath <at> <at> SAHN <at> Z)
>> > 2>vtkQtLineChart.obj : error LNK2001: unresolved external symbol
>> "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)"
>> (__imp_?IsNan <at> vtkMath <at> <at> SAHN <at> Z)
>> >
>> >
>> >
>> > I have built previous version of VTK with no problem.
>> > I am using version 5.10.1.
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>>
>>
>> I get that same error, but only when I compile in Debug mode, when I
>> compile in
>> Release everything works fine!
>> Does anyone has any idea of why does that happen?
>>
>>
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121119/e95395ac/attachment.htm>
More information about the vtkusers
mailing list