You should have something like this in your .cc file:
https://github.com/joyent/node/blob/master/test/addons/hello-world/binding.cc#L15

On Tue, Mar 27, 2012 at 9:05 AM, SteveCronin <[email protected]>wrote:

> Nathan;
>
> I don't understand the 'NODE_MODULE' comment.
> I don't have any such macro...
> My module wraps a class written in C++...
> Can you point me to something which would provide more details on what you
> meant?
>
> Steve
>
>
> On Monday, March 26, 2012 8:01:00 PM UTC-5, Nathan Rajlich wrote:
>>
>> I'm still using node-waf to manually compile modules -- is that the
>>> problem?
>>>
>>
>> Give node-gyp a shot: 
>> https://github.com/**TooTallNate/node-gyp<https://github.com/TooTallNate/node-gyp>
>>
>> Also note that the "target_name" property (the "obj.target" in the
>> wscript) must match the first argument to the NODE_MODULE macro in your
>> module's entry point.
>>
>  --
> 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

Reply via email to