On 12/06/20 8:35 pm, Christoph Thiede wrote:
Thank you very much for your help, Subbu. So now I ran exactly your two commands, but first, the build failed because it was missing |clang|. Do I assume correctly that the following dependency should be mentioned anywhere in the repository?
sudo apt-get -y install clang
I haven't used clang. I use the gcc toolchain. Sorry
|error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option] |
gcc has the unused-but-set-variable warning that gets suppressed with that flag. See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
If you use clang, you will have to find the equivalent.
fatal error: 'GL/gl.h' file not found # include <GL/gl.h> ^~~~~~~~~
This is found in mesa-common-dev package which gets install automatically as a dependency for libgl1-mesa-dev.
- Additionally, I am getting a large number of 177 warnings, which are probably not so important?
If I were you, I would scan through the warnings on 64b compile just to make sure I am not missing anything important. Both int and pointer were 32b on 32b compile so one could force a pointer into int. But a pointer is 64b on 64bit compiles. Storing a pointer into a int is problematic.
Regards .. Subbu