[FWTools] gdal compile and link problems

Frank Warmerdam warmerdam at pobox.com
Sun Jan 1 14:34:31 EST 2006

On 12/27/05, ³Ãô <lumiousy at yahoo.com.cn> wrote:
> I want to use gdal, and I installed the FWTools in my home.
> I set the ~/bash_profile as the install instructions said.
> The gcc can not find the include and lib I want.
> Then I set the /etc/ld.so.conf file as some people said.
> But it still doesn't work.
> What should i do to make it work properly?


Is your .bash_profile including the fwtools_env.sh using
the "." command?  What error message do you get?

The fwtools environment does not set anything allowing
builds against the FWTools libraries or using the FWTools
include files.  To do that you will need to explicitly use
the -I and -L/-l directives in your build.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the FWTools mailing list