compile using vcpkg libraries
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 18k
- Forks
- 2.3k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 10
Description
After reading, remove this checklist and the template text in parentheses below.
Hi everyone. Does anybody knows how we can use vcpkg installed libraries to compile our code and use with pybind?I can compile my code by adding library_path and include_path of vcpkg directories and it compiles well but I face error when call python import
import pydggrid as m
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed while importing pydggrid:
The specified module could not be found.
I did not have any issues before and it was working before with no problem
but when I compile my code using vcpkg packages it makes this problem
I have also added vcpkg bin directory to the path environment variable
(Provide a short description, state the expected behavior and what actually happens.)
Reproducible example code
I can provide source code of library since I don't know what is the cause of the problem
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported vcpkg library and include paths, the vcpkg bin directory in PATH, and the Python import of pydggrid. There are no source files or tests named in the issue, so first obtain the promised reproducible library source and reproduce the DLL load failure. Done means the pybind module imports successfully when built with the vcpkg packages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100