Gentoo Archives: gentoo-user

From: "João Matos" <jaoneto@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] error: Cg/cg.h: No such file or directory
Date: Sun, 03 Feb 2013 13:41:28
Message-Id: CAP4tJZJdKXpJoqNRDq1+EmO_ACHcJo=tC5Swimq68P-y1EJDQw@mail.gmail.com
1 Dear list,
2
3 I'm trying to build dolphin-emu from gamerlay, and I got the following
4 error:
5
6
7 error: Cg/cg.h: No such file or directory
8
9 But the file actually exists:
10
11 /opt/nvidia-cg-toolkit/include/Cg/cg.h
12
13 Should it be a problem that I can solve myself?
14
15 I thought so, than I've made a symlink for
16 /opt/nvidia-cg-toolkit/include/Cg at /usr/include. The compilation took a
17 little longer, but later, I've got the following:
18
19 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld:
20 cannot find -lCg
21 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld:
22 cannot find -lCgGL
23
24 It happen when I'm using ggc 4.6. But I also have the 4.4, that gives me a
25 differtent error message:
26
27 /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:
28 error: 'CGcontext' does not name a type
29 /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:
30 error: 'CGprofile' does not name a type
31
32 It seems to be some environment detail, but I can't figure it by myself.
33
34 --
35 João de Matos
36 Linux User #461527
37 Graduando em Engenharia de Computação 2005.1
38 UEFS - Universidade Estadual de Feira de Santana

Attachments

File name MIME type
emrege --info application/octet-stream

Replies

Subject Author
Re: [gentoo-user] error: Cg/cg.h: No such file or directory Nilesh Govindrajan <me@××××××××.com>
[gentoo-user] Re: error: Cg/cg.h: No such file or directory nunojsilva@×××××××.pt