Undefined symbol label1 C++
i'm trying to use a label1 object in a new function but i get this error:

Undefined symbol 'label1'

My function

    void check(TObject *Sender)
    {
        label1->Caption = "You Win!";
    }

How do i specficy the address to the label
Undefined symbol label1 C++
===

i'm trying to use a label1 object in a new function but i get this error:

Undefined symbol 'label1'

My function

    void check(TObject *Sender)
    {
        label1->Caption = "You Win!";
    }

How do i specficy the address to the label