[fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Arturo J . Pérez
OS: MacOSX Mountain Lion. Revision: 9678 Using CMake and generators Xcode and Unix Makefiles. Stops in scandir.c: /* This warning added to help identify any non-WIN32 hosts that actually try to use * our private implementation of the scandir function, which was suspect... */ #if

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread MacArthur, Ian (SELEX GALILEO, UK)
OS: MacOSX Mountain Lion. Revision: 9678 Using CMake and generators Xcode and Unix Makefiles. Stops in scandir.c: /* This warning added to help identify any non-WIN32 hosts that actually try to use * our private implementation of the scandir function, which was suspect... */ #if

Re: [fltk.development] getting usable space per screen? alsocompilation failure on OS X

2012-09-13 Thread MacArthur, Ian (SELEX GALILEO, UK)
Thirdly, I wanted to see if the behaviour had been fixed in recent versions so I did an svn update, but it looks like the build is broken, coincidentally also with a bunch of screen-related symbols: You may have a version that includes local changes or that's not up to date. Here, the

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Arturo J . Pérez
Hi Ian, My first intention was to build ftlk using regular makefiles, but seems that after I upgraded to Mountain Lion and upgraded Xcode the autotools are no longer present in MacOSX (even installing the command line tools from Xcode). So as CMake was already in my system I tried to build

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread MacArthur, Ian (SELEX GALILEO, UK)
My first intention was to build ftlk using regular makefiles, but seems that after I upgraded to Mountain Lion and upgraded Xcode the autotools are no longer present in MacOSX (even installing the command line tools from Xcode). So as CMake was already in my system I tried to build fltk with

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Manolo Gouy
OS: MacOSX Mountain Lion. Revision: 9678 Using CMake and generators Xcode and Unix Makefiles. Stops in scandir.c: /* This warning added to help identify any non-WIN32 hosts that actually try to use * our private implementation of the scandir function, which was suspect... */ #if

Re: [fltk.development] getting usable space per screen? alsocompilation failure on OS X

2012-09-13 Thread Evan Laforge
On Thu, Sep 13, 2012 at 4:57 AM, MacArthur, Ian (SELEX GALILEO, UK) ian.macart...@selexgalileo.com wrote: Thirdly, I wanted to see if the behaviour had been fixed in recent versions so I did an svn update, but it looks like the build is broken, coincidentally also with a bunch of

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Arturo J . Pérez
Hi Using CMake under Mac OS X should work with the latest svn (r. 9679). The problem is still there. CMake returns -- Looking for scandir - not found when checking for the function in the CMakeLists.txt: CHECK_FUNCTION_EXISTS( scandir HAVE_SCANDIR ) I'm trying to see why this fails.

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Arturo J . Pérez
I made a small cmake test with: CHECK_FUNCTION_EXISTS( scandir HAVE_SCANDIR ) and the function is found, so I will continue looking why the answer is different with the FLTK cmake scripts. Hi Using CMake under Mac OS X should work with the latest svn (r. 9679). The problem is still

Re: [fltk.development] Compilation failure under MacOSX

2012-09-13 Thread Arturo J . Pérez
Everything compiles. The content in the CMAKE_REQUIRED_LIBRARIES var modifies the behavior of the CHECK_FUNCTION_EXISTS tests. It seems that png library is required when checking for png_get_valid and png_set_tRNS_to_alpha. That var is not reset after those functions are tested and the calls

Re: [fltk.development] getting usable space per screen? alsocompilation failure on OS X

2012-09-13 Thread Evan Laforge
On Wed, Sep 12, 2012 at 2:59 PM, Manolo Gouy manolo.g...@univ-lyon1.fr wrote: So in OS X one of the screens has a 22 pixel menu bar. But due to reasons I haven't fully figured out, the maximum vertical size you can make a window before it goes off the bottom of the screen is the screen height