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.76 24-Dec-2018sha256: 63f12578244b482b39634c75c4a671d50fa4ed6ea5e7c5aab899e038f3d9fa07
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.76 24-Dec-2018sha256: 68245f7e0539362e6d340de6062755554c030a15e229069a5b0c5e5f2241bbf1
Linux x64 External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: 07b5d79e65dc3820d69327bb5d59712af2deba0063ecd9d172b1df540a770960
Linux x86 External C Static Lib (gcc)

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

v9.5.0.76 24-Dec-2018sha256: 4d0e6c59338becdc26cff7c139553939c11ef63252c9e24d867f05998e14fd58
Linux armhf External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: f3c8e5e8744e296a1f2fa36b69cb657349c36c77b2c213b123f5f4c677d5c7da
Linux x64 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: cc807c9d50ec3bd6e92ac455a55bf28382353ab6be2d44cd5c767bee7dea35b5
Linux x86 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: 8fb4e40ade36d41049096b1cc434712f57acb0f250e83761f9bd527983ee2d49
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

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

v9.5.0.76 24-Dec-2018sha256: 5ee4e5f545061296ece1be922b160a60058ae727e7ec4aface8c1ef357c0e383
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.76 24-Dec-2018sha256: 162d5b6c7fb72af9c057ee8a6342d2231ccedf6eeabe5b0b1536bb373fa9913e
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.76 24-Dec-2018sha256: 5620cd84659c0edb4cbee3ad21b57657425053ae35048c7f844bb91783d6d0d3
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: 0b7bbfe9e47ebb8d0ab41e98d3ec21e043230044a1a47a57323ce7d09d63d693
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.76 24-Dec-2018sha256: 1c4a74878e315556e38b0563f1f077b5fbfbf2196b7b7f8e556fe3eff12e3331
Solaris x64 External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: 2ba242912d50b09f10d83dc01a7e4e72aac09dd30071db986796c31d869cadd5
Solaris x86 External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: 4b5827cc89014f5bc7819d437447200cdf60644a1f3fb965527fdb2496a15063
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.76 24-Dec-2018sha256: af9cc4289b4a24fa01e81bd919f5578ff019f4e37073a46d97f9f2502d666f02
Solaris x86 External C Static Lib (solaris studio)


FreeBSD Native "C" Chilkat Go Libs

v9.5.0.76 24-Dec-2018sha256: ae31fb48fe836ac61e8f274649577d5c217964c5a4abc0bd203f926aaba410a4
FreeBSD x64 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: c309e787f88ea47dc0684435f33a4984e6572975897658bad0209ebd37ba5712
FreeBSD x86 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: 34e8cee867406e40398c2c63d2e6702b1f4041e6cf45066588f6e3e1c235c754
FreeBSD x64 External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: 29f5e3a6a94fc030fef347f458dbbc1981c1c3b5ee488cbb710cbae777d0ac8a
FreeBSD x86 External C Static Lib (gcc)


OpenBSD Native "C" Chilkat Go Libs

v9.5.0.76 24-Dec-2018sha256: c9e22ff1136d9cc4f0653e8162524c9b677213660502adffc74ff354639a9bd4
OpenBSD x64 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: d05ea9876683f131f55b3a341e66a02496972cea4c50a598305ce4de18b76285
OpenBSD x86 External C Static Lib (clang)

v9.5.0.76 24-Dec-2018sha256: 32736f4bcfa58ca5c68536003071a9262d1de89da63df0ed61f2b7f57f4e18f1
OpenBSD x64 External C Static Lib (gcc)

v9.5.0.76 24-Dec-2018sha256: f0dfb0921ce5780f2f30d1696ff92f9d75be5390f62669a51e65ebb179a3b733
OpenBSD x86 External C Static Lib (gcc)

Windows Native "C" Chilkat Go Libs

v9.5.0.76 29-Dec-2018sha256: 99596a4111c10820f8463df6712bbfbfd1a0b7275ffaa26f0f286b88aeef4141
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.76 29-Dec-2018sha256: b8ac149cee1a6650842a204797b3d90fcff8566c4ea7500fb357e610566bb6be
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.76 24-Dec-2018sha256: 3f34b511d34aa3d33e68cc48ce9cb728fe968f59b2d44e1baaeaef1156bb7534
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.76 24-Dec-2018sha256: a4f81830bb052d3e7140568fedcd1af785ff94c6435ec73dbe5f3bcd21ef6dfb
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: fd28576cec5b5c126b193c6e297b64aa0c593e449cabdd69cd2416e49ac5d0e3
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.76 24-Dec-2018sha256: 88a224b5db399459aafc1369b7def0c90f9efdb98e9505ec2b80c74ae3dfacd9
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 7b20b5df24bc0610e1f9181d024c1b4e0ddff01fa0e0f2224ccbc70b543c02f9
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.76 24-Dec-2018sha256: 13ab00eca2f45fe8b5fb537d6887dc0d185b9bc3ccb7e0d0b3e031187ef408b0
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 5cc29b7527af7d59670a6999d9172d7066402849686697c57446fe4e85de7ff6
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.76 24-Dec-2018sha256: d35de1770e4db46011008eb38f70d14df9d06dcaf92c87122b046a95310ec4ad
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: c72dd958be1234dbd9602615d24f7835b53aaeda0b8aa6c192cb0cb527f7b3cb
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.76 24-Dec-2018sha256: 296701e51f2cd9f834f09c823b5897b3908e5d5d13f68085763e0a2f432a065a
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 482ac7e2905d34386dbb50fc390e158185020a9b353590648fe3c8921f436998
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.76 24-Dec-2018sha256: 5d08c0dffa4e52fb8fa11da29af91b5dc6ed82130092eee021ed40703b519167
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: b16656b267abc79229f7cc0535f90f865f1da0fc1c7e42aab75393b4ce2443d9
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.76 24-Dec-2018sha256: e89f659970dd70a2c866da65acbd6ee4b1d47be11fd4aed1766bc82599580cab
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 751c8c6bed21ab3b9106464166571bfc6ebde0b4837078a36b0452f2ef7b127b
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.76 24-Dec-2018sha256: b93b6f7d79503bc62b80958138d2cd24d802816dc88f168f219c02ba627d42ea
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: d9694f8a2b958655210df1b91502f122773b296f3e9b5d5e3c72c7dbddb7bd46
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.76 24-Dec-2018sha256: dad2bf52bbdc8256eb0ac2011c2af90023773481af20a423184669a6ef78c7fe
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 2fc317ebc515ac8194ef13c6e6a64bc90d68f4bfacd8c870d4c5735e67a4bdde
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.76 24-Dec-2018sha256: be4a9bac0622f6bf88d445374b6274fabeed0bf8c6f9074e060efdb653b394c6
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 94c065d74bfe4cab516533307233c3c0360c014415782b763a46eaea90c8de74
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.76 24-Dec-2018sha256: 5408825b743b052ff391f6d1fa45bfdbd421ce1f295d44afc5080baef2d11665
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 39c105fdec9decfb2c8c8438911bd8c4bbb8d260afeafd19e4ce837eb001fd5a
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.76 24-Dec-2018sha256: 90b3d6c7128f8fa114c51d1c1a0c4f3a768610bfe27d6391a6e6f1bdeaebf109
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 9f45f3e31de3890a48c1fbdb9ac9a27a33471ec55f718bc68d073a3b4979ed30
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: ff7177de974d8ef9f2857416a1c5ef43ea6fbfd1b9e9bb2c31733d35f2272f7c
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: 99f3d71ca1e3ba4915eba4e8ce2634108b7711b1411795f41f159639989c3be3
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: 02696ca66377d5d6c413aa14fedc557e62b525d09b9fc40185b529e596bee15f
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: c3768b2115fab919cbdc357562c905d05e139e01b1ef56a458195aad967bfa63
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: fc39d0c7e2a15d1167d759253d6c0e25ee7fd8f1b13ea64f48a8cf15988568b3
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.76 24-Dec-2018sha256: cd3ce841c9e6d20fa9757e93d526f031bdcd08a82bd37f8f64e053bd988948e5
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: 2c803002963b6bbe8d4e8cddccce2b9cbb753487248a69d0a99a5c79c181aac6
MinGW 4.6.3 32-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: 4926aaa4627934efdf21cd56e0367c7f848301974e1b704dd6ba93a85627351b
MinGW 4.6.3 64-bit C Static Lib

v9.5.0.76 24-Dec-2018sha256: 8a9d5873d4d8ad9066710ff6cd865ee8ade8adbc4c232199faaa5b1cc97cef54
tdm-4.9.2-64 C Static Lib

v9.5.0.76 24-Dec-2018sha256: 5d3015ea009e263af6817e3be676702168679d4abe19d80d37680bda80bef521
tdm-4.7.1-64 C Static Lib