You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
After installing the docopt.cpp package, the dll is stored in Library/lib, instead of Library/bin. Client applications that depend on docopt.cpp therefore cannot be executed. Windows shows an error message with "The code execution cannot proceed because docopt.dll was not found. Reinstalling the program may fix this problem."
I think all that is needed to fix this problem is to install the Windows dll in the Conda environment's Library/bin directory. This is what other Conda packages do as well.
Thanks @kordejong . I'm far from a Windows expert. From afar bin seems not the right directory. However, if other feedstocks do it too it is probably reasonable. Do you have some reference(s) to cite here? Would you be willing to open a PR?
Here is an example of another Conda package in which the dlls are moved to the Conda bin directory. Notice the step on line 35. https://github.com/conda-forge/boost-cpp-feedstock/blob/main/recipe/bld.bat.
Using a well configured CMake project the Windows dlls should end up in the correct directory automatically, though. There should be no need to move dlls after an install.
I just noticed that the upstream docopt project contains a relevant commit: docopt/docopt.cpp@d6a0987
It seems to me that using a version of docopt containing that commit is all it takes to make the docopt.cpp Conda package useful on Windows. The install step in your bld.bat will then put the Windows dlls in the bin directory instead of the lib directory.
Solution to issue cannot be found in the documentation.
Issue
After installing the docopt.cpp package, the dll is stored in
Library/lib
, instead ofLibrary/bin
. Client applications that depend on docopt.cpp therefore cannot be executed. Windows shows an error message with "The code execution cannot proceed because docopt.dll was not found. Reinstalling the program may fix this problem."I think all that is needed to fix this problem is to install the Windows dll in the Conda environment's
Library/bin
directory. This is what other Conda packages do as well.BTW, thanks for packaging docopt!
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: