PDA

View Full Version : Linking problem



ZubZorro
01-18-2002, 02:49 PM
Hi,

I am trying to get nvparse running with my
code but, it is causing me trouble.
I have included the nvparse.h,
and added the nvparse.lib file to my project.

Apparently, it looks for some functions like
glActiveTextureARB and glCombiner...
which I have, but I load the at runtime.

Could i be because I am using VC7 beta?

anyways, I'm hoping someone can give me some hints, I've been looking at it for hours now.

heres the link-errors:



LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
LINK : warning LNK4098: defaultlib 'LIBCD' conflicts with use of other libs; use /NODEFAULTLIB:library
nvparse.lib(nvparse.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerStageParameterfvNV)(unsigned int,unsigned int,float const *)" (?glCombinerStageParameterfvNV@@3P6GXIIPBM@ZA)
nvparse.lib(rc1.0_general.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerStageParameterfvNV)(unsigned int,unsigned int,float const *)" (?glCombinerStageParameterfvNV@@3P6GXIIPBM@ZA)
nvparse.lib(nvparse.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerParameterfvNV)(unsigned int,float const *)" (?glCombinerParameterfvNV@@3P6GXIPBM@ZA)
nvparse.lib(rc1.0_combiners.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerParameterfvNV)(unsigned int,float const *)" (?glCombinerParameterfvNV@@3P6GXIPBM@ZA)
nvparse.lib(nvparse.obj) : error LNK2019: unresolved external symbol _glh_init_extensions referenced in function _nvparse
nvparse.lib(nvparse.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glLoadProgramNV)(unsigned int,unsigned int,int,unsigned char const *)" (?glLoadProgramNV@@3P6GXIIHPBE@ZA)
nvparse.lib(nvparse.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glProgramParameter4fvNV)(unsigned int,unsigned int,float const *)" (?glProgramParameter4fvNV@@3P6GXIIPBM@ZA)
nvparse.lib(nvparse.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glTrackMatrixNV)(unsigned int,unsigned int,unsigned int,unsigned int)" (?glTrackMatrixNV@@3P6GXIIII@ZA)
nvparse.lib(nvparse.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ) referenced in function "private: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$a llocator@D@2@@std@@AAE_NI_N@Z)
nvparse.lib(vs1.0_inst.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ)
nvparse.lib(vs1.0_inst_list.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ)
nvparse.lib(ts1.0_inst_list.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glActiveTextureARB)(unsigned int)" (?glActiveTextureARB@@3P6GXI@ZA)
nvparse.lib(rc1.0_final.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glFinalCombinerInputNV)(unsigned int,unsigned int,unsigned int,unsigned int)" (?glFinalCombinerInputNV@@3P6GXIIII@ZA)
nvparse.lib(rc1.0_final.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerParameteriNV)(unsigned int,int)" (?glCombinerParameteriNV@@3P6GXIH@ZA)
nvparse.lib(rc1.0_general.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerParameteriNV)(unsigned int,int)" (?glCombinerParameteriNV@@3P6GXIH@ZA)
nvparse.lib(rc1.0_general.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerOutputNV)(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned char,unsigned char,unsigned char)" (?glCombinerOutputNV@@3P6GXIIIIIIIEEE@ZA)
nvparse.lib(rc1.0_general.obj) : error LNK2001: unresolved external symbol "void (__stdcall* glCombinerInputNV)(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?glCombinerInputNV@@3P6GXIIIIII@ZA)
Release/RenderingFrame.exe : fatal error LNK1120: 12 unresolved externals