Giter VIP home page Giter VIP logo

Comments (3)

tdegeus avatar tdegeus commented on June 12, 2024

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?

from docopt.cpp-feedstock.

kordejong avatar kordejong commented on June 12, 2024

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.

Here are the docs about the location of dlls on Windows:
https://docs.conda.io/projects/conda-build/en/latest/resources/use-shared-libraries.html#shared-libraries-in-windows

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.

from docopt.cpp-feedstock.

kordejong avatar kordejong commented on June 12, 2024

I think this PR fixes this issue: #5

from docopt.cpp-feedstock.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.