Chilkat Go Language Package

for Windows, Linux, Alpine Linux, MAC OS X, Solaris, FreeBSD, and OpenBSD

* For Raspberry Pi 2/3, use Linux armhf/aarch64 downloads.

1) Download chilkat_go.zip to $GOPATH/src and unzip

Creates 3 directories under $GOPATH/src:

  • chilkat: The "chilkat" package. Contains .go source files, one per Chilkat class.
  • chilkat_example1: Simple example program making use of the "chilkat" package.
  • chilkat_example2: Example program demonstrating async methods and event callbacks.

v9.5.0.77 21-Mar-2019sha256: 27f89781d1038b6058c5fc30360eceb32b9850d4b8973a2ad9cec6e230f9b296
chilkat_go.zip

 

2) Download One of the Native "C" Chilkat Go Libs

Choose the native "C" Chilkat library that matches your operating system, architecture, etc.
Download and extract to a directory of your choosing, such as $HOME/go_chilkat_c/

See Native "C" Downloads Below...

3) Set the CGO_LDFLAGS Environment Variable

Find the directory where the libchilkatext-9.5.0.a is located. This will be the directory for the -L option.
For example, -L$HOME/go_chilkat_c/linux-x64-gcc

On non-Windows systems, set the CGO_LDFLAGS to "-L$HOME/go_chilkat_c/linux-x64-gcc -lchilkatext-9.5.0 -lresolv -lpthread -lstdc++".

On Windows systems, use "-lws2_32". For example, CGO_LDFLAGS might be set to "-LC:/go_chilkat_c/tdm-5.1.0-64 -lchilkatExt-9.5.0 -lws2_32 -lstdc++".

On Mac OS X systems, set CGO_LDFLAGS
to "-L$HOME/go_chilkat_c/macosx-x86_64-clang -lchilkatext_x86_64 -lpthread -lresolv -lstdc++"
or "-L$HOME/go_chilkat_c/macosx-i386-clang -lchilkatext_i386 -lpthread -lresolv -lstdc++"

Note: Case sensitivity matters: The Windows lib is "chilkatExt", others are "chilkatext".

4) Build the "chilkat" package.

In $GOPATH/src/chilkat, type go build. Then type go install.

Note: go build takes some time, perhaps a minute or two.

5) Build and Run the Example Programs.

In $GOPATH/src/chilkat_example1, type go build. Then run chilkat_example1.

In $GOPATH/src/chilkat_example2, type go build. Then run chilkat_example2.

6) Finished

See Chilkat Go Reference Documentation and Chilkat Go Examples.

 


Go Language Debugging in Visual Studio Code with a Native "C" Lib

To debug a Go application that uses a native library, define "evn" in the launch.json file. For example:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

    //"showLog" : true,
    //"trace" :"verbose",
    //"logOutput":"rpc",

    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${fileDirname}",
             "env": {"CGO_LDFLAGS":"-LC:/go_chilkat_c/tdm-5.1.0-64 -lchilkatExt-9.5.0 -lws2_32 -lstdc++"},
            "args": []
        }
    ]
}

Native "C" Chilkat Go Libs

Linux · Alpine Linux · MAC OS X · Solaris · FreeBSD · OpenBSD



Linux Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: 4aab2705333b5ec141e80a40cd3033f67860120c8d2082059f81b11a32d2e553
Linux x64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 1e778c4bed479e556f49aa70eb97ca4936e0c05cbdabc95b6ddb9da839d3ff77
Linux x86 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 3d1536778e5468532a2a5577ce892715baf696327cd0e05988e8ae3a4177d595
Linux aarch64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: f07bc830d7e9bf8f748bf877017fe6fb79bbfc45eea88ce598972ba4af9f9f52
Linux armhf External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 712aa1f7e0618b35a5d46ae241bac9475bec1407c31608ef3f5cfacd5871aeed
Linux x64 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: fbc98bb933731d26d75739107a424b01a1231e7bd592e0db46d43a7b0f230c18
Linux x86 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: b16487eb29cc4080093e7973e030cfc161c8a7a5e59835d1cddf4571e668c4f0
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: 180380e62bee880ff61bf2618d34a1c46d34513be29b9a86ed405bc3735cc55f
Alpine Linux x64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 4f1031c0f3a932641c66b5a6e3750b36bd8fd0ba679d3e3a6b6e219a635ce971
Alpine Linux x86 External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: 4da976adde896a135bb612c4304d4a1e5c434c4014a1467bdd6273f56d022983
Alpine Linux aarch64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: dee3886673f622b2c84cc605c0d67b5dd707acc894ef19c804b6465cd801fe99
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: 502083a353a0aba7710d6134b46dc81ca892194cc12ef03875e440a2139d0aa8
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: 9955188b50b698a23cfd9b55677bd0c03161601ec1ee8b51d0ffcf44762a01ee
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: 7b9ddb860c7b84102d42d55378a20de91cc2cacde4b95e0d898a986763b627e7
Solaris x64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 34ed265936ffe0f925aa5361171a78034870360b3c220f3966ec1f8e091d9058
Solaris x86 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: a988dcdd35f828e2f07f166d2ee01b3624bb6021763a64334debd3c354e2671d
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.77 21-Mar-2019sha256: 8bf50a2e018b2340ca32bb26e4a6dc71d39f71b98f188029e2eecfda64d3b842
Solaris x86 External C Static Lib (solaris studio)


FreeBSD Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: e2cf44f76b0fd0406da61f7d110edbf1117f22fd22fbde632a781e716832c41c
FreeBSD x64 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: a649577c3385327d5bf54f00e6229bad7170a11b08d96ec1551179843beb2be2
FreeBSD x86 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: 94b5f927c8203fbd88e6f98750e382188aceadea01164ea882944d82a7ed02a6
FreeBSD x64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 4d548b1e61e7a1fd72db33ecf1aafe731a23f6fc87994ec89c70b49b3dbc3e5d
FreeBSD x86 External C Static Lib (gcc)


OpenBSD Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: 1b3676bfad065a1209f51ee3fee5406e3b7ba0dbe387e72b40b3ca612edfefd5
OpenBSD x64 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: 5ef7fb315835e82d4d9adb2e9d00a35fd07f758ce124619032b85473a85c9a68
OpenBSD x86 External C Static Lib (clang)

v9.5.0.77 21-Mar-2019sha256: 7c422d3957ce9962e6db3148cfd2b1b1a53045b4d84d397726677fa8979763b8
OpenBSD x64 External C Static Lib (gcc)

v9.5.0.77 21-Mar-2019sha256: 78d63fce79ac798cd29f0b1440994d18c26153c4d62910e9725676d1782f8b53
OpenBSD x86 External C Static Lib (gcc)

Windows Native "C" Chilkat Go Libs

v9.5.0.77 21-Mar-2019sha256: 22262bed9c6ea501056ed8215ef227e8bed65512004c994f75ebf2a36cc407ae
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.77 21-Mar-2019sha256: 39c19e9e7b53242a5a1e4b91b6503f9bd0f8b81536d9aab20efb27a4bf6bbe91
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.77 21-Mar-2019sha256: 9e8d2dd8b4047fc7d15f8d9500b407acb3e9a437d58d8ad1f5dca50df77c57fc
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.77 21-Mar-2019sha256: 02bbb0ac04fe478af82cf23a06664239335ed0ceae44dcbac944bace3e9c7307
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 64ad64d8283bf853a7fa23a37e47ca35f2717d2b60a22cc3b8ee922d33b1d509
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.77 21-Mar-2019sha256: 859a287011c1cf224c08914af2766d126757dda930c8c9db79ca525a7321e00f
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: d64c4b4c67dda5146698d5b314debf2a3c769fd0a4b85e39e83582d17b27614a
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.77 21-Mar-2019sha256: 4c71638b5582bca77629a6aff62cb8da252c82132cd72be005610b29ca2b71fd
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: e67c4cf1a3924e1374f66b934d120971abf4e20967c7d965973226c79993066f
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.77 21-Mar-2019sha256: eeddc95e475be670bb4415970a8e22c0040d22d5e0d90b9631e91a0eae415aa0
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 6d2615ce0cb972c28ee61424a2c178deb93093d6385817c3e17af2aa1a83f243
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.77 21-Mar-2019sha256: dbd051bb45dcb32c4541fe0b2cb4c7be7570b33e46a400e837a00cec9f96ccd6
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: d889699e113e130bffb168a6d54d3b868e050f8b0704754b427fb31feefd1ec8
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.77 21-Mar-2019sha256: bf7517e130fe01dee24c928294737a37ddb5a18426edb7d2e96c66620e840fda
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 23b59261f6cacc0b1e798e20a9bb4bf62ad87cdfb74f186e2dfefb7c76087ffa
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.77 21-Mar-2019sha256: bfee7de35bd6dc892ec1bacec5da779ab427a87ff99d012b34c1db285ce861c0
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: c3b3f4dce40e260d0deedb680407ad2b111c6f972138c035aacb9fef7e9aae01
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.77 21-Mar-2019sha256: ecd517c8a70c8efdc73b2e2414ff44bdcbf62cc0e94c2750232a53c5c9120906
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: ad0fda791656a2ea8bc3e78e12378418f911c262b59093607c238f4bd5bbc8c0
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.77 21-Mar-2019sha256: d54d667f720f5da7a4354326b87ed8139ca80c3447ed39cf5fbb5c275092f795
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 4da07650c6f74f2c566af1b390c4eae3dadc74fb0e1b22c626ceccde4228cbef
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.77 21-Mar-2019sha256: a2fb3bb35e02d80b3eee1d5460926c3607322dbd86fb4d11618817e3609503f8
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 8781768399bd9e6060517a72ba97f0a0289fe810ba36161facd0f76e4a8258bb
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.77 21-Mar-2019sha256: 9b89aee7456a2cdd1d759a25bbac8b67dee83f21c53a9bff33ccb4562772335c
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 2b38712a3e7e18f155427196f434cc81938470331831de80b9c6a9247fb6fa09
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.77 21-Mar-2019sha256: 64f4beb4e03d2df5a7b86c127b5154b781ee19a01c8b2083545b48348c4855be
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 4e26f22c91d303916783363bb1ef43f242601988a1cdf18248c98db3a774e643
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: 07ede4cc280e5e0dbb771b24d762e11f50d567bd346035f99c35c3cf9fef63f4
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: b310c6e00471bd00001c4160413fb2a8886418e7f4cfc57acf1cd648a9018a32
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: d5483c7918025492e447a398b194e4cbac8075c9ef820d5fa887f0066207b41b
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: c31643553c0d0a53da7a0587b5d250794f2cc2353683e37ffad63ce00fb4edb2
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: bdbe6d2f86d25262bad3418b0dccd82f61e6c7790b2bb37b14e4e82c7ccd0232
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.77 21-Mar-2019sha256: 68383bf2047a2fe692dd4c2199d7b879be4722275d6b3e78a4e3f86295b08a6c
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: 2c803002963b6bbe8d4e8cddccce2b9cbb753487248a69d0a99a5c79c181aac6
MinGW 4.6.3 32-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: 4926aaa4627934efdf21cd56e0367c7f848301974e1b704dd6ba93a85627351b
MinGW 4.6.3 64-bit C Static Lib

v9.5.0.77 21-Mar-2019sha256: 24c9c77beb054dae3439eb03538e357abfed2e3de6115584b9a79b6d52a1f19b
tdm-4.9.2-64 C Static Lib

v9.5.0.77 21-Mar-2019sha256: d71985e7cf7ef758b416ec002660cff332e8af2cedb39861f4816f32afd3a484
tdm-4.7.1-64 C Static Lib