[Gdal-dev] GDAL 1.2.0 Solaris build
Frédéric Trastour
support at geoimage.fr
Tue Mar 2 11:22:44 EST 2004
> Frédéric,
>
> You are setting up a pretty hard configuration! I would suggest you
> install the PROJ.4 tree, even if only into a local tree and then use
> that to link against instead. That will avoid the libtool related issues.
>
It's what I done.
The problem is that "/src" is automatically appended to the specified directory.
The "make install" command in the PROJ4 build tree doesn't create a src
dir in the install tree ( only include, lib, bin and share - and it's ok). So I have to create
an 'src' in the PROJ installation tree and link the libproj.a library from lib to src.
It's not a big problem, but It's look strange to me that 'src' is always appended...
> > *** On Win32, I specify a static proj link in nmake.opt :
> >
> > PROJ_FLAGS = -DPROJ_STATIC
> > PROJ_INCLUDE = -Iz:\GEOIMAGE_SRC\LIBRAIRIES\libPROJ\src\win32\include
> > PROJ_LIB = z:\GEOIMAGE_SRC\LIBRAIRIES\libPROJ\src\win32\lib
> >
> > But It looks like PROJ_LIB is never used... I have to add '$PROJ_LIB\proj.lib' to ADD_LIBS
> > in order to properly link.
> > Am i missing something ?
>
> Hmm, it would seem we missed this. I have added PROJ_LIB into the EXTERNAL_LIBS
> macro now. Your local change should be fine too.
Thanks a lot.
Frédéric.
More information about the Gdal-dev
mailing list