libgd and QRCodes

Hello, I’m trying to build a cross platform application that (one component) creates QR Codes on labels. I’d like it to be Lin/Win and Mac if possible. I found this project which appears to be developed as a console application on the Mac. qrcode-rb

The libgd class is set to point to /usr/local/lib/libgd.dylib

I’ve got libgd3 (GD Graphics Library) installed. What is the best (cross platform?) way of addressing this library?

Platform: Ubuntu 13.10 running Xojo 2013r3.1

Many thanks,