[osg-submissions] Plugin DLL search order fix for Win32

Robert Osfield robert.osfield at gmail.com
Fri Aug 24 03:33:30 PDT 2007


On 8/24/07, Luigi Calori <l.calori at cineca.it> wrote:
> I agree that the layout you suggest  is the cleanest, as far as I know,
> there is no way to direct VisualStudio to generate .lib in lib  and .dll
> in bin.
> It is probably possible to add post build commands to copy the stuff in
> the desired place though.
> I can try to see if it works, but there will be some copying command
> appended after the build.
> We could leave the .pdb and other VisualStudio stuff in place under the
> Debug and Release folders and then copy runtime relevant stuff into your
> layout
> This way we mirror part of the install step into the build.
>
> Let me know if this would fit so I can start experiment

Yes please experiment.  It might be that we can't get all the way but
to it very useful to know just how far along the route to getting
things working out of the box as simply as possible for end users.

Would it be possible to get the copy to happen automatically?  Would
debugging etc still work fine after copy?

Thanks for your efforts,
Robert.


More information about the osg-submissions mailing list