public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] error: Cg/cg.h: No such file or directory
  @ 2013-02-03 14:30 99% ` Nilesh Govindrajan
  0 siblings, 0 replies; 1+ results
From: Nilesh Govindrajan @ 2013-02-03 14:30 UTC (permalink / raw
  To: Gentoo User Mailing List

On Sun, Feb 3, 2013 at 7:10 PM, João Matos <jaoneto@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


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-02-03 13:40     [gentoo-user] error: Cg/cg.h: No such file or directory João Matos
2013-02-03 14:30 99% ` Nilesh Govindrajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox