[wx-dev] wxMac 2.8 SVN compile error
Julian Smart
julian at anthemion.co.uk
Tue Jun 3 00:04:30 PDT 2008
Robin Dunn wrote:
> Julian Smart wrote:
>> Compiled with core graphics = 0, latest 2.8 SVN:
>>
>> /Users/juliansm/wx28/wxWidgets/mac/bk-deps g++ -isysroot
>> /Developer/SDKs/MacOSX10.4u.sdk -c -o corelib_dcscreen.o
>> -D__WXMAC__ -I../src/tiff -I../src/jpeg -I../src/png
>> -I../src/regex -I../src/expat/lib -DwxUSE_BASE=0
>> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>> -I/Users/juliansm/wx28/wxWidgets/mac/lib/wx/include/mac-unicode-release-static-2.8
>> -I../include -fpascal-strings -I../src/mac/carbon/morefilex
>> -I/Developer/Headers/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy
>> -O2 -fno-strict-aliasing -arch ppc -arch i386 -fno-common
>> ../src/mac/carbon/dcscreen.cpp
>> ../src/mac/carbon/dcscreen.cpp: In member function 'virtual wxBitmap
>> wxScreenDC::DoGetAsBitmap(const wxRect*) const':
>> ../src/mac/carbon/dcscreen.cpp:82: error: 'm_width' was not declared
>> in this scope
>> ../src/mac/carbon/dcscreen.cpp:82: error: 'm_height' was not declared
>> in this scope
>
> You probably have wxMAC_USE_CORE_GRAPHICS turned off.
I do indeed, see above :-)
>
> Kevin, looks like wxScreenDC::DoGetAsBitmap needs to check for
> wxMAC_USE_CORE_GRAPHICS.
Thanks...
Julian
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
More information about the wx-dev
mailing list