-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi, I cloned the repo following the instructions but when I launch 'make' it cannot compile the 'box.c' source. Thanks to anyone for the help.
❯ make --version
GNU Make 4.4
❯ gcc --version
gcc (GCC) 12.2.1 20230201
OS: Arch Linux x86_64
Kernel: 6.1.11-arch1-1
CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz
GPU: AMD ATI Radeon RX 6800 XT
Memory: 128GiB
qbRayTrace/qbPrimatives/box.cpp: In member function ‘virtual bool qbRT::Box::TestIntersection(const qbRT::Ray&, qbRT::DATA::hitData&)’:
qbRayTrace/qbPrimatives/box.cpp:65:31: error: aggregate ‘std::array<double, 6> t’ has incomplete type and cannot be defined
65 | std::array<double, 6> t;
| ^
qbRayTrace/qbPrimatives/box.cpp:66:31: error: aggregate ‘std::array<double, 6> u’ has incomplete type and cannot be defined
66 | std::array<double, 6> u;
| ^
qbRayTrace/qbPrimatives/box.cpp:67:31: error: aggregate ‘std::array<double, 6> v’ has incomplete type and cannot be defined
67 | std::array<double, 6> v;
| ^
qbRayTrace/qbPrimatives/box.cpp: In member function ‘bool qbRT::Box::TestIntersection(const qbRT::Ray&)’:
qbRayTrace/qbPrimatives/box.cpp:229:31: error: variable ‘std::array<double, 6> t’ has initializer but incomplete type
229 | std::array<double, 6> t {100e6, 100e6, 100e6, 100e6, 100e6, 100e6};
| ^
qbRayTrace/qbPrimatives/box.cpp:230:31: error: variable ‘std::array<double, 6> u’ has initializer but incomplete type
230 | std::array<double, 6> u {0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
| ^
qbRayTrace/qbPrimatives/box.cpp:231:31: error: variable ‘std::array<double, 6> v’ has initializer but incomplete type
231 | std::array<double, 6> v {0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
| ^
make: *** [makefile:31: qbRayTrace/qbPrimatives/box.o] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels