in reply to Re: Inline::C with MSVC and linking external library
in thread Inline::C with MSVC and linking external library

Yes, the file name is usbi2cio.lib. It is a driver for an I2C board. And according to the Inline::C documentation, the dash goes in front?
  • Comment on Re^2: Inline::C with MSVC and linking external library

Replies are listed 'Best First'.
Re^3: Inline::C with MSVC and linking external library
by Corion (Patriarch) on Aug 30, 2013 at 15:02 UTC

    No. That parameter is basically the command line switch for the compiler to link the named library, -l and then the library name:

    use Inline C => Config => LIBS => '-lyourlib';

    So, in your case, I would try

    use Inline C => Config => LIBS => '-lusbi2cio';
      Ahh, thank you for your help. That works! I also discovered that doing
      use Incline C => Config => LIBS => 'usbi2cio.lib';
      works just as well as what you provided.
        I also discovered that doing use Incline C => Config => LIBS => 'usbi2cio.lib'; works

        That was my point. The clue was in the error message: Note (probably harmless): No library found for -usbi2cio.lib


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        .