[libmupdf] linking error #43127
Unanswered
aureliencc
asked this question in
Q&A
Replies: 1 comment
-
Update : The file "ports/libmupdf/dont-generate-extract-3rd-party-things.patch" might not have anything to do with "libthirdparty.lib", I mixed both while doing research. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I installed libmupdf with
./vcpkg install libmupdf
and did not have any instructions on how to include the package in my project cmake file. I'm used to havefind_package(...)
andtarget_link_libraries(...)
instructions at the end of package installation so I guess I had to include this package manually.Please note that libmupdf is only availaible as a static library and that I did run
./vcpkg integrate install
. I tried to include libmupdf.lib(${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/packages/libmupdf_x64-windows-static/lib/libmupdf.lib") like sotarget_link_libraries(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/packages/libmupdf_x64-windows-static/lib/libmupdf.lib")
but got plenty of LNK unresolved external symbol error because dependencies were missing(from font.c.obj, noto.c.obj..).After looking for the issue, I found this stackoverflow which talks about "libthirdparty.lib" which might be what I'm missing here. Unfortunately, vcpkg did not build it and the port's source even include a patch file called "ports/libmupdf/dont-generate-extract-3rd-party-things.patch" which seems to prevents the build of this lib but doesn't seem to be used ?
Could you please explain how I'm suppose to build & link this package to my project please ?
Link error :
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions