Closed drebelox closed 10 years ago
I'm not able to replicate this issue. On Ubuntu, I hadn't needed to link to the library during compilation, just make sure the link is baked in to link later at runtime. I found it a different situation on Windows - but for you, since we're doing the same thing it should be fine.
Now that I've addressed the Node.js 0.10 compatibility issue in the other bug you kindly filed, I do wonder if there is a problem with the newer version of node-gyp you have installed vs an older version of Node. So perhaps if you went back to 0.10 and used branch 0.1.1, your problem would be gone. Please do let me know if you still continue to experiment.
I am seeing this same issue on Mac and node: v0.10.11
I had someone contact me via my blog on how to do general compilation via OSX - it looks like there are similar problems as Windows. Namely, the libs need to be linkable and available during build time. Unfortunately I don't have a Mac available to me.
If anyone is able to alter the conditions in the binding.gyp file to include a condition for OSX which is similar to Windows, I'd much appreciate it. I believe you'll be able to follow similar instructions to whats on https://github.com/bengfarrell/nuimotion/wiki/Installation and labeled as "Windows Only".
Basically in this step, I believe Windows was kind of picky where it was linking relatively to these libraries. I think OSX might be exactly the same.
I'd be happy to update the Wiki on this repo if someone is able to get specific instructions together. Just at a little bit of a loss without a Mac in front of me.
thanks!