hi, i made "x-lfs-2010" which runs X11R6-4.8.0 and motif-2.5.0, all intel i486 built.

i was randomly getting bins that either always segfaulted or always worked. they crashed libXt first time GrCreateForm is used in De_main_Create (strace, after reading XKeysymDB) - but i never did "stepi" into Xt long enough to find what. my guess? if fallback resources are wrong or XtSetARgs or mistaken, Xt crashes during program start (common problems)

all i can figure is to disable HasGRFORM HasPD HasOpenGL HasMatrix ? AHA disable HasOpenGL is all i needed, then Xt does not crash.

i'm sure building and running GL (and compiling) on the platform works. my motif does not say it supports OpenGL specifically. and i use emulation (no hw OpenGL in silicon suported)

i dont see any obvious mistakes in EasyMotif.c for OpenGL. the .pdf on motif/GL warns about difficulty in obtaining format compatible canvas/GC is all i know. confusing is why it's Xt that crashes and at GrCreateForm - and not when gl things are (being done). (aain all i can think there is: fallbacks or setargs issues)

also: for version 2_3_8_6

i have to goto line (this is ed script)
cat <<EOF | ed
r EasyMotif.c
8939,8949c
}
# endif
.
wq EasyMotif.c
EOF

nice project - i know using uil script to make interfaces in text mode is "kinda easy" but a gui is nice and i dont see many/any other motif gui builders that are free

 

Last edit: John D. Hendrickson 2016-08-08