Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3869

C/C++ • Re: How to make ' #pragma GCC diagnostic ignored "-Wpsabi" ' work with g++ ?

$
0
0
Ooops, I have one more platform where I had tested cgal4gp to work, under termux/Android:
https://github.com/Hermann-SW/cgal4gp?t ... vironments
termux.make.40pc.png
The clang++ compiler under termux did not like the "-std=c++14", stated that CGAL requires C++17 ...

Last night I was able to get basic Qt viewer of CGAL working unter Intel Ubuntu 22.04.
That did not work with libcgal-dev that was version 5.4.
I had to deinstall libgmp-dev and install CGAL-5.6.1.zip instead.
Then Qt basic viewer just worked (below) — I tried on Lastest 64bit PiOS as well but its OpenGL is not happy :-(

Anyway, I installed CGAL-5.6.1.zip under termux, and now compilation with "-std=c++14" works without warnings.


Image


P.S:
Computational Geometry Algorithms Library (CGAL) is cool:
https://www.cgal.org/

Was able easily to combine quickhull_3 demo with viewer:
quickhull_3.plus.viewer.png

Statistics: Posted by HermannSW — Wed Jul 17, 2024 2:56 pm



Viewing all articles
Browse latest Browse all 3869

Trending Articles