2013/2/3 Nilesh Govindrajan <m...@nileshgr.com>

> 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.
>

In fact it is not. And I've also tried everything else in this topic. No
results.

The files are there, but the compiler can't find then at compilation time.


Before the compilation starts it displays:

-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
Using shared zlib
GLEW found
Cg not found
CgGL not found
-- Found wxWidgets: TRUE



>
> --
> Nilesh Govindrajan
> http://nileshgr.com
>
>


-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana

Reply via email to