go ahead... be a heretic | |
PerlMonks |
Re: Win32/MingW SetupAPI usage woes with Inline::Cby syphilis (Archbishop) |
on Apr 23, 2018 at 04:03 UTC ( [id://1213403]=note: print w/replies, xml ) | Need Help?? |
undefined reference to `__imp_SetupDiGetClassDevsA' I think the problem is the line: I think it might be finding the wrong libsetupapi.a. Try replacing that line with: The correct 'libsetupapi.a' is in a location that should be found by default - so there should be no need to specify a location for it. At least, for me, when I made that change to your script, it built just fine. Prior to that I was getting the same error as you. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|