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: Nafees Bin Zafar
Subject: Re: [Openexr-devel] can't compile NVSDK stuff
Date: Tue, 25 Mar 2003 11:17:11 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021203

I didn't throw the right switches to 'configure', so I ended up writing this Makefile. Obviously a quick hack. But it'll get you going.

###
CXX  = g++
SRCS = ImageView.cpp ImageViewFragShader.cpp main.cpp
CXXFLAGS = -DHAVE_FRAGMENT_SHADERS -DUNIX -I. \
   -I../Half -I../Iex -I../IlmImf -I../Imath \
   -I/usr/home/nafees/src/Cg/SDK_bak/inc

XLDFLAGS = -L../lib -lIlmImf -lImath -lHalf -lIex -lz \
       -lfltk_gl -lfltk \
      -L/usr/X11R6/lib -lX11 -lXext -lXft -lGL -lGLU

all: exrdisplay

exrdisplay: $(SRCS:.cpp=.o)
       $(CXX) -o exrdisplay $(SRCS:.cpp=.o) $(XLDFLAGS)
###


Drew Hess wrote:

On Tue, 25 Mar 2003, Henti Smith wrote:

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 ?


Look at config.log and see if it's defining it. It should be, I don't think there's any conditional code in configure.ac that controls whether -DUNIX is defined.

If you can't figure this out, email me (off the list) the output of your config.log and I'll have a look.


-dwh-




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




--
Nafees Bin Zafar        address@hidden
Zarking Lunatic         310/314-2800 (x2012)
D  I  G  I  T  A  L     D  O  M  A  I  N






reply via email to

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