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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-05, 04:38 PM   #1
wilycoder
Registered User
 
Join Date: Dec 2005
Posts: 4
Default cannot find -lGL

Hello,

I am a graphics programmer who has made the switch from ATi to nVidia due to Linux support (well performance too). My development platform is an amd64 & 7800GTX-512.

When I try to compile even the simplest of glut apps, the compilation fails.

However,I can run the 64 bit version of ut2004 just fine. So the driver must be in there ok.

Any ideas what is throwing off the linker?

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL

driver: 8174
wilycoder is offline   Reply With Quote
Old 12-13-05, 09:59 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: cannot find -lGL

What are you trying to compile, and what is the command you're using to compile it?

Also, pleae post an nvidia-bug-report.log.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 12-14-05, 01:24 AM   #3
pzgren
Registered User
 
pzgren's Avatar
 
Join Date: Jan 2004
Posts: 107
Default Re: cannot find -lGL

Quote:
Originally Posted by wilycoder
Any ideas what is throwing off the linker?

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL

driver: 8174
This means the include files in /usr/include/GL/* for compiling the app, not the libGL self.
The problem can be the path on a 64bit system, which was /usr/lib64, not /usr/lib on some distributions and/or no xorg-devel / libGL-devel package installed. Which distribution ?

Marcus
__________________
Fedora Core 6
Notebook: DELL Inspiron 9400 - Core Duo T2400 - 17" WUXGA 7800 Go 256MB - 2 GB DDR2 667 MHz -
PC: AMD64 3200 - 1 GB Infi. PC400 - MSI K8N Neo Platinum NForce3 250GB - 80GB SATA Samsung - SB Live! 5.1 - GF 6600GT AGP
pzgren is offline   Reply With Quote
Old 12-14-05, 11:01 AM   #4
wilycoder
Registered User
 
Join Date: Dec 2005
Posts: 4
Default Re: cannot find -lGL

Gentoo 2005.1
wilycoder is offline   Reply With Quote
Old 12-14-05, 11:04 AM   #5
wilycoder
Registered User
 
Join Date: Dec 2005
Posts: 4
Default Re: cannot find -lGL

Quote:
Originally Posted by netllama
What are you trying to compile, and what is the command you're using to compile it?

Also, pleae post an nvidia-bug-report.log.

Thanks,
Lonni

I am trying to compile a particle system demo that I created. The program was previously tested on my laptop, which is also the 64 bit version of Linux, but with a Mobility Radeon 9700.

In short, I haven't really gotten familiar with running nVidia drivers in linux. Does the nVidia driver include the libraries that g++ is looking for?
wilycoder is offline   Reply With Quote
Old 12-14-05, 11:34 AM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: cannot find -lGL

I don't believe that you stated which libraries g++ is looking for. The nvidia driver installs OpenGL headers by default, along with libGL.so.

You haven't provided very much information. What is the command and output that you're seeing? Please post the bug report I requested.

Thanks,
Lonni
netllama 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
Researchers Find Way to Keep Metal Surfaces Free of Ice News Archived News Items 0 06-18-12 04:40 AM
Kingdoms of Amalur: Reckoning developers find a new home courtesy of Epic Games News Archived News Items 0 06-04-12 10:20 AM
What You'll Find in the Home of the Future: Watch Our Exclusive Video of New York Des News Archived News Items 0 05-25-12 02:00 PM
Error! Linux cannot find my nVidia integrated sound card! Please help! targatop NVIDIA Linux 1 09-08-02 04:55 PM

All times are GMT -5. The time now is 04:00 AM.


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