hyperscan icon indicating copy to clipboard operation
hyperscan copied to clipboard

请问有没有windows编译好的类库呢

Open zhijingai opened this issue 7 years ago • 6 comments

5.0编译出现很多问题,环境依赖比较大。需java调用。操作系统:windows与linux

zhijingai avatar Aug 14 '18 05:08 zhijingai

Can you give more details about the errors you've found? We can give some suggestions about how to fix these issues. Thanks!

xiangwang1 avatar Aug 15 '18 00:08 xiangwang1

Run Build Command:"nmake" "/nologo" "cmTC_bba53\fast" 系统找不到指定的文件。 Generator: execution of make failed. Make command was: "nmake" "/nologo" "cmTC_bba53\fast"

zhijingai avatar Aug 15 '18 05:08 zhijingai

Windows DLLs currently not supported

zhijingai avatar Aug 15 '18 07:08 zhijingai

We currently don't support DLL. Below is our recommended approach to install Hyperscan on Windows:

  1. Download Cygwin with make, gcc and wget.
    
  2. Install Ragel
    $ wget http://www.colm.net/files/ragel/ragel-6.10.tar.gz
    $ tar xzvf ragel-6.10.tar.gz && rm ragel-6.10.tar.gz
    $ cd ragel-6.10
    $ ./configure
    $ make
    $ make install 
    
  3. Download CMake(>2.8.11) and Python2.7
    
  4. Download Visual Studio Build Tools 2017 
    
  5. Download Hyperscan 
    
  6. Download Boost(>1.57),pcre 8.41 and sqlite-amalgamation,rename sqlite-amalgamation to sqlite3
    
  7. Compile with CMake and MsBuild.exe
    $ cmake -G "Visual Studio 15 2017 Win64" -D BOOST_ROOT=%cd%/../boost_1_66_0/  ..
    $ cmake --build .
    $ export PATH=$PATH:"/cygdrive/c/Program Files (x86)/Microsoft Visual 
      Studio/2017/BuildTools/MSBuild/15.0/Bin/"
    $ MsBuild.exe ALL_BUILD.vcxproj /t:build
    

xiangwang1 avatar Aug 17 '18 01:08 xiangwang1

Hi @xiangwang1 is there any reason why Windows DLL is not supported by Hyperscan? I'd like to help if possible.

hsluoyz avatar Apr 12 '19 16:04 hsluoyz

We current don't support DLL compile that involves tricky issues (https://lists.01.org/pipermail/hyperscan/2019-April/000153.html). It'll be good if you can contribute your work.

xiangwang1 avatar Apr 16 '19 04:04 xiangwang1