bob prohaska wrote:
> Just for fun I tried to compile brl-cad (a constructive solid geometry
modeling
> system) on my Pi4. To my surprise, it came close(ish) to working, I think.
>
> The configure stage ran to completion, and make got to the ~90% mark before
> reporting:
>
> [ 89%] Linking C shared library ../../../libexec/ged/libged-otranslate.so
> /home/bob/brlcad-code/src/libged/overlay/overlay.c: In function
???ged_overlay_core???:
> /home/bob/brlcad-code/src/libged/overlay/overlay.c:245:63: error: passing
argument 5 of ???icv_image_size
> ??? from incompatible pointer type [-Wincompatible-pointer-types]
> if (!icv_image_size(NULL, 0, (size_t)sbuf.st_size, type, &lwidth,
&lheight)) {
>
>
> Has anybody else tried this, and gotten past? It looks as if maybe the c
compiler is
> being more strict than absolutely necessary (or maybe expected by the
developers).
>
> Thanks for reading, and any thoughts....
It's probably a sign that you're building against a different version
of libged than has been tested/supported. Otherwise perhaps it's a
newer gcc version treating a parameter such as "-pedantic-errors"
with more pedantry, in which case you might just be able to remove
that option from the Makefile and it might run alright.
--
__ __
#_ < |\| |< _#
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|