<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Thanks, I'll look at the ENV variables a bit more. I am already using proj_api.h for my include.<br><div> </div>James T. Kilroy<br>Instrumental Solutions Inc.<br>721 China St.<br>Vicksburg MS 39183<br><br><div>(Office) 601-636-1637<br>(Cell) 601-415-0589<div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> nicolas david <ericnico.david@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> PROJ.4 and general Projections Discussions <proj@lists.maptools.org><br><b><span style="font-weight: bold;">Sent:</span></b> Mon, June 14, 2010 2:17:22
PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Proj] Trouble integrating Proj4 into application<br></font><br>
Hi<br><br>I've done quite same thing recently ( debian and ubuntu) and don't have any specific problems. <br>a) you have to take care when including proj4 files, because it's an ANSI C library and not a C++ lib. So, within a C++ project you have to use proj_api.h.<br>
b) Concerning ENV variable. I know two of them and one is needed in order to find data file. <br>PROJ_LIB : path to your proj data file ( nad, epsg etc..)<br>PROJ_DEBUG : if set to 1 make proj4 more verbose.<br><br>Hope it's helpful.<br>
<br>Nicolas David<br><br><div class="gmail_quote">2010/6/14 James Kilroy <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jt_kilroy@yahoo.com" target="_blank" href="mailto:jt_kilroy@yahoo.com">jt_kilroy@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font face="Arial" size="2">Hello
All,</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">My name is James
Kilroy and I am a brand new user of Proj4. I have an extensive GIS back
ground so I have a good grasp of the concepts, and I have been coding
professionally (C/C++) for over 20 years. I have installed the code base
for Proj4 on my Linux server (Fedora, very recent build). The build went
without a hitch, all programs test out fine. My problem is I can't get the
lib to compile into my project. Keeps giving me lib not found errors,
though the lib is built, in place, and has proper permissions. Are there
any specific compiler directives required or ENV variables that are needed that
I am not aware of?</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">Thanks,</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div><font color="#888888">
<div><span>
<div align="left">
<div><span><font face="Arial" size="2">James
Kilroy</font></span></div></div></span></div></font></div>
<br>_______________________________________________<br>
Proj mailing list<br>
<a rel="nofollow" ymailto="mailto:Proj@lists.maptools.org" target="_blank" href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br><span>
<a target="_blank" href="http://lists.maptools.org/mailman/listinfo/proj">http://lists.maptools.org/mailman/listinfo/proj</a></span><br></blockquote></div><br>
</div></div></div>
</div></body></html>