<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><<a href="mailto:tyler.mitchell@actian.com">tyler.mitchell@actian.com</a>> wrote:<br><blockquote type="cite">Hi Frank and all, hope your winter (or summer) is treating you well, things are going well at my end. I'm getting my head into the OGR Ingres driver these days and happy to have it building well on Linux. :)<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. 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. But on Windows does it require a pointer to a specific file instead? 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' 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? I'm grasping at straws, I know :)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Any tips for an nmake n00b? :) 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? If you come up with changes make sure to file a ticket<br>with them to incorporate. </div></blockquote><br></div><div>Thank you for looking Frank! I have only been setting the variables myself</div><div>and don't know enough about vc makefiles to much more at this point. I'll</div><div>definitely get this written up if you can get it building. 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 -> ingres\lib</div><div>INGRES_INC -> ingres\files</div><div><br></div><div>They aren't 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. I'll be in IRC if you have </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>