public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nilesh Govindrajan <me@nileshgr.com>
To: Gentoo User Mailing List <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] error: Cg/cg.h: No such file or directory
Date: Sun, 3 Feb 2013 20:00:39 +0530	[thread overview]
Message-ID: <CAHgBc-sX4YwJk2fZzmaU-T8T6bbOvjcCOEHup=a+JQgw19Nc+g@mail.gmail.com> (raw)
In-Reply-To: <CAP4tJZJdKXpJoqNRDq1+EmO_ACHcJo=tC5Swimq68P-y1EJDQw@mail.gmail.com>

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


  reply	other threads:[~2013-02-03 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-03 13:40 [gentoo-user] error: Cg/cg.h: No such file or directory João Matos
2013-02-03 14:30 ` Nilesh Govindrajan [this message]
2013-02-03 15:09   ` João Matos
2013-02-04 16:41 ` [gentoo-user] " Nuno Silva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHgBc-sX4YwJk2fZzmaU-T8T6bbOvjcCOEHup=a+JQgw19Nc+g@mail.gmail.com' \
    --to=me@nileshgr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox