From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3A7AA138827 for ; Sun, 3 Feb 2013 14:31:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A45B21C071; Sun, 3 Feb 2013 14:31:22 +0000 (UTC) Received: from mail-qc0-f171.google.com (mail-qc0-f171.google.com [209.85.216.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F00221C04A for ; Sun, 3 Feb 2013 14:31:20 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id d1so2359220qca.16 for ; Sun, 03 Feb 2013 06:31:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding :x-gm-message-state; bh=D9xl4FMjltNVBD39kW+jEvfpShnC3v97f6VLPqVpV8c=; b=MKFQGAuMax1kWvzyctlPgKxdGvo6IWPGKk1qswEL+wCqePUvIJ9kmmEFJ76skO1cPQ qUu4GSieQlo5mrmHRSdG19FbkhpoUjoac586ZqPF5vkm/gPA5StQB/nku5qi/Jd9kj8M PgUvDC6R74DPf//BFJXe/CgK0if8WqjugU2RjZ8LusCIBw7oNWHydELaENqr5EbiqqTx dynI6zXzZKPzQ3IvyYEUA2n3WnfyHzZJVWBKwXG9cPaHh4+tEjvdSrnjAhv/oLZV2N6l 40tMay6GCc5JB2MPlJ8wFAr5O4R7mQxyBGaqtU0dAr5bu+Dux28/OLao/dLWurNcoOPl tLRQ== X-Received: by 10.49.29.135 with SMTP id k7mr20185844qeh.39.1359901879419; Sun, 03 Feb 2013 06:31:19 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.49.104.197 with HTTP; Sun, 3 Feb 2013 06:30:39 -0800 (PST) In-Reply-To: References: From: Nilesh Govindrajan Date: Sun, 3 Feb 2013 20:00:39 +0530 Message-ID: Subject: Re: [gentoo-user] error: Cg/cg.h: No such file or directory To: Gentoo User Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlAAmu1eBOx9QZlxOhk4OOf8esz57lAlQctKT397miCgOaIbVpceysTeGGuW4PaVIqiZJRf X-Archives-Salt: b321b7c1-c8c3-47db-9090-2ae71662758e X-Archives-Hash: 9278fb804c6daca9e5967f7f6c049f97 On Sun, Feb 3, 2013 at 7:10 PM, Jo=C3=A3o Matos 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 go= t > the following: > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bi= n/ld: > cannot find -lCg > /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bi= n/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/Sou= rce/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/Sou= rce/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