in reply to Re^3: SDL_Perl for Win32?
in thread SDL_Perl for Win32?
Do binary installations of SDL include the headers?Only if you get the Development Libraries ofcourse
C:\DEV\SDL_PERL\SDL-DEVEL-1.2.8-VC6 \---SDL-1.2.8 +---docs | \---html +---include \---lib
As you know, the build will fail without headers.Yes, and the user will get a nice error message saying that SDL.h... can't be found. The user is ultimately responsible for managing those.
If you can show me a sane way to find the headers
use File::Spec; for my $inc ( @include_dirs ){ if( -e File::Spec->catfile( $inc, 'SDL.h' ){ die "Congratulation, you've got SDL.h"; } }
|
|---|