Bruno Postle wrote: > On Tue 09-Jun-2009 at 18:17 +0100, Doug wrote: > >> Here is stderror output towards the end, where the errors appear: >> > > >> In file included from >> /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:47: >> /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLViewer.h:40: error: >> expected class-name before ‘{’ token >> /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLViewer.h:67: error: >> ISO C++ forbids declaration of ‘wxGLContext’ with no type >> /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLViewer.h:67: error: >> expected ‘;’ before ‘*’ token >> > > Are there any errors before this? Something like a missing file. > Nothing obvious to me. LAPACK wasn't found by cmake if that's relevant.
I attach the output of cmake: >cmake -DCMAKE_INSTALL_PREFIX=/usr/local . -- Current SVN revision is 3923 -- Found wxWidgets: TRUE -- Found TIFF: /usr/include -- Found JPEG: /usr/include -- Found PNG: /usr/include -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig -- Found OPENEXR: /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so -- Found Glew: -- Program msgfmt found (/usr/bin/msgfmt) -- LAPACK not found, using LU-based solver -- Using shared internal libraries -- Configuring done -- Generating done -- Build files have been written to: /home/dougb/downloads/hugin-0.8.0 and the complete stdoutput and stderror of make: [ 4%] Built target huginbasewx [ 6%] Built target huginlevmar [ 30%] Built target huginbase [ 36%] Built target celeste [ 44%] Built target huginvigraimpex [ 44%] Built target celeste_standalone [ 45%] Built target celeste_train [ 52%] Built target huginANN [ 53%] Built target huginlensdb [ 53%] Built target open_file [ 54%] Built target align_image_stack [ 54%] Built target autooptimiser [ 55%] Built target fulla [ 55%] Built target nona [ 56%] Built target pto2mk [ 56%] Built target tca_correct [ 57%] Built target vig_optimize [ 59%] Built target matchpoint [ 61%] Built target hugin_hdrmerge [ 61%] Built target hugin_stitch_project [ 62%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/GLPreviewFrame.o /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:50:1: warning: "DEBUG_HEADER" redefined In file included from /home/dougb/downloads/hugin-0.8.0/src/hugin1/common/utils.h:27, from /home/dougb/downloads/hugin-0.8.0/src/hugin1/panoinc.h:70, from /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:39: /home/dougb/downloads/hugin-0.8.0/src/hugin_base/hugin_utils/utils.h:62:1: warning: this is the location of the previous definition In file included from /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:47: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLViewer.h:40: error: expected class-name before ‘{’ token /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLViewer.h:67: error: ISO C++ forbids declaration of ‘wxGLContext’ with no type /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLViewer.h:67: error: expected ‘;’ before ‘*’ token /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp: In constructor ‘GLPreviewFrame::GLPreviewFrame(wxFrame*, PT::Panorama&)’: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:182: error: ‘WX_GL_RGBA’ was not declared in this scope /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:182: error: ‘WX_GL_DOUBLEBUFFER’ was not declared in this scope /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:189: error: invalid conversion from ‘GLViewer*’ to ‘int’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:189: error: initializing argument 1 of ‘wxSizerItem* wxSizer::Add(int, int, int, int, int, wxObject*)’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp: In member function ‘void GLPreviewFrame::OnTrackChangeFOV(wxScrollEvent&)’: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:901: error: ‘class GLViewer’ has no member named ‘Refresh’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp: In member function ‘void GLPreviewFrame::OnCrop(wxCommandEvent&)’: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:1061: error: ‘class GLViewer’ has no member named ‘Refresh’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp: In member function ‘void GLPreviewFrame::OnDrag(wxCommandEvent&)’: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:1075: error: ‘class GLViewer’ has no member named ‘Refresh’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp: In member function ‘void GLPreviewFrame::OnIdentify(wxCommandEvent&)’: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:1090: error: ‘class GLViewer’ has no member named ‘Refresh’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp: In member function ‘void GLPreviewFrame::TurnOffTools(std::set<PreviewTool*, std::less<PreviewTool*>, std::allocator<PreviewTool*> >)’: /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:1103: error: ‘class GLViewer’ has no member named ‘Refresh’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:1109: error: ‘class GLViewer’ has no member named ‘Refresh’ /home/dougb/downloads/hugin-0.8.0/src/hugin1/hugin/GLPreviewFrame.cpp:1115: error: ‘class GLViewer’ has no member named ‘Refresh’ make[2]: *** [src/hugin1/hugin/CMakeFiles/hugin.dir/GLPreviewFrame.o] Error 1 make[1]: *** [src/hugin1/hugin/CMakeFiles/hugin.dir/all] Error 2 make: *** [all] Error 2 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 -~----------~----~----~----~------~----~------~--~---