To add to the given answers, a library compiled as a cdylib
(docs) can generate this error when you try to reference it in another project. I solved it by separating the code I wished to reuse in a regular lib
project.
To add to the given answers, a library compiled as a cdylib
(docs) can generate this error when you try to reference it in another project. I solved it by separating the code I wished to reuse in a regular lib
project.