Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building: pcre2.h couldn't be found on windows10 #24

Closed
ZoeLeee opened this issue Mar 14, 2023 · 1 comment
Closed

Error when building: pcre2.h couldn't be found on windows10 #24

ZoeLeee opened this issue Mar 14, 2023 · 1 comment
Labels
P1 High priority issue.

Comments

@ZoeLeee
Copy link

ZoeLeee commented Mar 14, 2023

The error is the same as #18 ,this question was closed, but on windows the problem persists

"@dr.pogodin/react-native-static-server": "^0.7.1",
"react": "18.2.0",
"react-native": "0.71.4",
"react-native-webview": "^11.26.1"
cmake version 3.23.0-rc2

 -- Performing Test HAVE_STRUCT_TM_GMTOFF - Success
  -- found pcre2-config: no
  -- Looking for include file pcre2.h
  -- Looking for include file pcre2.h - not found
  -- Looking for pcre_match in pcre2-8
  -- Looking for pcre_match in pcre2-8 - not found
  -- Configuring incomplete, errors occurred!
  See also "E:/projects/HCApp/node_modules/@dr.pogodin/react-native-static-server/android/.cxx/Debug/5h56646f/arm64-v8a/CMakeFiles/CMakeOutput.log".
  See also "E:/projects/HCApp/node_modules/@dr.pogodin/react-native-static-server/android/.cxx/Debug/5h56646f/arm64-v8a/CMakeFiles/CMakeError.log".

  C++ build system [configure] failed while executing:
      @echo off
      "G:\\Android\\SDK\\cmake\\3.18.1\\bin\\cmake.exe" ^
        "-HE:\\projects\\HCApp\\node_modules\\@dr.pogodin\\react-native-static-server" ^
        "-DCMAKE_SYSTEM_NAME=Android" ^
        "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" ^
        "-DCMAKE_SYSTEM_VERSION=28" ^
        "-DANDROID_PLATFORM=android-28" ^
        "-DANDROID_ABI=arm64-v8a" ^
        "-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a" ^
        "-DANDROID_NDK=G:\\Android\\SDK\\ndk\\23.1.7779620" ^
        "-DCMAKE_ANDROID_NDK=G:\\Android\\SDK\\ndk\\23.1.7779620" ^
        "-DCMAKE_TOOLCHAIN_FILE=G:\\Android\\SDK\\ndk\\23.1.7779620\\build\\cmake\\android.toolchain.cmake" ^
        "-DCMAKE_MAKE_PROGRAM=G:\\Android\\SDK\\cmake\\3.18.1\\bin\\ninja.exe" ^
        "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=E:\\projects\\HCApp\\node_modules\\@dr.pogodin\\react-native-static-server\\android\\build\\intermediates\\cxx\\Debug\\5h56646f\\obj\\arm64-v8a" ^
        "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=E:\\projects\\HCApp\\node_modules\\@dr.pogodin\\react-native-static-server\\android\\build\\intermediates\\cxx\\Debug\\5h56646f\\obj\\arm64-v8a" ^
        "-DCMAKE_BUILD_TYPE=Debug" ^
        "-BE:\\projects\\HCApp\\node_modules\\@dr.pogodin\\react-native-static-server\\android\\.cxx\\Debug\\5h56646f\\arm64-v8a" ^
        -GNinja ^
        "-DWITH_ANDROID_NDK_SYSLOG_INTERCEPT=ON" ^
        "-DWITH_JAVA_NATIVE_INTERFACE=ON" ^
        "-DBUILD_STATIC=ON"
    from E:\projects\HCApp\node_modules\@dr.pogodin\react-native-static-server\android
  CMake Warning (dev) at CMakeLists.txt:46:
    Syntax Warning in cmake code at column 29

    Argument not separated from preceding token by whitespace.
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev) at CMakeLists.txt:47:
    Syntax Warning in cmake code at column 30

    Argument not separated from preceding token by whitespace.
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev) at CMakeLists.txt:48:
    Syntax Warning in cmake code at column 30

    Argument not separated from preceding token by whitespace.
  This warning is for project developers.  Use -Wno-dev to suppress it.
@birdofpreyru birdofpreyru added P1 High priority issue. In Progress The issue is actively worked upon labels Mar 14, 2023
@birdofpreyru
Copy link
Owner

Same as #20 as well, closing this one.

@birdofpreyru birdofpreyru removed the In Progress The issue is actively worked upon label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High priority issue.
Projects
None yet
Development

No branches or pull requests

2 participants