Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

prov123

problems with nvparse

This topic is 5276 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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;
}

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
did you link the neccesary libraries for your program?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I dont know. Try searching opengl.org to find out if you need any other libraries.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!