TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BOB PROHASKA
from: ANSSI SAARI
date: 2020-09-28 21:55:00
subject: Re: brl-cad on a Pi4?

bob prohaska  writes:

> 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).

I tried and had the same error on my 3B+. I tried a couple of things to
pass -Wno-incompatible-pointer-types but didn't get it right but then
just tried passing -DBRLCAD_ENABLE_COMPILER_WARNINGS=OFF to cmake and
that made it pass. That option removed at least -pedantic and
-pedantic-errors from CFLAGS and/or CXXFLAGS and that warning was then
just a warning.

Tests pass except for two in the regress suite and they fail due to
timeout. However, mged just crashes when I try to start it.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.