On Apr 3, 2007, at 7:28 PM, Felix H. Dahlke wrote:
> configure:51600: checking if wxWidgets is built with OpenGL support
> configure:51707: g++ -o conftest
> -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8
> -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D__WXGTK__ -pthread    -I/usr/local/include    -L/usr/local/lib
> conftest.cpp -L/usr/local/lib -pthread -lwx_gtk2_aui-2.8
> -lwx_gtk2_xrc-2.8 -lwx_gtk2_qa-2.8 -lwx_gtk2_html-2.8 - 
> lwx_gtk2_adv-2.8
> -lwx_gtk2_core-2.8 -lwx_base_xml-2.8 -lwx_base_net-2.8 -lwx_base-2.8
> -lwx_gtk2_gl-2.8  -lnsl  >&5
> conftest.cpp: In function 'int main()':
> conftest.cpp:34: error: call of overloaded 'wxGLCanvas(int, <anonymous
> enum>)' is ambiguous
> /usr/local/include/wx-2.8/wx/gtk/glcanvas.h:76: note: candidates are:
> wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const
> wxSize&, long int, const wxString&, int*, const wxPalette&)
> /usr/local/include/wx-2.8/wx/gtk/glcanvas.h:69: note:
> wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, int*, const wxPoint&,
> const wxSize&, long int, const wxString&, const wxPalette&)
> configure:51713: $? = 1
> I see the problem now, but I can't tell if conftest is CS or wx.

This problem is caused by the introduction of a new wxGLCanvas  
constructor in wx/glcanvas.h on MSW and GTK platforms which leads to  
an ambiguity when the CS/configure script attempts to compile the  
code fragment wxGLCanvas(0, wxID_ANY). I have moved this issue to the  
CS bug tracker:

http://trac.crystalspace3d.org/trac/CS/ticket/309

In the meantime, you may be able to work around the shortcoming with  
a global search/replace in CS/configure, changing `wxGLCanvas(0,  
wxID_ANY)' to `wxGLCanvas(0,wxID_ANY, wxPoint())'. (This code snippet  
will appear in the configure script multiple times.)

-- ES


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to