Skip to main content
gamedev.net
🔒 Locked

problems with nvparse

Started by prov123 Mar 5, 2004 at 6:41 AM 2 replies 900+ views
Original Post
prov123
prov123
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_extensions
 
below 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;
}
prov123
prov123
i linked with ''nvparse.lib''. are there other libs i need?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.