Error on compile with GLUI

Discussion in 'Mac Programming' started by saberslash, Sep 9, 2007.

  1. saberslash macrumors newbie

    Joined:
    Sep 9, 2007
    #1
    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
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Looks like GLUI is missing. Did you install it?
     
  3. Sayer macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
  4. saberslash thread starter macrumors newbie

    Joined:
    Sep 9, 2007
    #4
    I believe I did. I went and recompiled the GLUI folder on my new machine, or did I miss a step?
     
  5. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000

Share This Page