Skip to content

Commit 1480dba

Browse files
authored
Add Swig compilation option
1 parent 40475c9 commit 1480dba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

technical/libpack.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,13 @@ structure, so the final LibPack contains several different types of installation
6565
- At this time this guide was written, Quarter did not correctly support Qt 6.5: the file QuarterWidgetP.cpp had to
6666
be modified to add `#include <QOpenGLContext>` in the Qt includes section at the top of the file.
6767
- Build the ALL_BUILD and INSTALL targets in Release mode
68+
* **[PCRE2](https://pcre.org/)** -- Clone https://github.com/PCRE2Project/pcre2
69+
- Only required if compiling SWIG, rather than downloading binaries
70+
- Only shared libraries needed (no need to build static)
6871
* **[SWIG](https://www.swig.org)** -- obtained from https://www.swig.org, prebuilt binaries are available for Windows
6972
- Copy the downloaded folder to *LIBPACK\bin\swig* (e.g. change its name to remove the version number)
73+
- Alternative: follow instructions above for PCRE2, then clone from https://github.com/swig/swig.git
74+
- Note that this will require GNU Bison to build. Windows exe can be downloaded from https://github.com/lexxmark/winflexbison/
7075
* **[Pivy](https://www.coin3d.org)** -- obtained by cloning and compiling https://github.com/coin3d/pivy
7176
- Set Python_ROOT_DIR to *LIBPACK/bin*
7277
- Set SWIG_EXECUTABLE to *LIBPACK/bin/swig/swig.exe*

0 commit comments

Comments
 (0)