--- ./CMakeLists.txt.org 2010-04-06 10:24:37.000000000 +0900 +++ ./CMakeLists.txt 2010-10-08 19:02:19.000000000 +0900 @@ -195,7 +195,7 @@ set(OPENCV_BUILD_3RDPARTY_LIBS FALSE CACHE BOOL "Build 3rd party libraries") endif() -include(OpenCVPCHSupport.cmake REQUIRED) +#include(OpenCVPCHSupport.cmake REQUIRED) if(UNIX) include(OpenCVFindPkgConfig.cmake OPTIONAL) --- ./src/highgui/window_cocoa.mm.org 2010-04-06 10:24:45.000000000 +0900 +++ ./src/highgui/window_cocoa.mm 2010-10-08 19:02:56.000000000 +0900 @@ -379,8 +379,8 @@ CV_IMPL int cvWaitKey (int maxWait) { int returnCode = -1; - double start = [[NSDate date] timeIntervalSince1970]; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + double start = [[NSDate date] timeIntervalSince1970]; while(true) { if(([[NSDate date] timeIntervalSince1970] - start) * 1000 >= maxWait && maxWait>0)