[vtkusers] FLTK+VTK

Marcelo Costa Oliveira marcelo at cci.fmrp.usp.br
Fri Nov 17 06:40:06 EST 2000


Hi, My friend's.

My new problem is : i think my makefile is correct now but this error
appear


[root at cad5 vtkFlWindow]# make all
g++ -w -g -D LINUX -I/usr/include/FL -I/usr/local/include/vtk/common
-I/usr/local/include/vtk/graphics -I/usr/local/include/vtkpatented
-I/usr/local/include/vtk -c Fl_vtk_Window.cc
Fl_vtk_Window.cc: In function `void camera_translate(class vtkCamera *,
float, float, float)':
Fl_vtk_Window.cc:61: `M_PI' undeclared (first use this function)
Fl_vtk_Window.cc:61: (Each undeclared identifier is reported only once
Fl_vtk_Window.cc:61: for each function it appears in.)
Fl_vtk_Window.cc: In function `void camera_rotate(class vtkCamera *,
float, float, float)':
Fl_vtk_Window.cc:80: confused by earlier errors, bailing out
make: *** [Fl_vtk_Window.o] Error 1

Exist any probably of error in program (in case M_PI undeclared) or my
makefile is rong .

Tank's for your pacient in help me.

Marcelo.






More information about the vtkusers mailing list