<div dir="ltr"><div><div><div><div><div><div>Hello,<br></div>I am trying to compile grads from source according to guidance here <a href="http://cola.gmu.edu/grads/gadoc/supplibs2.html">http://cola.gmu.edu/grads/gadoc/supplibs2.html</a>. This is because I am running 32 bit (ubuntu) and I do not see 32 bit binaries on the grads download site.<br></div>I know building from source should be very complicated, considering the number of supplementary libraries required.<br></div>Already I hit a snag compiling ncurses, the errors being <br>In file included from ../c++/cursesf.h:39:0,<br>                 from ../c++/cursesf.cc:35:<br>../c++/cursesp.h: In member function ‘T* NCursesUserPanel&lt;T&gt;::UserData() const’:<br>../c++/cursesp.h:256:43: error: no matching function for call to ‘NCursesUserPanel&lt;T&gt;::get_user() const’<br>     return reinterpret_cast&lt;T*&gt;(get_user ());<br>                                           ^<br>../c++/cursesp.h:80:9: note: candidate: void* NCursesPanel::get_user() &lt;near match&gt;<br>   void *get_user()<br>         ^~~~~~~~<br>../c++/cursesp.h:80:9: note:   passing ‘const NCursesUserPanel&lt;T&gt;*’ as ‘this’ argument discards qualifiers<br>In file included from ../c++/cursesf.cc:35:0:<br>../c++/cursesf.h: In member function ‘T* NCursesUserForm&lt;T&gt;::UserData() const’:<br>../c++/cursesf.h:707:43: error: no matching function for call to ‘NCursesUserForm&lt;T&gt;::get_user() const’<br>     return reinterpret_cast&lt;T*&gt;(get_user ());<br>                                           ^<br>../c++/cursesf.h:384:16: note: candidate: void* NCursesForm::get_user() &lt;near match&gt;<br>   inline void *get_user() {<br>                ^~~~~~~~<br>../c++/cursesf.h:384:16: note:   passing ‘const NCursesUserForm&lt;T&gt;*’ as ‘this’ argument discards qualifiers<br>Makefile:319: recipe for target &#39;../obj_s/cursesf.o&#39; failed<br>make[1]: *** [../obj_s/cursesf.o] Error 1<br>make[1]: Leaving directory &#39;/home/zmumba/grads/supplibs/src/ncurses-5.7/c++&#39;<br>Makefile:98: recipe for target &#39;install&#39; failed<br>make: *** [install] Error 2<br><br></div>Googling these errors does not seem to help so far.<br></div>I would appreciate if anyone has gone through this, resolved it and can share</div><div><br></div><div>I have not gone beyond ncurses, thinking the libraries are to be built in the order given on the website.<br></div>Thanks<br></div>