<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2012-01-25, at 10:41 AM, Frank Warmerdam wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Wed, Jan 25, 2012 at 7:13 AM, Tyler Mitchell<br>&lt;<a href="mailto:tyler.mitchell@actian.com">tyler.mitchell@actian.com</a>&gt; wrote:<br><blockquote type="cite">Hi Frank and all, &nbsp;hope your winter (or summer) is treating you well, things are going well at my end. &nbsp;I'm getting my head into the OGR Ingres driver these days and happy to have it building well on Linux. &nbsp;:)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Windows I'm not having so much fun though and could use a tip or two. &nbsp;That's mostly because I'm new to how nmake (VS2010) expects things, having barely used it before.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">While setting INGRES_LIB and INGRES_INC as env vars pointing to the right folders on Linux, it was enough for it to figure itself out. &nbsp;But on Windows does it require a pointer to a specific file instead? &nbsp;My build's failing as it tries to open a strange permutation of INGRES_LIB:<br></blockquote><blockquote type="cite">LINK : fatal error LNK1181: cannot open input file 'C:\Users\admin\src\ingres\lib\.obj' &nbsp;If I set it to point to any files, then it builds without errors but not with any Ingres support.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Perhaps the windows makefile needs to be updated to handle Ingres? &nbsp;I'm grasping at straws, I know :)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Any tips for an nmake n00b? :) &nbsp;I don't assume anyone other than Frank has kicked the Ingres tires much, but would appreciate any suggestions.<br></blockquote><br>Tyler,<br><br>Skimming gdal\nmake.opt and looking in gdal\ogr\ogrsf_frmts\ingres for<br>a makefile.vc it appears that I never built the ingres driver on windows so<br>I'm guessing you have added INGRES_LIB/INGRES_INC yourself and set<br>up vc makefiles? &nbsp;&nbsp;If you come up with changes make sure to file a ticket<br>with them to incorporate. &nbsp;</div></blockquote><br></div><div>Thank you for looking Frank! &nbsp;I have only been setting the variables myself</div><div>and don't know enough about vc makefiles to much more at this point. &nbsp;I'll</div><div>definitely get this written up if you can get it building. &nbsp;I'm stuck though so far.</div><div><br></div><div><blockquote type="cite"><div>If you need a hand building things on windows<br>point me to ingres windows libraries and I'll try it in a VM.</div></blockquote><div><div><br></div></div></div><div>I've bundled together just the basics that I think are needed.</div><div><br></div><div><a href="http://db.tt/0LtX9YvL">http://db.tt/0LtX9YvL</a></div><div><br></div><div>Linux variables seem to look for:</div><div>INGRES_LIB -&gt; ingres\lib</div><div>INGRES_INC -&gt; ingres\files</div><div><br></div><div>They aren't&nbsp;officially distributed separately as a library package, so I might have missed</div><div>something doing it ad-hoc.</div><div><br></div><div>I'd be thrilled if you get a chance to peek at it. &nbsp;I'll be in IRC if you have&nbsp;</div><div>thoughts to share or things I should try.</div><div><br></div><div>Thank you,</div><div>Tyler</div><div><br></div></body></html>