# Simple External Library Example

**URL:** https://community.haxe.org/t/simple-external-library-example/3678
**Category:** Showcase
**Tags:** haxe-cpp, extern
**Created:** [September 16, 2022, 6:25am UTC](https://community.haxe.org/t/simple-external-library-example/3678 "2022-09-16T06:25:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![duane](https://community.haxe.org/user_avatar/community.haxe.org/duane/32/1972_2.png) [@duane](https://community.haxe.org/u/duane)
#### Post date: [September 16, 2022, 6:25am UTC](https://community.haxe.org/t/simple-external-library-example/3678/1 "2022-09-16T06:25:53Z")

</div>

In case it helps any haxe newbies like me, I thought I’d post this simple example of using one function from the zlib library. I had a lot of trouble figuring this out, and I still may not be doing it right, but it works. It’s also got a simple command line parser and bash color codes.

[http://www.duanerobertson.com/git/crc/](http://www.duanerobertson.com/git/crc/)
