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: Paul Schneider
Subject: Re: [Openexr-devel] can't compile NVSDK stuff
Date: Tue, 25 Mar 2003 09:36:19 -0800


Looks like you're not linking against the OpenGL libraries.  Try

gcc -DUNIX -o t t.c -lGL -lGLX

On Tuesday, March 25, 2003, at 01:58 AM, Henti Smith wrote:

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

I took the "test" app and compiled it manually with -UNIX and got this


fmg root # gcc -DUNIX -o t t.c
/tmp/cchwBQNY.o(.text+0xe0): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x106): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x12c): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x152): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x178): In function `glh_init_extension':
: undefined reference to `glXGetProcAddressARB'
/tmp/cchwBQNY.o(.text+0x19e): more undefined references to `glXGetProcAddressARB' follow
/tmp/cchwBQNY.o(.text+0x3ea3): In function `ExtensionExists':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x3f13): In function `ExtensionExists':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x3f9f): In function `ExtensionExists':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x40de): In function `glh_init_extensions':
: undefined reference to `glGetString'
/tmp/cchwBQNY.o(.text+0x4102): In function `glh_init_extensions':
: undefined reference to `glXGetCurrentDisplay'
/tmp/cchwBQNY.o(.text+0x4109): In function `glh_init_extensions':
: undefined reference to `glXGetCurrentDisplay'
/tmp/cchwBQNY.o(.text+0x411d): In function `glh_init_extensions':
: undefined reference to `glXQueryExtensionsString'
/tmp/cchwBQNY.o(.text+0x43fe): In function `glh_extension_supported':
: undefined reference to `glGetString'
collect2: ld returned 1 exit status

Henti


_______________________________________________
Openexr-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/openexr-devel





reply via email to

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