[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] can't compile NVSDK stuff
From: |
Drew Hess |
Subject: |
Re: [Openexr-devel] can't compile NVSDK stuff |
Date: |
Tue, 25 Mar 2003 11:26:01 -0800 (PST) |
Hi Nafees,
Based on the paths I see in this Makefile, if you did something like this:
./configure --with-nvsdk-prefix=/usr/home/nafees/src/Cg/SDK_bak/inc ...
I think configure would work. If not, it's possible that it's not finding
your fltk-config binary.
-dwh-
On Tue, 25 Mar 2003, Nafees Bin Zafar wrote:
> 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
> >
> >
> >
> >
>
>
>
- [Openexr-devel] can't compile NVSDK stuff, Henti Smith, 2003/03/24
- 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, 2003/03/26
- 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