Results 1 to 2 of 2

Thread: linking problems

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2011
    Posts
    1

    linking problems

    Hello everybody
    I have to modify a very bis application which uses Opengl functions. My task is to modify this application but I don't have to take care about what opengl is or does. Anyway I need to install this library because I need to compile my code
    I've installed Opengl (glut, dlu, glui and freeglut and opengl) but at linkingtime with microsoft visual c++ 2008 I get always these errors:
    1>LINK : warning LNK4098: defaultlib 'LIBCD' conflicts with use of other libs; use /NODEFAULTLIB:library
    1>drawGUI.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: class GLUI_Spinner * __thiscall GLUI::add_spinner_to_panel(class GLUI_Panel *,char const *,int,void *,int,class GLUI_CB)" (?add_spinner_to_panel@GLUI@@QAEPAVGLUI_Spinner@@P AVGLUI_Panel@@PBDHPAXHVGLUI_CB@@@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: class GLUI * __thiscall GLUI_Master_Object::create_glui(char const *,long,int,int)" (?create_glui@GLUI_Master_Object@@QAEPAVGLUI@@PBDJ HH@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_Panel::GLUI_Panel(class GLUI_Node *,char const *,int)" (??0GLUI_Panel@@QAE@PAVGLUI_Node@@PBDH@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_Listbox::GLUI_Listbox(class GLUI_Node *,char const *,int *,int,class GLUI_CB)" (??0GLUI_Listbox@@QAE@PAVGLUI_Node@@PBDPAHHVGLUI_C B@@@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: int __thiscall GLUI_Listbox::add_item(int,char const *)" (?add_item@GLUI_Listbox@@QAEHHPBD@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_Button::GLUI_Button(class GLUI_Node *,char const *,int,class GLUI_CB)" (??0GLUI_Button@@QAE@PAVGLUI_Node@@PBDHVGLUI_CB@@@ Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_Spinner::GLUI_Spinner(class GLUI_Node *,char const *,int,void *,int,class GLUI_CB)" (??0GLUI_Spinner@@QAE@PAVGLUI_Node@@PBDHPAXHVGLUI_ CB@@@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_Checkbox::GLUI_Checkbox(class GLUI_Node *,char const *,int *,int,class GLUI_CB)" (??0GLUI_Checkbox@@QAE@PAVGLUI_Node@@PBDPAHHVGLUI_ CB@@@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_Rollout::GLUI_Rollout(class GLUI_Node *,char const *,int,int)" (??0GLUI_Rollout@@QAE@PAVGLUI_Node@@PBDHH@Z)
    1>drawGUI.obj : error LNK2001: unresolved external symbol "public: __thiscall GLUI_EditText::GLUI_EditText(class GLUI_Node *,char const *,int,int,class GLUI_CB)" (??0GLUI_EditText@@QAE@PAVGLUI_Node@@PBDHHVGLUI_CB @@@Z)


    can you help me please?
    thank you

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Karachi, Pakistan
    Posts
    810

    Re: linking problems

    Does your linker->input->additional libraries contains glui32.lib
    Regards,
    Mobeen

Similar Threads

  1. having problems linking
    By codecrank in forum OpenGL: Linux
    Replies: 3
    Last Post: 01-31-2004, 02:31 PM
  2. problems with *.lib linking.
    By zenon in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-21-2003, 11:48 AM
  3. glx linking problems... please help !
    By Monseigneur in forum OpenGL: Linux
    Replies: 2
    Last Post: 04-09-2002, 12:42 AM
  4. linking problems
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-01-2002, 01:14 AM
  5. problems with VC++ and linking
    By dirtmaster in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 07-19-2001, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean