[vtkusers] Error linkage: vtkDepthSortPolyData

nugg jsantam.hm at hotmail.com
Tue Oct 28 05:16:45 EDT 2008


Hi Amy,


Peter F Bradshaw wrote:
> 
> Hi;
> 
> On Mon, 27 Oct 2008, nugg wrote:
> 
>>
>> Hi,
>>
>>    I don't...how can I do that?
> 
> You have not said what build system you are using so it is hard to say.
> But working backwards you need a '-lvtkHybrid' on the 'ld' command line.
> So, if you are using 'make' and some make files as your build system,
> you could look for an assignment that includes '-lvtkCommon' and append
> '-lvtkHybrid' to that.
> 
> 
> 
> I'm using cmake. I've just included vtkHybrid in the CMakeList.txt's line
> 
> TARGET_LINK_LIBRARIES(Viewer vtkRendering vtkHybrid)
> 
> and recall the 'cmake .' command in order to generate the corresponding
> Makefile. Now, the code linkes such a library :)
> 
> A lot of thanks.
> 
> 
> 
>>
>> Sorry.
>>
>>
>> Amy Squillacote-3 wrote:
>> >
>> > Did you link against the vtkHybrid library?
>> >
>> > - Amy
>> >
>> > nugg wrote:
>> >> Hi all,
>> >>   I have the following compiling message:
>> >> Viewer.cxx:(.text+0x4142): undefined reference
>> >> to`vtkDepthSortPolyData::New()'collect2: ld devolvió el estado de
>> salida
>> >> 1make[2]: *** [Viewer] Error 1make[1]: *** [CMakeFiles/Viewer.dir/all]
>> >> Error 2make: *** [all] Error 2
>> >> As for other classes, I included its corresponding head file:
>> >> #include "vtkDepthSortPolyData.h"
>> >> Any advice?-- View this message in context:
>> >>
>> http://www.nabble.com/Error-linkage%3A-vtkDepthSortPolyData-tp20176277p20176277.htmlSent
>> >> from the VTK - Users mailing list archive at Nabble.com.
>> >> _______________________________________________This is the private VTK
>> >> discussion list.Please keep messages on-topic. Check the FAQ at:
>> >> http://www.vtk.org/Wiki/VTK_FAQFollow this link to
>> >> subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers
>> >>
>> >>
>> >>
>> >
>> > --
>> > Amy Squillacote                    Phone: (256) 726-4839
>> > Computer Scientist                 Fax: (256) 726-4806
>> > CFD Research Corporation           Web: http://www.cfdrc.com
>> > 215 Wynn Drive, Suite 501
>> > Huntsville, AL  35805
>> >
>> >
> 
> Cheers
> 
> -- 
> Peter F Bradshaw: http://www.exadios.com (public keys avaliable there).
> Personal site: http://personal.exadios.com
> "I love truth, and the way the government still uses it occasionally to
>  keep us guessing." - Sam Kekovich.
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-linkage%3A-vtkDepthSortPolyData-tp20176277p20203690.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list