PDA

View Full Version : linking problems



michele67
02-25-2011, 05:08 AM
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

mobeen
02-25-2011, 08:09 PM
Does your linker->input->additional libraries contains glui32.lib