Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Problem compiling the last SVN version of WxWidgets on Mac OS X 10.6
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Josep Quereda  
View profile  
 More options Jul 27 2009, 9:14 am
From: Josep Quereda <jos...@gmail.com>
Date: Mon, 27 Jul 2009 15:14:47 +0200
Local: Mon, Jul 27 2009 9:14 am
Subject: Problem compiling the last SVN version of WxWidgets on Mac OS X 10.6
I'm trying to compile the latest SVN version of WxWidgets on the  
latest build for now of Mac OS X 10.6 Snow Leopard.

I'm compiling it from the build/ directory with the following  
configure parameters:

../configure --enable-unicode --disable-shared --disable-debug --
disable-debug_gdb --with-osx_cocoa --with-macosx-version-min=10.5

Compilation fails with the following error:

Any idea to fix this? I'm doing anything wrong?

Thank you.

-DWXBUILDING -I/Users/josep/amule/wxWidgets-2.9.0/build/src/tiff/
libtiff -I../src/tiff/libtiff    -I../src/regex  -DwxUSE_BASE=0 -
D_FILE_OFFSET_BITS=64 -I/Users/josep/amule/wxWidgets-2.9.0/build/lib/
wx/include/osx_cocoa-unicode-release-static-2.9 -I../include -O2 -fno-
strict-aliasing  ../src/osx/cocoa/stattext.mm
/Users/josep/amule/wxWidgets-2.9.0/build/bk-deps g++ -mmacosx-version-
min=10.5 -c -o corelib_osx_cocoa_textctrl.o -I./.pch/wxprec_corelib -
D__WXOSX_COCOA__     -DWXBUILDING -I/Users/josep/amule/wxWidgets-2.9.0/
build/src/tiff/libtiff -I../src/tiff/libtiff    -I../src/regex  -
DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -I/Users/josep/amule/
wxWidgets-2.9.0/build/lib/wx/include/osx_cocoa-unicode-release-
static-2.9 -I../include -O2 -fno-strict-aliasing  ../src/osx/cocoa/
textctrl.mm
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor  
keyDown:](wxNSTextFieldEditor*, _message_ref_t*, NSEvent*)’:
../src/osx/cocoa/textctrl.mm:144: error: no matching function for call  
to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static  
wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor  
keyUp:](wxNSTextFieldEditor*, _message_ref_t*, NSEvent*)’:
../src/osx/cocoa/textctrl.mm:153: error: no matching function for call  
to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static  
wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor  
flagsChanged:](wxNSTextFieldEditor*, _message_ref_t*, NSEvent*)’:
../src/osx/cocoa/textctrl.mm:160: error: no matching function for call  
to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static  
wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor  
insertText:](wxNSTextFieldEditor*, _message_ref_t*, objc_object*)’:
../src/osx/cocoa/textctrl.mm:173: error: no matching function for call  
to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’
../include/wx/osx/core/private.h:261: note: candidates are: static  
wxWidgetImpl* wxWidgetImpl::FindFromWXWidget(NSView*)
../src/osx/cocoa/textctrl.mm: In constructor  
‘wxNSTextViewControl::wxNSTextViewControl(wxTextCtrl*, NSView*)’:
../src/osx/cocoa/textctrl.mm:321: warning: class 'NSView' does not  
implement the 'NSTextViewDelegate' protocol
../src/osx/cocoa/textctrl.mm: In constructor  
‘wxNSTextFieldControl::wxNSTextFieldControl(wxTextCtrl*, NSView*)’:
../src/osx/cocoa/textctrl.mm:436: warning: class 'NSView' does not  
implement the 'NSTextFieldDelegate' protocol
make: *** [corelib_osx_cocoa_textctrl.o] Error 1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Csomor  
View profile  
 More options Jul 28 2009, 3:08 am
From: Stefan Csomor <cso...@advancedconcepts.ch>
Date: Tue, 28 Jul 2009 09:08:55 +0200
Local: Tues, Jul 28 2009 3:08 am
Subject: Re: [wx-dev] Problem compiling the last SVN version of WxWidgets on Mac OS X 10.6
Hi

> ../src/osx/cocoa/textctrl.mm: In function ‘void -[wxNSTextFieldEditor
> keyDown:](wxNSTextFieldEditor*, _message_ref_t*, NSEvent*)’:
> ../src/osx/cocoa/textctrl.mm:144: error: no matching function for call
> to ‘wxWidgetImpl::FindFromWXWidget(objc_object*)’

these are fixed in trunk, but not in 2.9.0 just change the lines to

wxWidgetImpl::FindFromWXWidget( (WXWidget) [self delegate] )

to make this compile again under 10.6 with XCode 3.2

Best,

Stefan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »