I recently upgraded from an old (Pre-intel) Imac running 10.3.9 to an intel imac with 10.4.10. On my previous machine this program compiled with out an error, now its getting the below compile errors. Any help would be greatly appreciated.
g++ pandraw.cpp -o pandraw -framework GLUT -framework OpenGL -lobjc -lm
/usr/bin/ld: Undefined symbols:
_GLUI_Master
GLUI_Listbox::delete_item(int)
GLUI_Listbox::add_item(int, char const*)
GLUI_Spinner::set_float_limits(float, float, int)
GLUI_EditText::set_float_limits(float, float, int)
GLUI_Master_Object::get_viewport_area(int*, int*, int*, int*)
GLUI_Master_Object::set_glutReshapeFunc(void (*)(int, int))
GLUI_Master_Object::create_glui_subwindow(int, long)
GLUI::add_button(char const*, int, GLUI_CB)
GLUI::add_listbox(char const*, int*, int, GLUI_CB)
GLUI::add_rollout(char const*, int, int)
GLUI::add_edittext(char const*, int, void*, int, GLUI_CB)
GLUI::add_separator()
GLUI::add_button_to_panel(GLUI_Panel*, char const*, int, GLUI_CB)
GLUI::set_main_gfx_window(int)
GLUI::add_spinner_to_panel(GLUI_Panel*, char const*, int, void*, int, GLUI_CB)
GLUI::add_edittext_to_panel(GLUI_Panel*, char const*, int, void*, int, GLUI_CB)
collect2: ld returned 1 exit status
make: *** [Pandraw] Error 1
g++ pandraw.cpp -o pandraw -framework GLUT -framework OpenGL -lobjc -lm
/usr/bin/ld: Undefined symbols:
_GLUI_Master
GLUI_Listbox::delete_item(int)
GLUI_Listbox::add_item(int, char const*)
GLUI_Spinner::set_float_limits(float, float, int)
GLUI_EditText::set_float_limits(float, float, int)
GLUI_Master_Object::get_viewport_area(int*, int*, int*, int*)
GLUI_Master_Object::set_glutReshapeFunc(void (*)(int, int))
GLUI_Master_Object::create_glui_subwindow(int, long)
GLUI::add_button(char const*, int, GLUI_CB)
GLUI::add_listbox(char const*, int*, int, GLUI_CB)
GLUI::add_rollout(char const*, int, int)
GLUI::add_edittext(char const*, int, void*, int, GLUI_CB)
GLUI::add_separator()
GLUI::add_button_to_panel(GLUI_Panel*, char const*, int, GLUI_CB)
GLUI::set_main_gfx_window(int)
GLUI::add_spinner_to_panel(GLUI_Panel*, char const*, int, void*, int, GLUI_CB)
GLUI::add_edittext_to_panel(GLUI_Panel*, char const*, int, void*, int, GLUI_CB)
collect2: ld returned 1 exit status
make: *** [Pandraw] Error 1