corymickelson / NoPoDoFo

node pdf native bindings
GNU Affero General Public License v3.0
26 stars 6 forks source link

Tests crash when building on macos 10.15 catalina, other things don't work #104

Open taxilian opened 4 years ago

taxilian commented 4 years ago

I was super stoked when I found this project -- it's exactly what I need -- but unfortunately I'm having a lot of trouble getting it working. So far my PDFs generated from node are empty no matter what I do with them and the tests cause a segfault.

With more testing I discovered that at least one of the crashes is due to using a dynamic cast which fails and then calling a method on it (on null) but even when I "fixed" that (added a check) I couldn't get it to work. I couldn't even get a basic test with painter to produce anything on the PDF, it was all just white.

Any suggestions?

corymickelson commented 4 years ago

Mac has historically been problematic, can you provide me the compiler your using and version (gcc, clang), the version of podofo and all libraries(openssl, tiff, png, jpeg, etc...) and what version of node your using.

taxilian commented 4 years ago

I've unfortunately ended up moving to a different library as this one was not reliable for me, but I was just using node 10.17 and whatever 10.15 comes with for the other libraries. I don't have the configuration set up anymore :-/