On 31/12/09 17:25, Kornel Benko wrote: > Am Donnerstag 31 Dezember 2009 schrieb James Legg: >> On Thu, 2009-12-31 at 14:24 +0000, Doug wrote: >>> On 30/12/09 14:54, Kornel Benko wrote: >>>> Am Mittwoch 30 Dezember 2009 schrieb Doug: >>>>> /home/dougb/downloads/hugin-2009.4.0/src/hugin1/hugin/GLPreviewFrame.c >>>>> pp:18 1: error: ‘WX_GL_RGBA’ was not declared in this scope >>>> >>>> Here (ubuntu 9,10) it is defined in /usr/include/wx-2.8/wx/glcanvas.h, >>>> which on my system is in package wx2.8-headers. >>>> >>>> Don't know about mandrake. >>>> >>>> Kornel >>> >>> Here it's also defined in /usr/include/wx-2.8/wx/glcanvas.h >>> but this doesn't seem to be picked up by cmake and make. >> >> wxWidgets should be compiled passing --with-opengl as an argument to >> configure for these definitions. Do you know if your wxWidgets was >> compiled this way? >> >> -James > > He is using cmake, so he should add -DENABLE_LAPACK=YES as argument to cmake. > But even this should not be needed. > > Kornel > Nearly there! Many thanks to you and James.
As far as I could tell, all the definitions were present and correct in the right places. But cmake was not picking up /usr/include/wx-2.8/wx. So I re-compiled wxWidgets with the following ../configure --with-gtk --enable-unicode --with-opengl and ran cmake with cmake "/home/dougb/downloads/hugin-2009.4.0" -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_LAPACK=YES Hugin installed OK. However running hugin encountered this problem: "/usr/local/bin/hugin: error while loading shared libraries: libhuginbase.so.0.0: cannot open shared object file: No such file or directory". Needless to say, libhuginbase is in /usr/local/lib. I have run ldconfig but still get the error message. Doug. -- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx