However the make fell over :(

Scanning dependencies of target editor
[ 52%] Building CXX object
modules/editor/src/CMakeFiles/editor.dir/canedit.o
/home/declan/Programming/lib/wxArt2D/modules/editor/include/candocproc.h: In 
member function ‘virtual bool a2dCommand_PushTool::Do()’:
/home/declan/Programming/lib/wxArt2D/modules/editor/include/candocproc.h:274: 
warning: passing NULL to non-pointer argument 2 of 
‘a2dObjectEditTool::a2dObjectEditTool(a2dStToolContr*, int, bool)’
/home/declan/Programming/lib/wxArt2D/modules/editor/src/canedit.cpp: In
member function ‘virtual void a2dEditorFrame::Theme(const wxString&)’:
/home/declan/Programming/lib/wxArt2D/modules/editor/src/canedit.cpp:1049: 
error: ambiguous overload for ‘operator==’ in ‘themeName == "test"’
/usr/local/include/wx-2.8/wx/longlong.h:1057: note: candidates are: bool
operator==(long unsigned int, const wxULongLong&) <near match>
/usr/local/include/wx-2.8/wx/longlong.h:1044: note:                 bool
operator==(long int, const wxLongLong&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1634: note:                 bool
operator==(const wxString&, wxChar) <near match>
/usr/local/include/wx-2.8/wx/string.h:1633: note:                 bool
operator==(wxChar, const wxString&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1598: note:                 bool
operator==(const wxString&, const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1564: note:                 bool
operator==(const wxChar*, const wxString&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1560: note:                 bool
operator==(const wxString&, const wxString&) <near match>
/home/declan/Programming/lib/wxArt2D/modules/editor/src/canedit.cpp:1051: 
error: ambiguous overload for ‘operator==’ in ‘themeName == "default"’
/usr/local/include/wx-2.8/wx/longlong.h:1057: note: candidates are: bool
operator==(long unsigned int, const wxULongLong&) <near match>
/usr/local/include/wx-2.8/wx/longlong.h:1044: note:                 bool
operator==(long int, const wxLongLong&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1634: note:                 bool
operator==(const wxString&, wxChar) <near match>
/usr/local/include/wx-2.8/wx/string.h:1633: note:                 bool
operator==(wxChar, const wxString&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1598: note:                 bool
operator==(const wxString&, const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1564: note:                 bool
operator==(const wxChar*, const wxString&) <near match>
/usr/local/include/wx-2.8/wx/string.h:1560: note:                 bool
operator==(const wxString&, const wxString&) <near match>
make[2]: *** [modules/editor/src/CMakeFiles/editor.dir/canedit.o] Error
1
make[1]: *** [modules/editor/src/CMakeFiles/editor.dir/all] Error 2
make: *** [all] Error 2


On Tue, 2007-10-30 at 16:32 +0000, Declan McMullen wrote:
> I had to turn on unicode with ccmake that did it , cheers
> 
> On Tue, 2007-10-30 at 12:14 +0100, Klaas Holwerda wrote:
> > Declan McMullen wrote:
> > > Hey guys,
> > > 
> > > I'm trying to compile up wxArt2d against the latest wxwidgets code
> > > running on the latest ubuntu.
> > > 
> > > I followed the install instructions yet i'm getting these errors:
> > > 
> > >  no default configuration
> > 
> > Did you download, compile and install wxWidgets?
> > 
> > Do configure as follows:
> > 
> > ./configure --enable-debug --with-opengl
> > 
> > Or for static libs:
> > 
> > ./configure --enable-debug --with-opengl --disable shared
> > 
> > 
> > This compiles the debug version of wxWidgets, which is the best for you.
> > By default wxWidgets compiles in non debug and shared.
> > 
> > 
> > Also builds and install wxWidgets contrib.
> > 
> > If all that is done, what do you get on the command line when type this:
> > 
> > wx-config --selected-config
> > 
> > 
> > 
> > 
> > How do you run cmake?
> > 
> > Best is with:
> > 
> > cd wxArt2d
> > cd ..
> > mkdir buildart2d
> > cd buildart2d
> > ccmake ../wxArt2D
> > 
> > There you can set at the buttom:
> > 
> > wxWIDGETS_USE_DEBUG to ON or OFF.
> > 
> > also set
> > 
> > CMAKE_BUILD_TYPE to debug
> > 
> > I did not check in that lattest change yet.
> > 
> > I think you have only wxWidgets non debug installed, and default wxArt2D is 
> > searching for the debug version.
> > 
> > Get back if still having problems,
> > 
> > Klaas
> > 
> > 
> > 
> > > 
> > >  CMake Error: Error in cmake code at
> > >  /home/declan/Programming/lib/wxArt2D/bin/FindwxWidgets.cmake:734:
> > >  STRING sub-command REGEX, mode MATCHALL needs at least 5 arguments
> > > total to command.
> > >  Current CMake stack:
> > >  [2]/home/declan/Programming/lib/wxArt2D/bin/FindwxWidgets.cmake
> > >  [1]/home/declan/Programming/lib/wxArt2D/CMakeLists.txt
> > >
> > 
> > 
-- 
Declan McMullen
School Of Computing
Dublin City University
+353 1 700 8448


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to