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] freetype/2.13.2: Could not determine type of Windows resource compiler #24414

Open
receiver1 opened this issue Jun 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@receiver1
Copy link

Description

Screenshot 2024-06-22 123324

Package and Environment Details

  • Package Name/Version: freetype/2.13.2
  • Operating System+version: Windows 10 22H2
  • Compiler+version: Clang 18.1.3
  • Docker image:
  • Conan version: conan 2.3.0
  • Python version: Python 3.12.4

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=20
compiler.version=18
os=Windows

Steps to reproduce

Place in conanfile.txt:

[requires]
freetype/2.13.2

[options]
freetype/*:shared=False
freetype/*:with_png=False
freetype/*:with_zlib=False
freetype/*:with_bzip2=False

[generators]
CMakeDeps
CMakeToolchain

[layout]
cmake_layout

Run command:
conan install .\conanfile.txt --output=out --build=missing

Logs

Click to expand log
-------- Installing package freetype/2.13.2 (17 of 17) --------
freetype/2.13.2: Building from source
freetype/2.13.2: Package freetype/2.13.2:814e207f791e1e1709e78b38fdc3573ff8929dd6
freetype/2.13.2: Copying sources to build folder
freetype/2.13.2: Building your package in C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b
freetype/2.13.2: Calling generate()
freetype/2.13.2: Generators folder: C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release\conan
freetype/2.13.2: Generating aggregated env files
freetype/2.13.2: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
freetype/2.13.2: Calling build()
freetype/2.13.2: Apply patch (portability): meson: Use the standard dependency mechanism to find bzip2
freetype/2.13.2: Meson configure cmd: meson setup --native-file "C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release\conan\conan_meson_native.ini" "C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release" "C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\src" --prefix=/
freetype/2.13.2: RUN: meson setup --native-file "C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release\conan\conan_meson_native.ini" "C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release" "C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\src" --prefix=/
The Meson build system
Version: 1.3.2
Source dir: C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\src
Build dir: C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release
Build type: native build
Project name: freetype2
Project version: 2.13.2
C compiler for the host machine: clang (clang 18.1.3 "clang version 18.1.3")
C linker for the host machine: clang link 14.39.33523.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (C:\Users\Receiver\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python3.EXE)
Has header "unistd.h" : NO 
Has header "fcntl.h" : YES 
Has header "sys/mman.h" : NO 

..\src\meson.build:239:11: ERROR: Could not determine type of Windows resource compiler

A full log can be found at C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release\meson-logs\meson-log.txt

freetype/2.13.2: ERROR:
Package '814e207f791e1e1709e78b38fdc3573ff8929dd6' build failed
freetype/2.13.2: WARN: Build folder C:\Users\Receiver\.conan2\p\b\freet88df0fdd1c3b2\b\build-release
ERROR: freetype/2.13.2: Error in build() method, line 112
        meson.configure()
        ConanException: Error 1 while executing
@receiver1 receiver1 added the bug Something isn't working label Jun 22, 2024
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

1 participant