#61 Update PCRE to latest version

closed-accepted
Kimmo Varis
None
5
2008-05-29
2008-04-14
Kimmo Varis
No

Currently we are using PCRE version 6.7 which was easy to include as there was version with ready made Visual Studio project/solution files in here:
http://www.psyon.org/projects/pcre-win32/index.php

However, there aren't new such versions available. So we probably need a bit of work for compiling.

The latest PCRE version in http://www.pcre.org is 7.6.

This page:
http://procfs.blogspot.com/2007/06/building-pcre-on-windows.html
suggests it should not be too hard.

Discussion

1 2 > >> (Page 1 of 2)
  • Tim Gerundt
    Tim Gerundt
    2008-05-07

    Logged In: YES
    user_id=652377
    Originator: NO

    The PCRE developers release today version 7.7!

    The latest versions support CMake <http://www.cmake.org/> as build system, which can create Visual Studio files. I tested "pcre-7.6.zip" and "pcre-7.7.zip" with CMake + VS2005 and it seems to work. But I am a layman in this things. :-(

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-22

    Logged In: YES
    user_id=631874
    Originator: YES

    Quickly tested with VS2003.net and resulting DLL seems to work nicely. I'll submit updates in next days. Before creating the devel branch..

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-26

    Logged In: YES
    user_id=631874
    Originator: YES

    It isn't so straightforward as I was hoping for. CMake based system creates solution/project files to one folder, and all temp/built files are created into subfolders of that folder. And what is worse, all paths are absolute paths.

    So created project/solution files require some hand-editing before they work in our system.

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-26

    Logged In: YES
    user_id=631874
    Originator: YES

    Attaching Win32 build folder I created for PCRE 7.7.

    To use this:
    1) Unzip PCRE to WinMerge/Externals/pcre (don't create pcre-7.7 folder their zip has)
    2) Unzip Win32 folder from attachmen to WinMerge/Externals/pcre as subfolder
    3) Open the solution file from Externals/pcre/Win32
    4) Build the pcre target, no need to care about other targets, all of them aren't even converted to our system's paths

    File Added: pcre_Win32.zip

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-26

    Win32 build folder for pcre 7.7

     
    Attachments
  • Kimmo Varis
    Kimmo Varis
    2008-05-27

    Logged In: YES
    user_id=631874
    Originator: YES

    Added PCRE 7.7. to SVN trunk:
    Completed: At revision: 5380

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-27

    Logged In: YES
    user_id=631874
    Originator: YES

    Committed a fix for include paths in WinMerge executable project file. And fixes to Src/Prelink.bat to fix building PCRE from WinMerge project file.

    Completed: At revision: 5381

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-27

    Logged In: YES
    user_id=631874
    Originator: YES

    Fixed the debug dll file name to pcre.dll (was pcred.dll).
    Completed: At revision: 5382

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-27

    Logged In: YES
    user_id=631874
    Originator: YES

    Committed fix for debug build, post-build rule in pcre.vcproj still referred to pcred.dll.
    Completed: At revision: 5383

     
  • Kimmo Varis
    Kimmo Varis
    2008-05-27

    Logged In: YES
    user_id=631874
    Originator: YES

    Fixed copying pcre.dll to build dir in prelink.bat.
    Completed: At revision: 5384

     
1 2 > >> (Page 1 of 2)