Locating variables from other classes



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/01/2006 at 16:02, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.5 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    I'm trying to locate a variable in my ObjectData plugin class from a simple GeDialog class, but c4d sdk somehow doesn't let me build the

    public:
    static int test;

    statement, though it compiles ok and everything...
    Any ideas?

    thanks in advance,
    regards



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 22/01/2006 at 00:58, xxxxxxxx wrote:

    forgot to write down the error... well, this is it:

    Atom.obj : error LNK2001: unresolved external symbol "public: static int AtomObject::testtest" (?testtest@AtomObject@@2HA)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 22/01/2006 at 07:28, xxxxxxxx wrote:

    Did you make sure you initialised the static member variable?

    int AtomObject::test = 0;



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/01/2006 at 09:36, xxxxxxxx wrote:

    yep, that seemed to be the problem... thanks


Log in to reply