You don't need to build your own copy of node to build native addons. Just use node-gyp instead, and it takes care of all the dirty work for you (like linking to the node.lib file).
On Fri, Oct 26, 2012 at 4:38 AM, José F. Romaniello <[email protected]> wrote: > Hello Erik, have you tried running ```vcbuild.bat --debug``` from the > command line? I dont remember if it is --debug or just debug in windows. > > Sorry I didnt reply the private mail about this, just saw the two > > > 2012/10/26 Erik <[email protected]> >> >> Hello everyone! >> >> Just for evaluation, I wanted to try to write a C++ module for Node.js >> under Windows and found this useful blogpost, which I wanted to reproduce. >> >> It says that I can download the latest source code and just run the >> included vcbuild.bat to make a windows build. This also works fine as far as >> I can see >> but I'm not able to create my c++ module under visual studio because I can >> not link it to the node.lib file, which should have been created with >> vcbuild. >> >> Any idea why the file is missing? I tried different versions of the source >> code. Some create a Release folder, some create a Debug folder, where the >> node.lib >> should be located in, but it's not (there a lot of other different files >> though)! >> >> Hope anyone has an idea, help would be much appreciated! >> Thanks >> >> /Erik >> >> >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
