You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue when compiling with some default options for generic UNIX on ubuntu 14.04.4 LTS with gcc-6.2.0:
CC= gcc -O2
CFLAGS= -DGENERIC
GRAPH= xgraph.o
GRAPHLIB= -lX11
Error:
gcc -O2 -DGENERIC -c xgraph.c
xgraph.c: In function ‘xgraph_facet’:
xgraph.c:247:11: error: ‘struct webstruct’ has no member named ‘hide_flag’; did you mean ‘full_flag’?
if ( web.hide_flag && (t->color != CLEAR) && (t->color != UNSHOWN) )
The hide_flag is indeed missing from web.h. Apparently it got lost some time between 2.30 and 2.70
The text was updated successfully, but these errors were encountered:
gcc -O3 -DLINUX -DOOGL -c xgraph.c
xgraph.c: In function ‘xgraph_facet’:
xgraph.c:247:12: error: ‘struct webstruct’ has no member named ‘hide_flag’; did you mean ‘full_flag’?
if ( web.hide_flag && (t->color != CLEAR) && (t->color != UNSHOWN) )
^~~~~~~~~
full_flag
Makefile:242: recipe for target 'xgraph.o' failed
make: *** [xgraph.o] Error 1
So what I did to compile the version from Ken Brakke's webpage (the tar.gz unix version) was:
commented out the entire SET_PERM_SGLOBAL_NODE section in evalmore.c
in web.h added a line saying:
int hide_flag
in lexinit.c added a line saying:
web.hide_flag=1;
There is an issue when compiling with some default options for generic UNIX on ubuntu 14.04.4 LTS with gcc-6.2.0:
CC= gcc -O2
CFLAGS= -DGENERIC
GRAPH= xgraph.o
GRAPHLIB= -lX11
Error:
gcc -O2 -DGENERIC -c xgraph.c
xgraph.c: In function ‘xgraph_facet’:
xgraph.c:247:11: error: ‘struct webstruct’ has no member named ‘hide_flag’; did you mean ‘full_flag’?
if ( web.hide_flag && (t->color != CLEAR) && (t->color != UNSHOWN) )
The hide_flag is indeed missing from web.h. Apparently it got lost some time between 2.30 and 2.70
The text was updated successfully, but these errors were encountered: