-
Notifications
You must be signed in to change notification settings - Fork 203
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
Can not build on Raspberry PI 4 #20
Comments
Can you try re-compiling with current |
I tried it with the latest master and the latest gcc 8.3 that comes with Raspian, so the compiler should actually work, but still the same errors. |
Are you sure you tried the latest |
2 day ago |
Please perform a fresh clone (delete the whole tree and re-clone), in the Enoki removal some artifacts in the build system may be causing you grief since I think the Please paste the updated output, it should at the very least be erroring in a different file. I'm revising the build system and can try to support this if you provide me with enough information to help you. |
I did that, but I give it again a try |
I have a problem building nanogui on Raspian. Enoki trows a lot of errors and wan't build
/home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array_neon.h:56:81: error: expected identifier before ‘alignas’ ol Approx_, bool IsMask_, typename Derived_> struct ENOKI_MAY_ALIAS alignas(16) ^~~~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array.h:75:8: error: invalid use of incomplete type ‘struct enoki::StaticArrayImpl<float, 4, true, (enoki::RoundingMode)4, false, enoki::Array<float, 4>, int>’ struct Array : StaticArrayImpl<Value_, Size_, Approx_, Mode_, false, /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array_generic.h:138:26: error: type ‘enoki::Array<float, 4>::Base’ {aka ‘enoki::StaticArrayImpl<float, 4, true, (enoki::RoundingMode)4, false, enoki::Array<float, 4>, int>’} is not a base type for type ‘enoki::Array<float, 4>’ using typename Base::Derived; \ ^~~~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array_generic.h:147:5: note: in expansion of macro ‘ENOKI_ARRAY_IMPORT_BASIC’ ENOKI_ARRAY_IMPORT_BASIC(Base, Array) \ ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array.h:92:5: note: in expansion of macro ‘ENOKI_ARRAY_IMPORT’ ENOKI_ARRAY_IMPORT(Base, Array) ^~~~~~~~~~~~~~~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array_generic.h:139:26: error: type ‘enoki::Array<float, 4>::Base’ {aka ‘enoki::StaticArrayImpl<float, 4, true, (enoki::RoundingMode)4, false, enoki::Array<float, 4>, int>’} is not a base type for type ‘enoki::Array<float, 4>’ using typename Base::Value; \ ^~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array_generic.h:147:5: note: in expansion of macro ‘ENOKI_ARRAY_IMPORT_BASIC’ ENOKI_ARRAY_IMPORT_BASIC(Base, Array) \ ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array.h:92:5: note: in expansion of macro ‘ENOKI_ARRAY_IMPORT’ ENOKI_ARRAY_IMPORT(Base, Array) ^~~~~~~~~~~~~~~~~~ /home/pi/Dev/nanoGUI/ext/enoki/include/enoki/array_generic.h:140:26: error: type ‘enoki::Array<float, 4>::Base’ {aka ‘enoki::StaticArrayImpl<float, 4, true, (enoki::RoundingMode)4, false, enoki::Array<float, 4>, int>’} is not a base type for type ‘enoki::Array<float, 4>’ using typename Base::Scalar;
and a lot more!
Any suggestions how to fix this?
The text was updated successfully, but these errors were encountered: