Some test text!

SWIG uses the wrong version of Python to compile my wrapperskeyboard_arrow_down

SWIG uses the wrong version of Python to compile my wrappers

If SWIG does not use the Python version and libraries you intend to build the wrappers with, navigate to PDFNetWrappers/PDFNetPython and add a version requirement to the line find_package(PythonLibs). For example, if SWIG is targeting Python 3.7 but you want to compile the wrappers with Python 2.7, change the line to

find_package(PythonLibs 2.7 EXACT REQUIRED)

Note you must have the python version installed on your OS in order for SWIG to target that version. pyenv can help you install another version of Python.

Get the answers you need: Support


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our upcoming webinar to learn about how to collaborate on videos frame by frame directly in your browser

Save your seat