Original Post
hi,
i'' trying to use nvparse() (windows/visual studio6) but when try to link the project i recive the following error:
nvparse.lib(nvparse.obj) : error LNK2001: unresolved external symbol _glh_init_extensionsbelow tehre is a sample programm where i get this error. i have included nvparse.lib. are there other libs i have to include? can someone plz help me? tnaks!
#include <iostream>
#include <cstdlib>
#include <GL/glut.h>
#include <shared/nvparse.h>
#include <GL/glext.h>
#include <glh_extensions.h>
/* ... */
PFNGLCOMBINERSTAGEPARAMETERFVNVPROC glCombinerStageParameterfvNV;
PFNGLCOMBINERPARAMETERFVNVPROC glCombinerParameterfvNV;
/* ... */
////////////////////////////////
// main
int main(int argc, char **argv){
glutInit(&argc, argv);
// no double buffering since we don''t need no animations
glutInitDisplayMode(GLUT_RGBA | GLUT_SINGLE);
glutInitWindowSize(400,400);
glutCreateWindow("hello world");
nvparse("");
// clear to black
glClearColor(0.0,0.0,0.0,0.0);
glutDisplayFunc(disp);
glutMainLoop();
return 0;
}