[gradsusr] Compiling grads from source
Zilore Mumba
zmumba at gmail.com
Mon Oct 16 04:19:19 EDT 2017
Hello,
I am trying to compile grads from source according to guidance here
http://cola.gmu.edu/grads/gadoc/supplibs2.html. This is because I am
running 32 bit (ubuntu) and I do not see 32 bit binaries on the grads
download site.
I know building from source should be very complicated, considering the
number of supplementary libraries required.
Already I hit a snag compiling ncurses, the errors being
In file included from ../c++/cursesf.h:39:0,
from ../c++/cursesf.cc:35:
../c++/cursesp.h: In member function ‘T* NCursesUserPanel<T>::UserData()
const’:
../c++/cursesp.h:256:43: error: no matching function for call to
‘NCursesUserPanel<T>::get_user() const’
return reinterpret_cast<T*>(get_user ());
^
../c++/cursesp.h:80:9: note: candidate: void* NCursesPanel::get_user()
<near match>
void *get_user()
^~~~~~~~
../c++/cursesp.h:80:9: note: passing ‘const NCursesUserPanel<T>*’ as
‘this’ argument discards qualifiers
In file included from ../c++/cursesf.cc:35:0:
../c++/cursesf.h: In member function ‘T* NCursesUserForm<T>::UserData()
const’:
../c++/cursesf.h:707:43: error: no matching function for call to
‘NCursesUserForm<T>::get_user() const’
return reinterpret_cast<T*>(get_user ());
^
../c++/cursesf.h:384:16: note: candidate: void* NCursesForm::get_user()
<near match>
inline void *get_user() {
^~~~~~~~
../c++/cursesf.h:384:16: note: passing ‘const NCursesUserForm<T>*’ as
‘this’ argument discards qualifiers
Makefile:319: recipe for target '../obj_s/cursesf.o' failed
make[1]: *** [../obj_s/cursesf.o] Error 1
make[1]: Leaving directory '/home/zmumba/grads/supplibs/src/ncurses-5.7/c++'
Makefile:98: recipe for target 'install' failed
make: *** [install] Error 2
Googling these errors does not seem to help so far.
I would appreciate if anyone has gone through this, resolved it and can
share
I have not gone beyond ncurses, thinking the libraries are to be built in
the order given on the website.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171016/0c8b3752/attachment.html
More information about the gradsusr
mailing list