openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] what is the correct setting for --with-cg-prefix=?


From: Robert Hedges
Subject: Re: [Openexr-devel] what is the correct setting for --with-cg-prefix=?
Date: Wed, 17 Apr 2013 13:27:43 -0500

configure:20714: checking for Cg
configure:20815: g++ -o conftest -g -O2   -lGL -lCg -lCgGL -lGLU -lpthread -lglut conftest.cc  >&5
/tmp/ccDyHk3N.o: In function `main':
/home/robert/sandbox/openEXR/openexr_viewers-2.0.0/conftest.cc:33: undefined reference to `cgCreateContext'
collect2: ld returned 1 exit status



On Wed, Apr 17, 2013 at 1:15 PM, Halfdan Ingvarsson <address@hidden> wrote:
On 13-04-17 02:08 PM, Robert Hedges wrote:
I am trying to build OpenEXR_viewers in Ubuntu 12.04.  I have the Nvida Cg toolkit installed: the binaries are in /usr/bin, includes in /usr/include and the libs in /usr/lib.

If I run configure without any additional flags, it returns:

checking for Cg... no
*** The Cg test program could not be compiled.


If I use
./configure --with-cg-prefix=/usr

I get the same error.   Any suggestions?

Look at config.log to how the test program failed to compile.

 - ½



reply via email to

[Prev in Thread] Current Thread [Next in Thread]