<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Frank,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I'm attempting to test gdal_warp (GDAL
1.1.8.0, Proj4.4.5) but it gives me an error message regarding
"pj_get_def":</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>X:\rawdata>gdalwarp -t_srs '+proj=utm
+zone=11 +datum=WGS84' band1.tif UTM11_b1.tif<BR>ERROR 1: Can't find requested
entry point: pj_get_def</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Usage: gdalwarp [--version]
[--formats]<BR> [-s_srs srs_def] [-t_srs srs_def] [-order n]
[-et err_threshold]<BR> [-te xmin ymin xmax ymax] [-tr xres
yres] [-ts width height]<BR> [-of format] [-co "NAME=VALUE"]*
srcfile dstfile</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Looking at the GDAL source (ogrct.cpp, line 220), I
see where it is trying to get the symbol from proj.dll,</FONT></DIV>
<DIV><FONT face=Arial size=2>but nowhere in my copy of the proj source does the
function exist:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Courier New"
size=2>=======================================================================</FONT></DIV>
<DIV><FONT face="Courier New" size=2>#ifdef PJ_VERSION >=
446<BR> pfn_pj_get_def =
pj_get_def;<BR>#endif <BR>#else<BR>
CPLPushErrorHandler( CPLQuietErrorHandler );</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2> pfn_pj_init = (projPJ
(*)(int, char**)) CPLGetSymbol(
pszLibName,<BR>
"pj_init" );<BR> CPLPopErrorHandler();<BR>
<BR> if( pfn_pj_init == NULL
)<BR> return( FALSE );</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2> pfn_pj_fwd = (projUV
(*)(projUV,projPJ)) <BR> CPLGetSymbol(
pszLibName, "pj_fwd" );<BR> pfn_pj_inv = (projUV
(*)(projUV,projPJ)) <BR> CPLGetSymbol(
pszLibName, "pj_inv" );<BR> pfn_pj_free = (void (*)(projPJ))
<BR> CPLGetSymbol( pszLibName,
"pj_free" );<BR> pfn_pj_transform = (int
(*)(projPJ,projPJ,long,int,double*,<BR>
double*,double*))<BR>
CPLGetSymbol( pszLibName, "pj_transform" );<BR>
pfn_pj_get_errno_ref = (int
*(*)(void))<BR> CPLGetSymbol(
pszLibName, "pj_get_errno_ref" );<BR> pfn_pj_strerrno = (char
*(*)(int))<BR> CPLGetSymbol(
pszLibName, "pj_strerrno" );<BR> pfn_pj_get_def = (char
*(*)(projPJ,int))<BR> CPLGetSymbol(
pszLibName, "<STRONG>pj_get_def</STRONG>" );<BR> pfn_pj_dalloc
= (void (*)(void*))<BR> CPLGetSymbol(
pszLibName, "pj_dalloc" );<BR>#endif<BR>
<DIV><FONT face="Courier New"
size=2>=======================================================================</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Any thoughts?</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Brent Fraser</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>GeoAnalytic Inc.<BR>Tel:(403) 213-2700<BR><A
href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</A><BR><A
href="http://www.geoanalytic.com">www.geoanalytic.com</A></FONT></DIV></BODY></HTML>