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 fltk with it.

In order to test the autoconf/configure/make option I will need to install 
MacPorts or Homebrew I guess.

The Xcode4 project in the ide directory builds fine.

I will have a look at the CMake scripts to see what's wrong with them (or with 
my system).

Thanks.


>
> > 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 defined(__GNUC__)
> > #      warning Attempting to use the deprecated scandir() replacement
> > function
> > #    endif /*__GNUC__*/
> > #    error No compatible scandir implementation found (STR 2687 applies!)
> > =
>
> > Not quite clear if the function should exist or not. Used from
> > fl_filename_list in filename_list.cxx.
>
>
> Your build should not be using that function, OSX has its own, suitable, ve=
> rsion - indeed we are not aware of *any* target that actually needs that fi=
> le and we want to remove it, which is what that warning was put in for; to =
> help identify any "aberrant" host systems.
>
> The fact that it has triggered for you, when clearly it should not, would s=
> eem to imply that the CMake setup is failing in some way.
>
> Note that whilst we provide some CMake scripts in our tarball, they are not=
>  all that actively maintained (none of the core devs use CMake AFAIK) so ma=
> y be in need of some TLC (help welcomed, if you are familiar with CMake!)
>
>
> Anyway - just to make sure all is well with your setup, can you run the "co=
> nventional" configure ; make sequence to ensure that the stock Makefile bui=
> lds works correctly (oh!, assuming the stock Makefile isn't overwritten by =
> CMake of course? I assume it is not!).
>
> Also, the built-in Xcode project ought to just work too, AFAIK, though I ne=
> ver use it, I always just use the stock Makefile build on my OSX targets...
>
>
>
>
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to