DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2888 Version: 1.3-current I have removed the MacPorts CMake and installed the package from the CMake web site. This didn't help. I then renamed /opt (the home of MacPorts) thinking that it might be confusing the search process but this didn't help either. There are several copies of dirent.h (/usr/include, /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/dirent.h) and as expected they contain declaratons of scandir. Similarly the other functions exist in the expected headers. The output from the new cmake 2.8.10.1 is a bit different so I have pasted it here. I am very puzzled. celia:tim-[build]: cmake .. -- The C compiler identification is Clang 3.1.0 -- The CXX compiler identification is Clang 3.1.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Looking for dlsym -- Looking for dlsym - found -- Looking for localeconv -- Looking for localeconv - found -- Looking for png_get_valid -- Looking for png_get_valid - not found -- Looking for png_set_tRNS_to_alpha -- Looking for png_set_tRNS_to_alpha - not found -- Looking for scandir -- Looking for scandir - not found -- Looking for snprintf -- Looking for snprintf - not found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for vsnprintf -- Looking for vsnprintf - not found -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.27.1") -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Looking for glXGetProcAddressARB -- Looking for glXGetProcAddressARB - not found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Found JPEG: /opt/local/lib/libjpeg.dylib -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") -- Found PNG: /opt/local/lib/libpng.dylib (found version "1.5.13") -- Configuring done -- Generating done -- Build files have been written to: /Users/tim/devel/fltk-1.3.1/build Link: http://www.fltk.org/str.php?L2888 Version: 1.3-current _______________________________________________ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs