<div dir="ltr"><div class="gmail_extra">Rob,<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">I seem to be having some trouble getting PDAL to recognize a new writer that I am creating as a plugin. I found that if I changed StageFactory::loadPlugins so that the “pluginDir” was equal to “.:./bin” so that it would search in the same
 directory as the pdal.exe executable, then it would work.</p></div></div></blockquote><div><br></div><div>You've located a section of code that attempts to set some default search locations. Looks like this needs to be augmented for Windows users. These default paths are especially convenient for developers who don't want to re-install the latest plugins every time they recompile. They can instead find the libraries in the build directory.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">I suppose that what I should have done was to set an environment variable named “PDAL_DRIVER_PATH” to “.:./bin” instead. Is that correct?</p></div></div></blockquote><div><br></div><div>Yes, especially when deploying PDAL, you would want to set PDAL_DRIVER_PATH. The actual path may vary from one system to another.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">If so, any thoughts on the best way to distribute the pdal.exe
 file to another user working on Windows? Is it expected that the other user would need to set that environment variable, as well as install all the supporting PDAL libraries (boost, all the OSGeo4W64 libraries, etc.)?</p>
</div></div></blockquote></div><br></div><div class="gmail_extra">Yes.<br><br></div><div class="gmail_extra">Brad<br></div></div>