|
From: | Paul Schneider |
Subject: | Re: [Openexr-user] exrdisplay compile woes on Redhat 7.3 |
Date: | Mon, 9 Feb 2004 12:10:39 -0800 |
Hi, John,your link line looks unusual. Are you using the Makefiles generated by ./configure, or are you running a custom build step? You should probably stick to the Makefiles, if possible.
The link is failing because you're not linking to the FLTK or GL libraries. You need to add something like this:
-L/usr/X11R6/lib -lfltk_gl -lGLU /usr/lib/libGL.so -ldl -lfltk /usr/lib/libXft.so -lfontconfig /usr/lib/libfreetype.so /usr/lib/libXrender.so -lpthread -lm -lXext -lX11 -lstdc++
This should be taken care of automatically if you use our build system. Try doing a "make distclean", then run bootstrap and configure again - it should build Makefiles that work on your system.
Oh, wait, I see you're using gcc 2.96. It's possible that the Makefile for exrdisplay doesn't get built properly with that configuration. I think the only reason we support that compiler is for building shake plugins on Linux. Try executing the link line with the extra libraries and see if that works (and make sure your FLTK libs were compiled with the right compiler).
- Paul On Feb 9, 2004, at 10:26 AM, John Coldrick wrote:
I've been unable to get this to compile on RH, and I know it's something stupid, :) but would appreciate any suggestions. The rest of the OpenEXR package compiles fine - so obviously it's related to fltk and probably OGL, but I'm unsure where the specific problem lies. I've attached the errors, and here's my environment: Redhat Linux 7.3 gcc v 2.96 fltk v1.2.0 Note that the courtesy binary of exrdisplay runs fine(although an earlier version - and I couldn't compile those versions either). I'm running on an HP X2100 with an NVidia Quadro4 900XGL, probably not all that dissimilar to many workstations at ILM, so I know it's me. :) Any thoughts would be greatly appreciated... Cheers, J.C. -- John Coldrick www.axyzfx.com Axyz Animation Houdini/Renderman/Discreet 425 Adelaide St W 416-504-0425 Toronto, ON Canada address@hidden M5V 1S4 ----------------------------------------------------------------------- It usually takes more than three weeks to prepare a good impromptu speech. -- Mark Twain <OEXR_compile.txt>_______________________________________________ Openexr-user mailing list address@hidden http://mail.nongnu.org/mailman/listinfo/openexr-user
[Prev in Thread] | Current Thread | [Next in Thread] |