Re: [AD] sound examples need -lstdc++ with mingw?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On December 29, 2008, Trent Gamblin wrote:
> On Mon, December 29, 2008 7:08 am, Elias Pschernig said:
> > I tried compiling A5 (static debug build) with dsound enabled in vbox
> > running XP(SP3), but it only worked after applying the attached patch.
> > Does this need to be addressed, or should using a different mingw
> > version or something fix it?
>
> I don't know why you need to add that, it should be linked automatically.

Only if you made sure to set the linker for dsound.cpp to g++. otherwise it'll 
use whatever the global one is (which is most likely gcc since allegro is 
mostly C).

> However, the patch doesn't hurt anything so I don't see why
> you can't commit it.
>
> Trent :{)>
>
> ---------------------------------------------------------------------------
>---


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/