I have written a very simple code for creating an actor and assigning cube axis to it through vtkCubeAxesActor2D.<br />
But for some reason I am having trouble initializing the "vtkCubeAxesActor2D" object.<br />
While building I the following error. <br />
<br />
raashid@raashid:~/learning_qt/qt_4_3_4/Nano_demo/viewer_demo_vtk$ make<br />
Scanning dependencies of target profile<br />
[100%] Building CXX object CMakeFiles/profile.dir/profile.o<br />
Linking CXX executable profile<br />
CMakeFiles/profile.dir/profile.o: In function `main':<br />
profile.cxx:(.text+0x2da): undefined reference to `vtkCubeAxesActor2D::New()'<br />
collect2: ld returned 1 exit status<br />
make[2]: *** [profile] Error 1<br />
make[1]: *** [CMakeFiles/profile.dir/all] Error 2<br />
make: *** [all] Error 2<br />
<br />
I can't figure out whats wrong with my program ?<br />
I am using vtk5.4.0 on a linux system.<br />
Can someone please take a look at the attached files and explain what am I doing wrong ?<br />
Thanks in advance.<br />
Raashid<br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>