<div dir="ltr">Thanks Micah!</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 8, 2017 at 8:53 AM, Micah Cochran <span dir="ltr"><<a href="mailto:mcochran@athensal.us" target="_blank">mcochran@athensal.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Kurt,<div><br></div><div>I think that you are right that it is a MSVC related. I don't do Windows development either.</div><div><br></div><div>see Exporting from a DLL Using DEF Files</div><div><a href="https://msdn.microsoft.com/en-us/library/d91k01sh.aspx" target="_blank">https://msdn.microsoft.com/en-<wbr>us/library/d91k01sh.aspx</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">Micah Cochran</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Nov 8, 2017 at 10:44 AM, Kurt Schwehr <span dir="ltr"><<a href="mailto:schwehr@gmail.com" target="_blank">schwehr@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Maybe a dumb question, but what is src/proj.def for? Is this a MSVC only thing? It looks like something that controls share lib entry points. I'm not a Windows dev, so maybe that's why I don't know what it is.</div><div><br></div><div>Am I missing some location where it's documented? The closest I got was:</div><div><br></div><div><a href="https://github.com/OSGeo/proj.4/issues/214" target="_blank">https://github.com/OSGeo/proj.<wbr>4/issues/214</a><br></div><div><a href="https://github.com/OSGeo/proj.4/pull/355" target="_blank">https://github.com/OSGeo/proj.<wbr>4/pull/355</a><br></div><div><br></div><div>I've been patching my bazel based build that has this file, but it doesn't seem to be used by anything.</div><div><br></div><div>-kurt</div><div><br></div><div><br></div><div><div>find . -type f | grep -v git | xargs egrep 'proj[.]def'</div><div><br></div><div>./ChangeLog:<span style="white-space:pre-wrap"> </span>* src/proj.def: add pj_get_spheroid_defn to proj.def. (#214)</div><div>./ChangeLog:<span style="white-space:pre-wrap"> </span>* proj.def: added lots of methods, including some private ones used</div><div>./ChangeLog:<span style="white-space:pre-wrap"> </span>* src/pj_pr_list.c, proj.def, proj_api.h: Added the pj_get_def()</div><div>./ChangeLog:<span style="white-space:pre-wrap"> </span>* src/proj.def: added pj_strerrno and pj_errno as per request from</div><div>./ChangeLog:<span style="white-space:pre-wrap"> </span>* Added proj.def to extra_dist in src/Makefile.am.</div><div>./src/lib_proj.cmake: set(ALL_LIBPROJ_SOURCES ${ALL_LIBPROJ_SOURCES} proj.def )</div><div>./src/Makefile.am:EXTRA_DIST = <a href="http://makefile.vc" target="_blank">makefile.vc</a> proj.def bin_cct.cmake bin_gie.cmake bin_cs2cs.cmake \</div><div>./src/<a href="http://makefile.vc" target="_blank">makefile.vc</a>:<span style="white-space:pre-wrap"> </span>link /debug /dll /def:proj.def /out:$(PROJ_DLL) /implib:proj_i.lib \</div><div>./wince/msvc80/projce_dll/proj<wbr>ce_dll.vcproj: <Tool Name="VCLinkerTool" AdditionalOptions=" /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE" AdditionalDependencies="ccrtrt<wbr>ti.lib" OutputFile="$(OutDir)/proj.dll<wbr>" LinkIncremental="2" AdditionalLibraryDirectories="<wbr>" ModuleDefinitionFile="..\..\..<wbr>\src\proj.def" DelayLoadDLLs="$(NOINHERIT)" GenerateDebugInformation="true<wbr>" ProgramDatabaseFile="$(OutDir)<wbr>/proj_dll.pdb" SubSystem="0" ImportLibrary="$(OutDir)/proj_<wbr>i.lib"/></div><div>./wince/msvc80/projce_dll/proj<wbr>ce_dll.vcproj: <Tool Name="VCLinkerTool" AdditionalOptions=" /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE" OutputFile="$(OutDir)/proj.dll<wbr>" LinkIncremental="1" ModuleDefinitionFile="..\..\..<wbr>\src\proj.def" DelayLoadDLLs="$(NOINHERIT)" GenerateDebugInformation="true<wbr>" ProgramDatabaseFile="$(OutDir)<wbr>/projce_dll.pdb" SubSystem="0" OptimizeReferences="2" EnableCOMDATFolding="2" ImportLibrary="$(OutDir)/proj_<wbr>i.lib"/></div><div>./wince/msvc80/projce_dll/proj<wbr>ce_dll.vcproj: <File RelativePath="..\..\..\src\pro<wbr>j.def"></div></div><div><br></div><div><br></div><div><div><br></div></div><div class="m_2119794512196307930m_-6064343538318261660gmail_signature"></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org" target="_blank">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" rel="noreferrer" target="_blank">http://lists.maptools.org/mail<wbr>man/listinfo/proj</a><br></blockquote></div><br>
</div></div>
<br>______________________________<wbr>_________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" rel="noreferrer" target="_blank">http://lists.maptools.org/<wbr>mailman/listinfo/proj</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--<div><a href="http://schwehr.org" target="_blank">http://schwehr.org</a></div></div>
</div>