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

[package] pcre/8.45: Build failed with ClangCL on Visual Studio #8172

Open
IRainman opened this issue Nov 24, 2021 · 1 comment
Open

[package] pcre/8.45: Build failed with ClangCL on Visual Studio #8172

IRainman opened this issue Nov 24, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@IRainman
Copy link

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: pcre/8.45
  • Operating System+version: Windows 10
  • Compiler+version: Visual Studio 16
  • Conan version: conan 1.42.2
  • Python version: Python 3.9.7

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.version=16
compiler.runtime='MTd'
compiler.toolset=ClangCL
compiler.cppstd=20
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

Logs (Include/Attach if Applicable)

Click to expand log
pcre/8.45: Copying sources to build folder
pcre/8.45: Building your package in C:\Users\L\.conan\data\pcre\8.45\_\_\build\5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad
pcre/8.45: Generator cmake created conanbuildinfo.cmake
pcre/8.45: Aggregating env generators
pcre/8.45: Calling build()
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_CXX_COMPILER could be found.



-- Configuring incomplete, errors occurred!
See also "C:/Users/L/.conan/data/pcre/8.45/_/_/build/5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad/build_subfolder/CMakeFiles/CMakeOutput.log".
See also "C:/Users/L/.conan/data/pcre/8.45/_/_/build/5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad/build_subfolder/CMakeFiles/CMakeError.log".
pcre/8.45:
pcre/8.45: ERROR: Package '5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad' build failed
pcre/8.45: WARN: Build folder C:\Users\L\.conan\data\pcre\8.45\_\_\build\5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad
ERROR: pcre/8.45: Error in build() method, line 137
        cmake = self._configure_cmake()
while calling '_configure_cmake', line 132
        self._cmake.configure(build_folder=self._build_subfolder)
        ConanException: Error 1 while executing cd C:\Users\L\.conan\data\pcre\8.45\_\_\build\5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad\build_subfolder && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MTd" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP20" -DCONAN_C_FLAGS="/MP20" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="C:\Users\L\.conan\data\pcre\8.45\_\_\package\5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="C:/Users/L/.conan/data/pcre/8.45/_/_/build/5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DPCRE_BUILD_TESTS="False" -DPCRE_BUILD_PCRE8="True" -DPCRE_BUILD_PCRE16="True" -DPCRE_BUILD_PCRE32="True" -DPCRE_BUILD_PCREGREP="False" -DPCRE_BUILD_PCRECPP="False" -DPCRE_SUPPORT_LIBZ="False" -DPCRE_SUPPORT_LIBBZ2="False" -DPCRE_SUPPORT_JIT="False" -DPCRE_SUPPORT_UTF="True" -DPCRE_SUPPORT_UNICODE_PROPERTIES="True" -DPCRE_SUPPORT_LIBREADLINE="False" -DPCRE_SUPPORT_LIBEDIT="False" -DPCRE_NO_RECURSE="False" -DPCRE_STATIC_RUNTIME="False" -Wno-dev -T "ClangCL" C:\Users\L\.conan\data\pcre\8.45\_\_\build\5efd14a8dda85c8a4cb9d4f9edf567cbc31106ad
@amit9542
Copy link

Exactly the same failure on Linux, clang 13 with config:

Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants