On Thu, Aug 30, 2012 at 11:57 PM, Chris Bahr <cbahr@...> wrote:
> I'm currently developing a small application for mac to download data from
> a usb device. I installed libusb1.0.9 using the ./configure; make; sudo make
> install like the instructions say and the program work on my machine.
> My problem is that when I create the installer package, it wont run on
> another machine because it cant find libusb. I have tried bringing over the
> files, and running the same code but in order to do that they need xcode/gcc
> stuff installed.
That is kind of expected. What kind of development environment
your are using (Macports, Homebrew, Fink, etc)? They are all
different and will make your libusb binary depends on different
run time libraries.
> How can I package this app to avoid this?
I am not an expert here. But you can try either static linking
or try to make an application bundle.