The error means that in the file
> checkbox_message_dialog.h
on line number
>82:
the function's argument is being fussy:
> 'const wxString&' has type 'const char
Something to do with the wrong type. a 'wxString' is a type in wxWidgets that is supposed to encapulate everything with strings, char, etc cross platform specifically to get rid of these kinds of compile stoppage headaches.
One concern is that there may be others. May need a find and replace of the offender. In the interim, consider opening up the file called:
/plucker_desktop/setup.h
and on line number 102 or so, change
#define setupUSE_CHECKBOX_MESSAGE_DIALOG 1
to say
#define setupUSE_CHECKBOX_MESSAGE_DIALOG 0
And make clean and recompile. You can turn off other optional features in that setup.h file too.
Best wishes,
Robert
--- On Sat, 12/20/08, Aurelien Bompard <
gauret@free...> wrote:
> From: Aurelien Bompard <
gauret@free...>
> Subject: Build error on Fedora 10
> To:
plucker-dev@plkr...
> Date: Saturday, December 20, 2008, 12:32 AM
> Hi all,
>
> I'm trying to build plucker on Fedora 10, and I get the
> following error
> message :
> ----------------------
> make[1]: Entering directory
> `/home/pkg/rpms/BUILD/plucker-1.8/plucker_desktop'
> g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-
> protector --param=ssp-buffer-size=4 -m32 -march=i386
> -mtune=generic -
> fasynchronous-unwind-tables `wx-config --cflags` -c -o
> checkbox_message_dialog.o checkbox_message_dialog.cpp
> In file included from checkbox_message_dialog.cpp:65:
> checkbox_message_dialog.h:82: error: default argument for
> parameter of type
> 'const wxString&' has type 'const char
> [2]'
> checkbox_message_dialog.cpp: In member function 'void
> checkbox_message_dialog::OnCancel(wxCommandEvent&)':
> checkbox_message_dialog.cpp:202: warning: suggest
> parentheses around
> arithmetic in operand of |
> checkbox_message_dialog.cpp:202: warning: suggest
> parentheses around
> comparison in operand of |
> make[1]: *** [checkbox_message_dialog.o] Error 1
> ----------------------
>
> This is with gcc 4.3.2 and wxGTK 2.8.9.
>
> Any idea how to fix it ?
> Thanks.
>
> Aurélien
> --
>
http://aurelien.bompard.org ~~~~ Jabber :
>
abompard@jabb...
> Recursion: (n.) See "Recursion".
>
>
> _______________________________________________
> Public archival of this list without permission is
> prohibited.
>
http://lists.plkr.org/mailman/listinfo/plucker-dev
_______________________________________________
Public archival of this list without permission is prohibited.
http://lists.plkr.org/mailman/listinfo/plucker-dev
opensubscriber is not affiliated with the authors of this message nor responsible for its content.