Ehlo,

So I got a brand new Macbook Air today and launched
   cpan install Alien::wxWidgets

wxWidgets 2.9.1 failed to build with this error:

/private/var/root/.cpan/build/Alien-wxWidgets-0.52-4MCRKr/wxWidgets-2.9.1/bld/bk-deps
 g++ -mmacosx-version-min=10.5 -c -o coredll_utils_osx.o 
-I./.pch/wxprec_coredll -D__WXOSX_COCOA__      -DWXBUILDING 
-I/private/var/root/.cpan/build/Alien-wxWidgets-0.52-4MCRKr/wxWidgets-2.9.1/bld/src/tiff/libtiff
 -I../src/tiff/libtiff -I../src/jpeg -I../src/png  -I../src/regex  -DWXUSINGDLL 
-DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -Wall -Wundef 
-Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual 
-Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 
-I/private/var/root/.cpan/build/Alien-wxWidgets-0.52-4MCRKr/wxWidgets-2.9.1/bld/lib/wx/include/osx_cocoa-unicode-2.9
 -I../include -DWX_PRECOMP -O2 -fno-strict-aliasing -fno-common 
-fvisibility=hidden -fvisibility-inlines-hidden ../src/osx/utils_osx.cpp
../src/osx/utils_osx.cpp: In function ‘int wxDisplayDepth()’:
../src/osx/utils_osx.cpp:71: error: ‘CGDisplayBitsPerPixel’ was not declared in 
this scope
make: *** [coredll_utils_osx.o] Error 1
system: make all: 512 at ./Build line 60
  MDOOTSON/Alien-wxWidgets-0.52.tar.gz
  ./Build -- NOT OK

any idea ? or maybe wxWidgets does not support Lion (yet) ?
--
erik

Reply via email to