Installed new library won't compile ;getting error

Heres the pics and the code.

http://www.use.com/7b400270dc6210028ab3

also here is the library link

http://www.example-code.com/vcpp/ftp_upload.asp

tutorial i used to install library

http://www.learncpp.com/cpp-tutorial/a3-using-libraries-with-codeblocks/


Can you help me out here?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
 #include <CkFtp2.h>
#include <CkString.h>
#include <stdio.h>

void ChilkatSample(void)
    {
    CkFtp2 fdtp;

    bool success;

    //  Any string unlocks the component for the 1st 30-days.
    success = fdtp.UnlockComponent("Anything for 30-day trial");
    if (success != true) {
        printf("%s\n",fdtp.lastErrorText());
        return;
    }

    fdtp.put_Hostname("ftp.chilkatsoft.com");
    fdtp.put_Username("****");
    fdtp.put_Password("****");

    //  The default data transfer mode is "Active" as opposed to "Passive".

    //  Connect and login to the FTP server.
    success = fdtp.Connect();
    if (success != true) {
        printf("%s\n",fdtp.lastErrorText());
        return;
    }

    //  Change to the remote directory where the file will be uploaded.
    success = fdtp.ChangeRemoteDir("junk");
    if (success != true) {
        printf("%s\n",fdtp.lastErrorText());
        return;
    }

    //  Upload a file.
    CkString localFilename;
    localFilename = "hamlet.xml";
    CkString remoteFilename;
    remoteFilename = "hamlet.xml";

    success = fdtp.PutFile(localFilename,remoteFilename);
    if (success != true) {
        printf("%s\n",fdtp.lastErrorText());
        return;
    }

    fdtp.Disconnect();

    printf("File Uploaded!\n");
    }
Topic archived. No new replies allowed.