[Top][All Lists]
[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: |
Wed, 26 Mar 2003 17:33:54 +0200 |
On Tue, 25 Mar 2003 09:36:19 -0800
Paul Schneider <address@hidden> wrote:
> Looks like you're not linking against the OpenGL libraries. Try
>
> gcc -DUNIX -o t t.c -lGL -lGLX
My appologies ..
I had some time today to acually look around in the config.log .. here is the
whole bit..
the configure test program code is c++
test.cc
-------
#include "test.h"
#include <GL/gl.h>
#include <GL/glu.h>
#define GLH_EXT_SINGLE_FILE
#include <glh/glh_extensions.h>
int main ()
{
glh_init_extensions ("GL_ARB_multitexture " "GL_NV_vertex_program "
"GL_NV_fragment_program ");
;
return 0;
}
-------
test.h
-------
#define PACKAGE "OpenEXR"
#define VERSION "1.0.5"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define HAVE_DLFCN_H 1
#define STDC_HEADERS 1
#define HAVE_LIMITS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STRERROR 1
#define HAVE_IOS_BASE 1
#define restrict
-------
So my innitial gcc -o is not valid in this for error reporting.
g++ -o test -g -O2 -lGL test.cc is the compiling commands for the test program
that fails.
The output is still
In file included from test.cc:5:
/usr/include/glh/glh_extensions.h: In function `int glh_init_extensions(const
char*)':
/usr/include/glh/glh_extensions.h:201: `extEnd' undeclared (first use this
function)
/usr/include/glh/glh_extensions.h:201: (Each undeclared identifier is reported
only once for each function it appears in.)
/usr/include/glh/glh_extensions.h:201: `saveChar' undeclared (first use this
function)
/usr/include/glh/glh_extensions.h: At global scope:
/usr/include/glh/glh_extensions.h:203: `reqExts' was not declared in this scope
/usr/include/glh/glh_extensions.h:203: `int free' redeclared as different kind
of symbol
/usr/include/stdlib.h:567: previous declaration of `void free(void*)'
/usr/include/glh/glh_extensions.h:204: parse error before `return'
/usr/include/glh/glh_extensions.h: In function `void
glh_shutdown_extensions()':
/usr/include/glh/glh_extensions.h:216: `free' cannot be used as a function
/usr/include/glh/glh_extensions.h:221: `free' cannot be used as a function
/usr/include/glh/glh_extensions.h: At global scope:
/usr/include/glh/glh_extensions.h:270: parse error before `}' token
Regardless of adding -UNIX or -lGLX
Any other help would still be appreciated
Henti Smith
- Re: [Openexr-devel] can't compile NVSDK stuff, (continued)
- Re: [Openexr-devel] can't compile NVSDK stuff, Henti Smith, 2003/03/25
- Re: [Openexr-devel] can't compile NVSDK stuff, Paul Schneider, 2003/03/25
- Re: [Openexr-devel] can't compile NVSDK stuff,
Henti Smith <=
- Re: [Openexr-devel] can't compile NVSDK stuff, Drew Hess, 2003/03/26
- Re: [Openexr-devel] can't compile NVSDK stuff, Henti Smith, 2003/03/27