• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 1182 1183 1184 1185 1186 ... 1198 Next »

[SOLVED] Scons can't find shader libraries on Gentoo GNU/Linux
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[SOLVED] Scons can't find shader libraries on Gentoo GNU/Linux
07-01-2009, 05:23 PM (This post was last modified: 07-01-2009, 05:51 PM by itzamna.)
#5
itzamna Offline
Junior Member
**
Posts: 20
Threads: 2
Joined: Mar 2009
I fear the location of the shader headers is hardcoded, and is not using pkg-config. I'll try to see how I can fix this.

Update: I found a workaround for the problem. It appears the Gentoo ports system installs nvidia-cg-toolkit on the /opt directory (third party software directory). All I had to do were the following things:

1) make a symbolic link from /usr/lib64/libCg.so and /usr/lib64/libCgGL.so to /opt/nvidia-cg-toolkit/lib/libCg.so and /opt/nvidia-cg-toolkit/lib/libCgGL.so:

Code:
ln -s /opt/nvidia-cg-toolkit/lib/libCg.so /usr/lib64/libCg.so
ln -s /opt/nvidia-cg-toolkit/lib/libCgGL.so /usr/lib64/libCgGL.so

This holds for a 64-bit Gentoo GNU/Linux system. If you're on a 32-bit system, replace /usr/lib64/ with /usr/lib/.

2) copy the /opt/nvidia-cg-toolkit/include/Cg/ directory to /usr/include/.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
[SOLVED] Scons can't find shader libraries on Gentoo GNU/Linux - itzamna - 06-30-2009, 07:13 PM
RE: Scons can't find shader libraries - abfab126 - 06-30-2009, 07:20 PM
RE: Scons can't find shader libraries - itzamna - 06-30-2009, 08:14 PM
RE: Scons can't find shader libraries - gcp111 - 07-01-2009, 06:08 AM
RE: Scons can't find shader libraries - itzamna - 07-01-2009, 05:23 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode