I'm trying to build a node addon on linux with node-gyp

My binding.gyp looks like this

{
  "targets": [
{
  "target_name": "test",
  "sources": [ "test.cc" ]
}
]
}

when I do 

node-gyp configure

I get a build folder with the required makefiles etc.

but when I try to do

node-gyp build

I get 
make: *** No rule to make target `Release/obj.target/test/test.o', needed 
by `Release/obj.target/test.node'.  Stop.

When I look into the folder structure I find that there is no directory 
like Release/obj.target/test in the build folder.
Anyway to correct this?


-- 
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

Reply via email to