|
From: Kyle M. (qDot) <ky...@no...> - 2009-03-22 18:30:13
|
Ok, going through and reproing all these.. > First issue was that programs wouldn't link correctly, complaining > about undefined references to pthread_ and clock_ functions. The > following included patch to cmake_modules fixed it for me. I suppose > that pthread and librt should really be detected properly by CMake but > I don't know it well enough to know how to do this. > and... > ...had to > manually do the linking, adding "-framework IOKit -framework AppKit", > and then "make" again to continue the build. I don't know how to > configure CMake to add the frameworks automatically. > Are you trying to link against a static version of libusb-1.0? The shared library should pull these in for you otherwise. > Second, I'm partial to using my home directory for locally installing > programs instead of using /usr/local. I had to set a couple of > things, finally came up with this command line that got it to work: > > All of the install stuff is fixed, though you'll need to pull the head of both libnifalcon and the cmake modules repository. > Anyways, with that, I got it working. Happy to say I have written a > small CHAI 3D interface to libnifalcon, and happily have DIMPLE using > it on Linux. Testing on OS X later today. Just curious, what's the status of CHAI? I noticed that it hasn't been updated in almost a year, is it still in development? |