Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


AAF compile error in Solaris

  • Khang Nguyen
    Khang Nguyen

    I'm experiencing an unusual problem on the AAF SDK.  When I compile it  on Sun Solaris,
    I had an error  in line 315 file   AAF/ref_impl/src/OM/OMWeakRefPropertyT.h as

    ../../src/OM/OMWeakRefPropertyT.h:316: warning: aggregate has a partly bracketed initializer
    ../../src/OM/OMWeakRefPropertyT.h:316: sorry, unimplemented: non-trivial labeled initializers
    ../../src/OM/OMWeakRefPropertyT.h:316: error: invalid lvalue in unary '&                  '
    ../../src/OM/OMWeakRefPropertyT.h:316: error: excess elements in aggregate initializer
    make[3]: *** [../../../AAFSparcSolarisSDK/g++/ref-impl/debug/AAFObjectModelProcs.o] Error 1

    This kind of error  was NOT happened when I compiled the SDK in Window (with VisualStudio)

    Does anyone know of a fix I can do ? Just tell me  what I should  do to have AAF SDK compiled !
    The AAF SDK is 1.1 release
    My platform is Sun Solaris 2.9