[flext] Problem with Max5 SDK and VS2010

Stefano Papetti Stefano.Papetti at zhdk.ch
Thu Nov 17 12:55:49 CET 2011


Dear list,

when compiling flext against the Max SDK 5.1.7 with VS2010 I get this error:

    maxcrt.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 LIBCMT.LIB(typinfo.obj)
    maxcrt.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
    LIBCMT.LIB(typinfo.obj)
        Creating library flext-max.lib and object flext-max.exp
    flext-max.dll : fatal error LNK1169: one or more multiply defined
    symbols found

See the attached file for the complete output.
On the other hand, if flext is linked against dynamic C runtime 
libraries (i.e., just uncomment the macro DYNAMIC=1 in 
config-win-max-msvc.txt) the compilation is successful.

Any ideas?

Best,
Stefano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20111117/fc4ca2cd/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log_max5-msvc.txt
URL: <http://grrrr.org/pipermail/flext/attachments/20111117/fc4ca2cd/attachment-0001.txt>


More information about the flext mailing list