Am Freitag, 8. Juli 2011 schrieb David Doria: > > Sure. But did you need OpenEXR previously? > > > > The relevat part is > > > > FIND_PACKAGE(OpenEXR REQUIRED) > > > > which in turn uses _our_ module "CMakeModules/FindOpenEXR.cmake". > > > > We need: > > > > libHalf, libIex, libIlmImf, libIlmThread, libImath, ... > > > > The packages for them (on ubuntu) are: > > > > libilmbase-dev, libopenexr-dev > > > >> Any suggestions? > >> > >> > >> > >> Thanks, > >> > >> > >> > >> David > > > > Kornel > > I don't follow you. I am building all of these from source because I > don't have root access so I can't use the package manager. I built and > installed IlmBase and OpenEXR - so what I'm saying is why isn't the > FindOpenEXR script finding OpenEXR?
Probably because the script does not know where to search.
First, it gets info from pkgconfig.
Try following
# pkg-config --cflags-only-I --libs OpenEXR
this should print: -I/usr/include/OpenEXR -pthread -lIlmImf -lz -lImath -lHalf
-lIex -lIlmThread
> Thanks,
>
> David
Kornel
signature.asc
Description: This is a digitally signed message part.
