Comments (4)
I made some progress,
I found that if I use a prebuilt OpenSSL library from a different place, and not from "podofo-deps",
using parameter -DOPENSSL_ROOT_DIR=C:\OpenSSL-Win64 works.
So basically the bug is that the OpenSSL part from podofo-deps is incomplete
from podofo.
Please note the disclaimer.
These dependencies are supplied only for development purposes and come with no warranty. They are not frequently updated, may contain security flaws and be unsafe to use.
The openssl builds there are fine but the libs/includes directory layout may be incompatible with your attempt to hint the cmake find module for OpenSSL. I will better specify that the deps there are supposed to be used with the playground only. I will also improve the build/quickstart guide to encourage using package managers, such as vcpkg and Conan.
from podofo.
Ok, this is the workaround I found:
Copy the 4 lib files from
\podofo-deps-master\3rdparty\openssl\lib\Win64
to
\podofo-deps-master\3rdparty\openssl\lib\
And you are OK to use -DOPENSSL_ROOT_DIR=C:\PoDoFo\podofo-deps-master\3rdparty\openssl
Additionally, I found that
-DFREETYPE_INCLUDE_DIRS=C:\PoDoFo\podofo-deps-master\3rdparty\freetype\include
is not creating a working VS solution, it has to be
-DFREETYPE_INCLUDE_DIRS=C:\PoDoFo\podofo-deps-master\3rdparty\freetype\include\freetype2
That way I was able to compile and run the HelloWorld example.
from podofo.
I updated the relevant Readme section read it carefully. I also update the disclaimer about podofo-deps
in the playground. I am assuming you'll be able to continue on your own, especially in case of dependencies build from sources, for which I can't really provide support.
from podofo.
Related Issues (20)
- legacy.dll not copied HOT 10
- cmap generated by PdfDynamicEncoding is displayed differently in different readers HOT 20
- Freetype font management thread-safety HOT 1
- Segmentation fault when trying to Load image HOT 4
- Images are skewed HOT 1
- help with signing documents HOT 1
- Extract PDF file results in a garbled code HOT 8
- Please clarify license information for the following files HOT 3
- please provide instructions on how to create a PdfSignature HOT 2
- PdfErrorCode::OutOfMemory, PoDoFo is out of memory. in Signer.ComputeSignatureSequential({ }, Buff, true); HOT 6
- Is it possible to set the specified page not to be copied? HOT 1
- GetPageAt;ExtractTextTo: When the number of PDF pages increases linearly, the cost of both methods increases exponentially HOT 4
- FT_Load_Sfnt_Table, the judgment of return value HOT 1
- Question: Trying to add Marked Content and reshuffle OCG's
- fails to compile on msys2/mingw HOT 13
- Unable to load legacy providers in OpenSSL >= 3.x.x HOT 4
- Program received signal SIGABRT, Aborted HOT 3
- how to remove freeobject
- Question: Migration to 0.10.x - What happend to PdfField? HOT 3
- helloworld does not compile with libxml2 v2.12.6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podofo.