[Plib-users] Failure in using plib ...
Brought to you by:
sjbaker
From: Digvijay S. L. <ds...@ii...> - 2000-10-25 08:16:56
|
Hi! I have recently compiled and installed plib on my redhat 7.0 system. I have the opengl and glut libraries that come with the standard redhat distribution. The compilation was smooth and error free. the problem is that now when ever i use plib functions in a program, though the programs compile correctly but they give the following error on execution: ssgInit called without valid OpenGl context same happend for puInit or with the fntLoader. this happens even with the standard examples with the lib package. Iam sure iam doing all the opengl initialisation correctly. Iam clueless what to do. I tried checking for the context immediately before the call to ssgInit and the context is fine at that place. also the examples for the sl and sg libraries run fine on my system. Let me also mention that opengl programming with glut does not give any errors on my system otherwise. Thanks for the help ... Digvijay PS: there was also another error, in the file that the automatic compilation created the js.h file did not include string.h for linux and so memcpy function was not bieng recognised.... had to do it manually, hope this is corrected in future. |