You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yafaray/include/core_api/surface.h:118:26: error: « numeric_limits » is not member of « std »
118 | else return std::numeric_limits<float>::infinity();`
To fix it:
Add this two lines in the main CMakeLists.txt just before ####### Options ########
The text was updated successfully, but these errors were encountered:
Suryavarman
changed the title
Building process :
Build process : error: « numeric_limits » is not member of « std »
Jan 4, 2024
Suryavarman
changed the title
Build process : error: « numeric_limits » is not member of « std »
[build] error: « numeric_limits » is not member of « std »
Jan 4, 2024
Hello,
Thank you for reporting this building issue. This problem is already resolved in the libYafaRay v4.0 pre-alpha codebase, which is using the C++17 standard. The old YafaRay v3.5.1 is no longer being developed.
That said, it is true that libYafaRay 4.0 pre-alpha code is still too unstable for any distros. In the mean time please feel free to keep your patch in the distro to build YafaRay v3.5.1, as its codebase will (almost certainly) not change.
Mageia 9
gcc 12.3.0
CMake 3.26.4
Yafaray: v3.5.1
To fix it:
Add this two lines in the main CMakeLists.txt just before ####### Options ########
The text was updated successfully, but these errors were encountered: