On Sun, Feb 3, 2013 at 7:10 PM, João Matos <jaon...@gmail.com> wrote: > Dear list, > > I'm trying to build dolphin-emu from gamerlay, and I got the following > error: > > > error: Cg/cg.h: No such file or directory > > But the file actually exists: > > /opt/nvidia-cg-toolkit/include/Cg/cg.h > > Should it be a problem that I can solve myself? > > I thought so, than I've made a symlink for /opt/nvidia-cg-toolkit/include/Cg > at /usr/include. The compilation took a little longer, but later, I've got > the following: > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: > cannot find -lCg > /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: > cannot find -lCgGL > > It happen when I'm using ggc 4.6. But I also have the 4.4, that gives me a > differtent error message: > > /var/tmp/portage/games-emulation/dolphin-emu-3.0/work/dolphin-emu-3.0/Source/Plugins/Plugin_VideoSoftware/Src/../../Plugin_VideoOGL/Src/GLUtil.h:120: > error: 'CGcontext' does not name a type > /var/tmp/portage/games-emulation/dolphin-emu-3.0/work/dolphin-emu-3.0/Source/Plugins/Plugin_VideoSoftware/Src/../../Plugin_VideoOGL/Src/GLUtil.h:121: > error: 'CGprofile' does not name a type > > It seems to be some environment detail, but I can't figure it by myself. >
You might want to have a look here - http://forums.gentoo.org/viewtopic-t-894512-start-0.html Also it seems it is media-gfx/nvidia-cg-toolkit which is probably missing in your system. -- Nilesh Govindrajan http://nileshgr.com