SPADS PerlUnitSync module generation for Windows: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
No edit summary
Bibim (talk | contribs)
obsolete
Line 1: Line 1:
<span class=warning>This procedure is obsolete since SPADS 0.11.36, it is just kept here for reference. SPADS now uses the Win32::API module for unitsync library interface on Windows, it doesn't require generating Swig wrappers anymore.</span>
This document describes how to generate the PerlUnitSync wrapper files for Windows. It is aimed at SPADS maintainer only. By default SPADS automatically downloads these files from maintainer's repository, so you don't need to regenerate them unless you want to compile your own wrapper for specific unitsync versions.
This document describes how to generate the PerlUnitSync wrapper files for Windows. It is aimed at SPADS maintainer only. By default SPADS automatically downloads these files from maintainer's repository, so you don't need to regenerate them unless you want to compile your own wrapper for specific unitsync versions.



Revision as of 11:06, 14 November 2015

This procedure is obsolete since SPADS 0.11.36, it is just kept here for reference. SPADS now uses the Win32::API module for unitsync library interface on Windows, it doesn't require generating Swig wrappers anymore.

This document describes how to generate the PerlUnitSync wrapper files for Windows. It is aimed at SPADS maintainer only. By default SPADS automatically downloads these files from maintainer's repository, so you don't need to regenerate them unless you want to compile your own wrapper for specific unitsync versions.

Requirements

Following components must be installed on the system and added to your PATH environment variable:

  • Swig
  • GCC Version 4
  • GNU Binutils
  • MinGW API for MS-Windows
  • MinGW Runtime
  • MinGW Utilities

The PERL5_LIB environment variable must be set to the Perl5 library of your Perl installation (example: "C:\Perl\lib\CORE\perl516.lib")

Procedure

The PerlUnitSync module generation must be launched from SPADS directory as follows:

   perl spadsInstaller.pl -g