Some test text!

menu
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

close

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 live demo to learn about use cases & capabilities for WebViewer

Learn more
close