AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to build with OIIO 2.4.4.1 + FMT 9.1.0

MehdiChinoune opened this issue · comments

Problem

OSL 1.12.6.2 Fails to build with OIIO 2.4.4.1 + FMT 9.1.0, the same happened before with 1.11.17.0 + OIIO 2.3.19.0 + FMT 9.1.0.
It succeeded to build with FMT 8.x

Expected behavior:

To build successfully with the latest packages

Actual behavior:

Fails to build with Both GCC 12.2.0 and Clang 15.0.1
https://gist.github.com/MehdiChinoune/502f0ce1b28cd6f89172fbe77632c1bc

Steps to Reproduce

  1. Install/Build FMT 9.1.0 and OIIO 2.4.4.1 or 2.3.19.0
  2. Build OSL

Versions

  • OSL branch/version: 1.12.6.2
  • OS: Windows Server 2022 + MSYS2 MINGW
  • C++ compiler: GCC 12.2.0 | Clang 15.0.1
  • LLVM version: 15.0.1
  • OIIO version: 2.4.4.1 | 2.3.19.0