On 02/25/04 02:12, DH wrote:
*snip*

LINK : fatal error LNK1141: failure during build of exports file
...

Looks like the filename is not being passed in. Check 'make\lib\SDL\Build.pm' in your override of the 'process_xs' method that $file is set correctly.


What is correct?
src\SDL\SFont.xs  and  src\SDL_perl.xs  and  src\SDL\OpenGL.xs
all look correct to me.

Yep, I see the problem. We need to figure out a better solution, but for now...


In your subclass, override link_c() so you can locally set the module name like

sub link_c {
  my $self = shift;
  local $self->{properties}{module_name} = 'SDL::SFont';
  $self->SUPER::link_c(@_);
}

Let me know if this gets you a little further; I'll take a look at better fix when I get a chance.

Regards,
Randy.

Reply via email to