I'm trying to build on os x lion. The error is shown below.
Any ideas on how to fix?
Thanks in advance
make
/Users/dfab1954/projects/wxWidgets-2.9.2/build_cocoa_debug/bk-deps g++ -mmacosx-version-min=10.5 -c -o corelib_utils_osx.o -I./.pch/wxprec_corelib -D__WXOSX_COCOA__ -DWXBUILDING -I/Users/dfab1954/projects/wxWidgets-2.9.2/build_cocoa_debug/src/tiff/libtiff -I../src/tiff/libtiff -I../src/jpeg -I../src/png -I../src/regex -DwxUSE_BASE=0 -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/Users/dfab1954/projects/wxWidgets-2.9.2/build_cocoa_debug/lib/wx/include/osx_cocoa-unicode-static-2.9 -I../include -DWX_PRECOMP -g -O0 -fno-common ../src/osx/utils_osx.cpp
../src/osx/utils_osx.cpp: In function ‘int wxDisplayDepth()’:
../src/osx/utils_osx.cpp:72: error: ‘CGDisplayBitsPerPixel’ was not declared in this scope
make: *** [corelib_utils_osx.o] Error 1


