fuwaneko / node-protobuf

Google Protocol Buffers wrapper for Node.js [UNMAINTAINED]
180 stars 42 forks source link

Updating node-gyp binding with some special compiler settings for Mac, t... #13

Closed mshick closed 10 years ago

mshick commented 10 years ago

...o deal with recent dylib issues

mshick commented 10 years ago

These updated binding.gyp conditions got me a working node-protobuf!

I think it might be wise for somebody with a firmer grasp on the actual problem here, and the Mac compiler in general to review these though...

More-or-less copy-and-pasted from here:

https://github.com/peterbraden/node-opencv/issues/87

Dealing with the issue described here:

https://github.com/fuwaneko/node-protobuf/issues/12

Also, I installed my protobuf with c++11, following the instructions over here:

https://github.com/rethinkdb/rethinkdb/issues/1634

brew install protobuf --c++11
fuwaneko commented 10 years ago

Thanks for helping out! I hope someone can confirm this solution, then I'll merge and update module.

timothyklim commented 10 years ago

@fuwaneko Yep, now its works fine with rethinkdb module on OS X 10.9. @mshick Thanks!