PDA

View Full Version : NVidia SDK



amendol
04-01-2002, 09:15 PM
Has anyone gotten the thing to compile?

Any patches/steps?

Jamie

Moshe Nissim
04-02-2002, 12:48 AM
I successfully compiled libnvparse, but didn't try very hard on other demos. It seems that sme half-hearted linux effort has gone into some of the codes. libnvparse was quite close to being completely 'linux ready', but not 100%
nVidia recently released a new SDK, perhaps the linux side of it is brushed up. I didn't try it yet

jra101
04-02-2002, 05:42 PM
The recently released SDK has significant improvements in Linux compatibility. All the libraries, tools, and demos should compile with no problems.

You can also access the SDK using CVS and download updates as they come out. Instructions for accessing the CVS repository can be found here:

http://developer.nvidia.com/docs/IO/1462/SUPP/AutoupdateGuide.htm

Report issues to sdkfeedback@nvidia.com or email me directly.

amendol
04-04-2002, 08:50 AM
OK, I did a new cvs update. Did some work-around comments in gl.h, and glxtokens.h. Recompiled, and all the demos (except a couple with missing Makefiles) worked perfectly. Good work!

Jamie

04-10-2002, 10:09 AM
I am about to download the SDK as was wondering what the required "work-around comments" in gl.h and glxtokens.h were.

Thanks,

-- Dan

jra101
04-10-2002, 10:17 AM
If you use the gl.h and glxtokens.h that ship with the current NVIDIA drivers you will need to comment out the sections that #define GL extensions

For example, in gl.h you can find something like this:

#define GL_ARB_multitexture 1
#define GL_ARB_texture_cube_map 1

Its a large section that should be commented out. You need to do this because the extension loading library used in most of the demos checks to see if these extensions are defined and if they are, it does nothing. Which means that no function types are declared and you get all sorts of compiler errors.

There is a similar but smaller section in glxtokens.h that #defines some pbuffer stuff and it will need to be commented out as well.

EDIT: Please note, the CVS server is currently down but should be fixed by the end of this week.

[This message has been edited by jra101 (edited 04-10-2002).]

04-10-2002, 10:49 AM
Thanks! I'll give a shot later when CVS server is back up.

MightyPit
04-11-2002, 05:18 AM
Hi,
I still got a problem in the pbuffer.cpp:
glXDestroyGLXPbufferSGIX,
glXChooseFBConfigSGIX,
glXCreateGLXPbufferSGIX,
glXCreateContextWithConfigSGIX,
glXQueryGLXPbufferSGIX,
are unknown.
i commended all #defines out
which looks like #define foo 1
in gl.h and glxtokens.h

would be nice to hear the solution from you nvsdk-gurus :-D

greetings
Peter

jra101
04-11-2002, 05:50 AM
Where did you get your glx.h and glxtokens.h files from? The latest drivers include these files and have definitions for those functions, you might need to overwrite your existing header files (save a copy first) with the ones that come with our drivers.

MightyPit
04-11-2002, 06:26 AM
Thanks. The files were old. with the new ones, the error doesnt occur anymore.

greetings
Peter