chrisdew / protobuf

Protocol Buffers for Node.JS
http://code.google.com/p/protobuf-for-node/
Apache License 2.0
234 stars 70 forks source link

Building on Windows (7) #22

Closed buschtoens closed 11 years ago

buschtoens commented 11 years ago

When compiling protobuf on Windows 7, the builder can't find these includes: string, vector, map, algorithm, stack, ...

Example output:

"string": No such file or directory [C:\Users\Jan\Desktop\respotify\node_modules\spotify-web\node_modules\protobuf\build\binding.sln]

What am I doing wrong?

chrisdew commented 11 years ago

Hi Silvinci.

So far, this module has only been built on Ubuntu and OSX, as per the README.

If you would like to fix this Windows issue and add instructions, that would be great. Personally I use Ubuntu as my dev and production environments, so I'm unable to help here.

buschtoens commented 11 years ago

Dammit... I freaking hate Windows, sadly the my app has to work on some Windows machines. Can you make any assumptions, what string, vector, map, algorithm, stack, etc. could mean? I'm a little bit of a C++ noob and I'd think that these are native C++ classes, that are simply not found by the compiler?

On Ubuntu it works perfectly fine for me, too.

chrisdew commented 11 years ago

No, sorry, I've never done any software development on Windows. Perhaps someone else can help?

buschtoens commented 11 years ago

I found an alternative Node.js only parser: dcodeIO/ProtoBuf.js. Thanks though. ;)