Problem compiling with optix::GroupObj::getChild()

In short, I get:

“error: no matching function for call to 'optix::GroupObj::getChild(unsigned int)”

while every other function call I’ve tried for my Group node works fine.

I see getChild in optixpp_namespace.h …confused.

I’m using OptiX 2.5.0, gcc version 4.4.5

Any ideas?

Thank you.

Did you specify the template parameter for the return type?

template
inline T GroupObj::getChild(unsigned int index) {…}

No. Thank you. …I wasn’t paying close enough attention.