Doug wrote:
> Pit Suetterlin wrote:
>
>> Doug wrote:
>>
>>
>>
>>> Many thanks.
>>> I have (qgl.h in /usr/lib/qt3/include, qgl.h in
>>> /usr/lib/qt4/include/Qt, qgl.h in /usr/lib/qt4/include/QtOpenGL)
>>> and gl.h in /usr/src/Mesa/include/GL
>>>
>>> Is the /usr/src/Mesa/include/GL gl.h OK ?
>>> or do I need the whole xorg-x11-devel package?
>>>
>>>
>> So you compiled and installed Mesa yourself?
>>
> No, not that I recall. I did compile and install a heck of a lot of
> other dependencies, however.
>
>> Normally, that should also
>> install the include files in a proper place. /usr/src/Mesa/include/GL is not
>> such a proper place, so you either have to tell the configuration script to
>> also look in /usr/src/Mesa/include/
>>
> I can probably do that.
>
>> or finish the Mesa install to also install
>> the header files.
>>
>> Does your system have libGL.so, and where is that one coming from?
>>
>> Pit
>>
>>
> /usr/lib has libGL.so, ..so.1,..so.1.2; so and so.1 being links to
> so.1.2 in that directory
> /usr/lib/mesa has libGL.so.1,..so.1.2; so.1 being a link to so.1.2 in
> that directory
> /usr/lib/nvidia-current has libGL.so.1,..so.169.12; so.1 being a link
> to so.169.12 in that directory
>
> Doug
>
>
I created a batch of links from /usr/include/GL (which already had
glew.h in it) to /usr/src/Mesa/include/GL and 'cmake' completed OK.
However, 'make' now fails with a series of errors in
~/hugin-0.8.0/src/hugin1/hugin/GLViewer.h.
Here is stderror output towards the end, where the errors appear:
"............
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"
What's going on here?
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---