help,
i’m not much of a programmer and am trying to animate some openglobjects via the
directmidi-libraries(e.g.by playing on a keyboard).
but i can’t link sdl and directmidi. i get:
msvcrt.lib(ti_inst.obj) : error LNK2005: “private: __thiscall
type_info::type_info(class type_info const &)” (??0type_info@@AAE at ABV0@@Z)
already defined in LIBCD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: “private: class type_info & __thiscall
type_info::operator=(class type_info const &)” (??4type_info@@AAEAAV0 at ABV0@@Z)
already defined in LIBCD.lib(typinfo.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _exit already defined in
LIBCD.lib(crt0dat.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _strncpy already defined in
LIBCD.lib(strncpy.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _fgetc already defined in
LIBCD.lib(fgetc.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _fclose already defined in
LIBCD.lib(fclose.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _setvbuf already defined in
LIBCD.lib(setvbuf.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: __isctype already defined in
LIBCD.lib(isctype.obj)
LIBCD.lib(crt0init.obj) : warning LNK4098: defaultlib ‘msvcrt.lib’ conflicts
with use of other libs; use /NODEFAULTLIB:library
.\Debug/Example.exe : fatal error LNK1169: one or more multiply defined symbols
found
how can i get rid of this conflict OR is there a possibility to use sdl_mixer to
read midi-input data ?
thx, /martin.