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.79 26-Jul-2019sha256: b36f8cf13a1d12dbb926e3a18e27d90fd5734599bb7d38bac1421b484f0822d0
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.79 26-Jul-2019sha256: 5e00847d70e6612ffc4d35a9cf164b75661f7f572967a9b354b947c348527e64
Linux x64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: 8b43c6e6c2047736176d0d429a7d5ab0580a0b8627436f29db729f7f8db7bb1b
Linux x86 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: a15c3f8ef8ef09d98b51b0266c41b8fc8930dce4dd0bfdcb94296d2c3c4fc52f
Linux aarch64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: 1d92baef5b48ab78bda7a8f630ca08ce939c56655e0b3bf1567a0141bd2d1288
Linux armhf External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: 81acd1ab4e485d9c1883bf1b70190fa747ad3fb0ad0e6d219aa46d76d13574ac
Linux x64 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: cda462ba9115be6928cfe7e28edb1b424f5f5144cb3cb53b92ceb360a2b8d0dc
Linux x86 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: 706c7104b7c2876b4e1234d8d8b66fadd8c4ff6415fad7144864086bbfe168ba
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

v9.5.0.79 26-Jul-2019sha256: 7af614495b71b1d40f93c807f794879d75a4f01d5774795cdde053c200255647
Alpine Linux x64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: bbd0221d84062cab705ee56e154af7005cd8aa83b051fde915c661bac3bf57d3
Alpine Linux x86 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: 9152866aadf7c6e3678ffd5106ffcb75cd40f6ada0d7d74fa402f4610cc4605f
Alpine Linux aarch64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: cbc5261923eae7daf65b72478aec888a056a67d6b9d43332682c7aec3c133d4e
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.79 26-Jul-2019sha256: 3a80794839867fa44776481c33d0210ae8741608e746dc14ca9e437111a68cea
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: 1b5f9fdaef908119a4e8e0566c87a65cede12edabc80196dbcf20675aa2b8522
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.79 26-Jul-2019sha256: 495beeb6f5cc49243487f7eccf121065677a3b5ef315b8befcf255b0a52484de
Solaris x64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: d3a4d4759a67bb236f0b2853ea561fa172afeca3573e57056e30dbd4875a84f2
Solaris x86 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: 5a8c38d3884904e6b991adc86c48476eab076d0c507996dc7e9731fa86486ecd
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.79 26-Jul-2019sha256: 1419d7ffaa2575bc20d3741e0ff4292edd81f7fa0b1e04fdf2b67bdda791964b
Solaris x86 External C Static Lib (solaris studio)


FreeBSD Native "C" Chilkat Go Libs

v9.5.0.79 26-Jul-2019sha256: e2c7132fa2216b02cdc6e774537f1a4e0a4e02cacb77d9224cdd76d88cb8c628
FreeBSD x64 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: 354d88bdefb820b309015817d12f73be2d270e9b378e5695702f901b07b4e8e1
FreeBSD x86 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: 8ae93172703261edc20c3a12dfab0f2c053e90ac117f27e19c47a72ef33c4c13
FreeBSD x64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: 2a0acfa6a3db306145c592dce978d31c48e342d5aff36416c5a689c20110f8e5
FreeBSD x86 External C Static Lib (gcc)


OpenBSD Native "C" Chilkat Go Libs

v9.5.0.79 26-Jul-2019sha256: 7a9a5052fb7deef760479ec9df23a91d9f00931312fceec1dd6b363d2e7d598d
OpenBSD x64 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: 459b6ee9f155c47b8638ad8183b1690ce86c82eb61a0019393d93c32572b5a2f
OpenBSD x86 External C Static Lib (clang)

v9.5.0.79 26-Jul-2019sha256: 53b722ef67ba2c70f1446e6a8eb71553941f3fb13c02ef9fa9b92e3dfe4d75b6
OpenBSD x64 External C Static Lib (gcc)

v9.5.0.79 26-Jul-2019sha256: ae28cc7ca22e40b8ca46c95f5ae9e0e1338256891e95857ef7dadbea9486d4f0
OpenBSD x86 External C Static Lib (gcc)

Windows Native "C" Chilkat Go Libs

v9.5.0.79 26-Jul-2019sha256: 125b6c3a5baba30aa735c0165ba56e268aa62a142a53b901b5d6b861ffec57d3
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.79 26-Jul-2019sha256: af85a8894f06c542a7ee9c1223c316fa66d6b3ffc7e1d16506ba899ac0fdc3ee
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.79 26-Jul-2019sha256: 73476572f7c25fb835fcc985159f2838bef9d5fd0f98675372b07e0fc70fc6c2
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.79 26-Jul-2019sha256: 5daaee422f62acb766412f84ac673f32b467d8969e8552f6fe4da8f0eeaef3fe
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: b11efd7c1fb06423bb0ec7c61f3d9dabf95ad2bcd727a590d5900a9f9d1b16ee
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.79 26-Jul-2019sha256: 0e042b8a035cf1d813c6d9a4019eca24b026adec7f9baf4d506d6e52cbfd19d9
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: cb0732c4dfa5ed2dd4987a2ba9b65d0d662468d717f2e4e32eb1e827ac09fbff
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.79 26-Jul-2019sha256: 878f8a1b91c964bb31c1f6d112c6e45a42d96ade81399cca90d52503887465b9
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 2ba8a6524f240310d390aea67fff637b5193d1cb2b01f6b9cf872ac6ce0c26a4
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.79 26-Jul-2019sha256: d0d01e312ac82303cc20b31c6997c51a8a7d4a91ca0d62688d1bd63e929a6ac0
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: cb048983def8a0a53d7953f8bc59fb37e6cf25fec53c66d8f2c218750d8904e6
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.79 26-Jul-2019sha256: b2d1abb7ce4306ceb672d7bdb92cb0046f38d4b2b5ef3e737dde372b3c926aa0
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 05aa2122ab4e53f1e6334b9e3c842e50981483a20ce339121a84c43609df3d13
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.79 26-Jul-2019sha256: a22c85bc758881dc81b6abc333fae3aa34c250400f7956fafcee4876be66b5bf
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 34a9f27ba3b5b6b22328faec17fae799aa7f2e51b34d000955cf837afdd043c4
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.79 26-Jul-2019sha256: c3a5f3d37014c69377f456ca66fb158ef2685a404692750ef46626e761854e67
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: b85408b6142f13201b24cfc537f942a82df2c1bfeb8359311a57bfaa05c16bf1
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.79 26-Jul-2019sha256: bdf68768f5ebe9178bd5a4ce47fe101e79d5ec138d8b2f28589961c7c3bdc8d6
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: b2c8ecaa180d54588b89991427dff493a7a6e8ada6a3c3ac0566908be6e4ffe2
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.79 26-Jul-2019sha256: 3932b245c48d9b04c557bb631350eb8ff376389b6aff34037470fe162008c765
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 03f58b56cf65bfe2455bd715aa3e7640ac5c8c12eb28054eaef654c22cd5c29c
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.79 26-Jul-2019sha256: 76cbbe609ffeabff0500d9df853f1fb4766a867fd72bd1bd12c077dcc412072d
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: b4bbb53cf260e16f366423deac320214a60ad2cf987d2dca4f37d468dab252ca
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.79 26-Jul-2019sha256: 0229e5b58518b6a0671ae6c4c2754d926076206f300dddcda3a34e5232101682
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 3c34c924c42a3a132ef332650595fa0756dfb4fdb6661c6ad0e89bb28746a160
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.79 26-Jul-2019sha256: 02744749e4c0fa01fe73c5eafc7a31ee82868ef320404bf15197e1d9d80c870f
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 910aed5e97b7509449574b09f933055eba616c56c7f12249e55fe7ab16e4d608
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: 7eb57a022a1eeefe66be331fb8e07fae245d7ece239f9b790f2be5b44899cb24
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: d1f362e259a5636f219f04494f35e76ef8fe4f8c08b2f5c712d57ceca48f0c1e
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 12d6271b1d0bea2bb485cdf431564fa8609de2b7b632089f682a3c98e78d783a
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: 5af69764c4a80e1ec5f68bc556c7d692edd21e23fa2bf3ece4dbdac029375747
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: 2f89ba642f7c147a525fda5f3a1d5e5116821daa70d3c3e56ac1bf34ac4b1b6e
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.79 26-Jul-2019sha256: 10e9aa54b65ddc2f33e3237ec0614d269ddd726c8fbcac27e6c18e7580b567e6
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: 2c803002963b6bbe8d4e8cddccce2b9cbb753487248a69d0a99a5c79c181aac6
MinGW 4.6.3 32-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: 4926aaa4627934efdf21cd56e0367c7f848301974e1b704dd6ba93a85627351b
MinGW 4.6.3 64-bit C Static Lib

v9.5.0.79 26-Jul-2019sha256: 0f6f616b682518c7a32d249832fcc8cdc33a145bf6416463c171109278366802
tdm-4.9.2-64 C Static Lib

v9.5.0.79 26-Jul-2019sha256: d5c93da3c4998630e2b81dcbeba79b81c021597c09f3dae3ba545bbfbcfd3a78
tdm-4.7.1-64 C Static Lib