Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-02-03, 02:55 PM   #1
gradzac
Registered User
 
Join Date: Mar 2003
Posts: 2
Send a message via AIM to gradzac
Question static version of nvidia libGL??

Is there a way that I can get a static version of the nvidia OpenGL library? I'm working on a program that I would like to statically link and libGL is the only dependency that is preventing me from linking.

Thanks,
Ben
gradzac is offline   Reply With Quote
Old 03-02-03, 03:41 PM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

There won't be a static linked version of the nvidia libGL.so. Static linking is bad for OpenGL, it would limit you to the use of the nvidia drivers. Likely the reason no static lib exists is because of licensing. It would make linking with a GPL app impossible ..
Thunderbird is offline   Reply With Quote
Old 03-04-03, 07:06 AM   #3
gradzac
Registered User
 
Join Date: Mar 2003
Posts: 2
Send a message via AIM to gradzac
Default

Quote:
Originally posted by Thunderbird
There won't be a static linked version of the nvidia libGL.so. Static linking is bad for OpenGL, it would limit you to the use of the nvidia drivers. Likely the reason no static lib exists is because of licensing. It would make linking with a GPL app impossible ..
Why is static linking bad for OpenGL? Does it somehow change how the libs work? I know that the systems I will run my program on use nvidia hardware so I am not worried about being limited to that.

How do you think that licensing would be an issue? I'm not planning on releasing any of my software, so I am under no obligation to release source and I can do as I please with the source to GPL libs that I have.

NVIDIA: if you are going to release a shared lib in your package, why can't you also include a static one?
gradzac is offline   Reply With Quote
Old 03-04-03, 03:05 PM   #4
merlin42
Registered User
 
Join Date: Sep 2002
Posts: 52
Default

Please explain why you want to statically link your app?

One of the major selling points of OpenGL is that it is hardware independant, statically linking negates this independance. In fact a statically linked application wouldn't even work with after a different version of the drivers was installed (libGL.so depends on the kernel module and the X drivers).

Providing a static version of the library would be a support headache for nvidia, and provide essentially 0 benifit to their customes (except you perhaps), I do a lot of OpenGL development and I have never had the need or desire for a statically linked libGL.so. If they did provide a static version then some idiot would (possibly unintentionally) statically link and redistribute an app, which would probably make nvidia look bad even though they were not _really_ to blame.

Well, now that I think about it I could imagine wanting to statically link Mesa so that you could have a reference version of your app that used a software renderer, but there is no reason to statically link a vendor supplied libGL.so.
merlin42 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM

All times are GMT -5. The time now is 10:57 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.