I'm trying to compile Fung-Calc 1.3.2a on a fairly
standard RedHat 7.3 system (standard compiler, KDE,
some libraries added, none updated)
The compile dies with the following error:
glbasicgraphmain.cpp: In method `void
GLBasicGraphMain::save (ofstream
*)':
glbasicgraphmain.cpp:191: cannot convert `GLBasicGraph
*' to `const
GLExpressionGraph *' in initialization
make[4]: *** [glbasicgraphmain.lo] Error 1
make[4]: Leaving directory
`/u/bsilva/dl/t/fung-calc-1.3.2a/src/libfungcalcui/3D'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/u/bsilva/dl/t/fung-calc-1.3.2a/src/libfungcalcui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/u/bsilva/dl/t/fung-calc-1.3.2a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/u/bsilva/dl/t/fung-calc-1.3.2a'
make: *** [all] Error 2
Any ideas?
If I can be of any help, please write.
Thanks,
Brad
Logged In: YES
user_id=616614
I'm going to have to upload another small update to fix this
problem. For now, you can fix it by changing line 191 of
src/libfungcalcui/3D/glbasicgraphmain.cpp from
const GLExpressionGraph *graph = getGraph();
to
GLExpressionGraph *graph = static_cast<GLExpressionGraph*>
(getGraph());