openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] can't compile NVSDK stuff


From: Henti Smith
Subject: Re: [Openexr-devel] can't compile NVSDK stuff
Date: Thu, 27 Mar 2003 08:56:01 +0200

On Wed, 26 Mar 2003 13:23:43 -0800 (PST)
Drew Hess <address@hidden> wrote:

> There's no -DUNIX in there....
> 
> > Regardless of adding -UNIX or -lGLX 
> 
> 
> -DUNIX, not -UNIX.

Once again my appolgies.

> I think I see the problem.  In acinclude.m4, change this, starting at line 
> 12:
> 
>   if test x$nvsdk_prefix != x ; then
>     NVSDK_CXXFLAGS="-DUNIX -I$nvsdk_prefix/inc"
>   else
>     NVSDK_CXXFLAGS=""
>   fi
> 
> to this:
> 
>   if test x$nvsdk_prefix != x ; then
>     NVSDK_CXXFLAGS="-DUNIX -I$nvsdk_prefix/inc"
>   else
>     NVSDK_CXXFLAGS="-DUNIX"
>   fi

Works fine now :)) 

> In all my tests, I never installed the Nvidia SDK in any of the system 
> include paths, so I always used --with-nvsdk-prefix, and that sets the 
> -DUNIX flag.  On your system, the SDK includes are in /usr/include, so you 
> don't bother specifying --with-nvsdk-prefix, which makes perfect sense in 
> your case.

The gentoo NVSDK ebuild that I created puts all the headers in /usr/include/
so no path is needed. 

Thanks for all the help :) 

Henti 




reply via email to

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