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: Tue, 25 Mar 2003 11:57:13 +0200

On Mon, 24 Mar 2003 11:03:53 -0800 (PST)
Drew Hess <address@hidden> wrote:

> in my copy of glh/glh_extensions.h (from a very recent CVS update of the
> Nvidia SDK), extEnd is a char * defined in some inline code in
> glh_extensions.h on line 187.

i have that as well .. the whole chuck is...


    // Parse requested extension list
    for (reqExt = reqExts;
        (reqExt = (char*)EatWhiteSpace(reqExt)) && *reqExt;
        reqExt = (char*)EatNonWhiteSpace(reqExt))
    {
        char *extEnd = (char*)EatNonWhiteSpace(reqExt);
        char saveChar = *extEnd;
        *extEnd = (char)0;
                                                                                
                                  
#if (defined(WIN32) || defined(UNIX))
        if (!ExtensionExists(reqExt, sysExts) || !glh_init_extension(reqExt)) {
#elif defined(MACOS)
        if (!ExtensionExists(reqExt, sysExts)) {    // don't try to get 
function pointers if on MacOS
#endif
            // add reqExt to end of unsupportedExts
            strcat(unsupportedExts, reqExt);
            strcat(unsupportedExts, " ");
            success = GL_FALSE;
        }
        *extEnd = saveChar;
    }

> Try updating to the latest NVSDK, if you haven't already.

I'm running the latest NVSDK 

> Also, verify that configure is setting the -DUNIX flag when it compiles 
> the test program.

I'm not at all sure how to do this ... any suggestions ? 

Henti 




reply via email to

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