xelatihy / yocto-gl

Yocto/GL: Tiny C++ Libraries for Data-Driven Physically-based Graphics

Home Page:https://xelatihy.github.io/yocto-gl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No instance of constructor "yocto::vec2f::vec2f" matches the argument list

TerminalTit opened this issue · comments

Hello!
System Linux Ubuntu 22 (clang/gcc)

Screenshot 2023-09-02 at 20 05 13

/home/manager/Projects/yocto-gl-main/libs/yocto/yocto_math.h:156: error: no instance of constructor "yocto::vec2f::vec2f" matches the argument list
/home/manager/Projects/yocto-gl-main/libs/yocto/yocto_math.h(156): error: no instance of constructor "yocto::vec2f::vec2f" matches the argument list
argument types are: (int, int)
auto zero2f = vec2f{0, 0};
^
hundred errors

ninja: build stopped: subcommand failed.
:- 1: Error while building/deploying project yocto_gl (kit: Desktop Qt 6.5.2 Clang 64bit)
Error while building/deploying project yocto_gl (kit: Desktop Qt 6.5.2 Clang 64bit)
When executing step "Build"

The same as https://github.com/xelatihy/yocto-gl/issues/1348

How to solve: CXX_STANDART 11->17

It is WORKING on Linux!!! YAAAHOOO!!!
CUDA + Nvidia 3080 + drivers 535
Ubuntu 22
clang 14