[vtkusers] Library foe vtkAxesActor

David Doria daviddoria at gmail.com
Tue Dec 13 07:47:23 EST 2011


On Tue, Dec 13, 2011 at 6:44 AM, rimaS <rima.sb4 at gmail.com> wrote:
> Hi all,
>  Does someone know which library should i add for vtkAxesActor?
> 'cause i tried to use this class but i get this error when running: "error
> LNK2019: unresolved external symbol "public: static class vtkAxesActor
> *...", and i think it means my code doesn't find source, am i right?
> I need your help please.
> thank you in advance.
> Rima

It is in vtkHybrid. You can find this information by simply looking at
which directory the file is in:

cd src/VTK
find . -name vtkAxesActor.h

will show you

src/VTK/Hybrid/vtkAxesActor.h

More importantly, you should be using

target_link_libraries(YourProgram ${VTK_LIBRARIES})

to avoid needing to know this sort of information.

David



More information about the vtkusers mailing list