|
From: William H. T. <ts...@ro...> - 2003-06-04 02:37:52
|
Hi there,
Thanks to Steve Baker, the undeclared down was fixed.
However, I encounter another compiling problem, which I
believe, has something to do with FLTK again.
Any suggestions? Thanks in advance.
Cheers,
Bill
I am using RedHat 7.2. Below is the long error message:
c++ -g -O2 -O6 -Wall -o ppe ppeMad.o ppe.o ../src/gui/libppegui.a
../src/viewer/libppeviewer.a ../src/core/libppecore.a
../src/material/libppematerial.a ../src/misc/libppemisc.a
../src/fltk-extras/libppefltkextras.a ../src/plugins/libppePlugin.a
../src/structure/libppestructure.a -lpng -lz -ljpeg
-L/usr/lib/python1.5/config -L/usr/local/lib/python1.5/config
-lpython1.5 -lpthread -L/usr/local/lib -L/usr/X11R6/lib -lfltk -lplibfnt
-lplibssgaux -lplibssg -lplibsg -lGLU -lGL -lplibul -L/usr/X11R6/lib
-lSM -lICE -lX11 -lXi -lXext -lXmu -ldl -lm
ppe.o: In function `main':
/home/tsobill/ppe-0.0.1/src/ppe.cxx:209: undefined reference to
`Fl::gl_visual(int, int *)'
../src/gui/libppegui.a(ppeEventHandler.o): In function
`ppeEventHandler::handle(int, ppeViewer *)':
/home/tsobill/ppe-0.0.1/src/gui/../viewer/ppeViewer.h:186: undefined
reference to `Fl_Gl_Window::make_current(void)'
/home/tsobill/ppe-0.0.1/src/gui/../viewer/ppeViewer.h:186: undefined
reference to `Fl_Gl_Window::make_current(void)'
/home/tsobill/ppe-0.0.1/src/gui/../viewer/ppeViewer.h:186: undefined
reference to `Fl_Gl_Window::make_current(void)'
/home/tsobill/ppe-0.0.1/src/gui/../viewer/ppeViewer.h:186: undefined
reference to `Fl_Gl_Window::make_current(void)'
../src/gui/libppegui.a(ppeEventHandler.o): In function
`ppeEventHandler::mouse(int, int, int)':
/home/tsobill/ppe-0.0.1/src/gui/../viewer/ppeViewer.h:186: undefined
reference to `Fl_Gl_Window::make_current(void)'
../src/gui/libppegui.a(ppeEventHandler.o):/home/tsobill/ppe-0.0.1/src/gui/../viewer/ppeViewer.h:186:
more undefined references to `Fl_Gl_Window::make_current(void)' follow
../src/viewer/libppeviewer.a(ppeViewer.o): In function
`ppeViewer::ppeViewer(int, int, int, int, char const *)':
/usr/local/include/FL/Fl_Gl_Window.H:87: undefined reference to
`Fl_Gl_Window virtual table'
/usr/local/include/FL/Fl_Gl_Window.H:87: undefined reference to
`Fl_Gl_Window::init(void)'
../src/viewer/libppeviewer.a(ppeViewer.o): In function
`ppeViewer::ppeViewer(int, int, int, int, char const *)':
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.cxx:277: undefined
reference to `Fl_Gl_Window::~Fl_Gl_Window(void)'
../src/viewer/libppeviewer.a(ppeViewer.o): In function
`ppeViewer::real_init(void)':
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.cxx:283: undefined
reference to `Fl_Gl_Window::make_current(void)'
../src/viewer/libppeviewer.a(ppeViewer.o): In function
`ppeViewer::init(void)':
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.cxx:393: undefined
reference to `Fl_Gl_Window::make_current(void)'
../src/viewer/libppeviewer.a(ppeViewer.o): In function
`ppeViewer::time_out(void)':
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.d.__vt_9ppeViewer+0x14):
undefined reference to `Fl_Gl_Window::resize(int, int, int, int)'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.d.__vt_9ppeViewer+0x18):
undefined reference to `Fl_Gl_Window::flush(void)'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.d.__vt_9ppeViewer+0x1c):
undefined reference to `Fl_Gl_Window::show(void)'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.d.__vt_9ppeViewer+0x20):
undefined reference to `Fl_Gl_Window::hide(void)'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.d.__vt_9ppeViewer+0x24):
undefined reference to `Fl_Gl_Window::draw_overlay(void)'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.t._._9ppeViewer+0x19):
undefined reference to `Fl_Gl_Window::~Fl_Gl_Window(void)'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.t.__tf9ppeViewer+0x11):
undefined reference to `Fl_Gl_Window type_info function'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.gnu.linkonce.t.__tf9ppeViewer+0x17):
undefined reference to `Fl_Gl_Window type_info node'
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h(.ppeViewer::gnu.linkonce.t.becomeCurrent(void)+0x12):
undefined reference to `Fl_Gl_Window::make_current(void)'
../src/viewer/libppeviewer.a(ppePicker.o): In function
`ppePicker::pickSetup(ppeRubberband *)':
/home/tsobill/ppe-0.0.1/src/viewer/ppeViewer.h:186: undefined reference
to `Fl_Gl_Window::make_current(void)'
../src/material/libppematerial.a(thumbnail.o): In function
`Thumbnail::getDrawMode(void)':
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.text+0x29):
undefined reference to `Fl_Gl_Window virtual table'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.text+0x2f):
undefined reference to `Fl_Gl_Window::init(void)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.text+0x9c):
undefined reference to `Fl_Gl_Window::mode(int, int const *)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.text+0xac):
undefined reference to `Fl_Gl_Window::can_do(int, int const *)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.text+0x2e0):
undefined reference to `Fl_Gl_Window::~Fl_Gl_Window(void)'
../src/material/libppematerial.a(thumbnail.o): In function
`Thumbnail::setDrawMode(int)':
/home/tsobill/ppe-0.0.1/src/material/thumbnail.cxx:181: undefined
reference to `Fl_Gl_Window::invalidate(void)'
../src/material/libppematerial.a(thumbnail.o): In function
`Thumbnail::draw(void)':
/home/tsobill/ppe-0.0.1/src/material/thumbnail.cxx:214: undefined
reference to `Fl_Gl_Window::make_current(void)'
../src/material/libppematerial.a(thumbnail.o): In function
`Thumbnail::~Thumbnail(void)':
/home/tsobill/ppe-0.0.1/src/material/thumbnail.cxx:131: undefined
reference to `Fl_Gl_Window::~Fl_Gl_Window(void)'
../src/material/libppematerial.a(thumbnail.o): In function
`Thumbnail::getDrawMode(void)':
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.d.__vt_9Thumbnail+0x14):
undefined reference to `Fl_Gl_Window::resize(int, int, int, int)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.d.__vt_9Thumbnail+0x18):
undefined reference to `Fl_Gl_Window::flush(void)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.d.__vt_9Thumbnail+0x1c):
undefined reference to `Fl_Gl_Window::show(void)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.d.__vt_9Thumbnail+0x20):
undefined reference to `Fl_Gl_Window::hide(void)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.d.__vt_9Thumbnail+0x24):
undefined reference to `Fl_Gl_Window::draw_overlay(void)'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.t.__tf9Thumbnail+0x11):
undefined reference to `Fl_Gl_Window type_info function'
/home/tsobill/ppe-0.0.1/src/material/../../src/material/thumbnail.h(.gnu.linkonce.t.__tf9Thumbnail+0x17):
undefined reference to `Fl_Gl_Window type_info node'
collect2: ld returned 1 exit status
make[2]: *** [ppe] Error 1
|