No -l

Victor

----- Original Message -----
From: Rory Walsh <rorywalsh@ear.ie>
Date: Friday, February 1, 2008 3:26 pm
Subject: Re: [Cs-dev] Linking to Csound dll
To: Developer discussions <csound-devel@lists.sourceforge.net>

> I'm assuming you forgot to add a -l before Csound32... if so
> then how is
> your command any different to my one?
>
> Yours
>  > g++ -o blah  blah.c  -L/dll/dir Csound32.dll.5.1
>
> Mine
>  > g++ CsoundConsole.cpp -o test.exe
>  > -I../../SourceCode/csound5/csound5/H
>  > -L../../SourceCode/csound5/csound5 -lcsound32.dll.5.1
>
> When running either command I get the same error about not being
> able to
> find csound32.dll.5.1 even though I'm sure it's there. Is there
> any
> chance that MinGW needs the dll to have a dll extension?
>
> Rory.
>
>
> Victor.Lazzarini@nuim.ie wrote:
> >
> > g++ -o blah  blah.c  -L/dll/dir Csound32.dll.5.1
> >
> > Victor
> > ----- Original Message -----
> > From: Rory Walsh <rorywalsh@ear.ie>
> > Date: Friday, February 1, 2008 3:14 pm
> > Subject: [Cs-dev] Linking to Csound dll
> > To: Developer discussions <csound-devel@lists.sourceforge.net>
> >
> >  > I'm trying to link directly to the csound dll without
> needing to
> >  > use
> >  > pexports but I can't seem to do it. This is what I'm trying:
> >  >
> >  > D:\MyDocuments\Lectures\CPAA>g++ CsoundConsole.cpp -o
> test.exe>  > -I../../SourceCode/csound5/csound5/H
> >  > -L../../SourceCode/csound5/csound5 -lcsound32.dll.5.1
> >  >
> >  > If I replace -lcsound32.dll.5.1 with -lcsound32 it
> works fine.
> >  > Any
> >  > ideas? csound32.dll.5.1 is definitely in the right
> directory.>  >
> >  > Rory.
> >  >
> >  >
> >  > -------------------------------------------------------
> ----------
> >  > --------
> >  > This SF.net email is sponsored by: Microsoft
> >  > Defy all challenges. Microsoft(R) Visual Studio 2008.
> >  > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >  > _______________________________________________
> >  > Csound-devel mailing list
> >  > Csound-devel@lists.sourceforge.net
> >  > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ---------------------------------------------------------------
> ---------
> >
> > ---------------------------------------------------------------
> ----------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >
> >
> > ---------------------------------------------------------------
> ---------
> >
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> -----------------------------------------------------------------
> --------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel