[ros-users] compile error using rosmake

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Todd Anderson
Date:  
To: ros-users
Subject: [ros-users] compile error using rosmake
Hey all,

So I have 3 files in my src directory for a ros package,
homography_generator.cpp, CeilingNode.h, and CeilingNode.cpp.

When I try to compile using rosmake, I am getting errors when I try and use
my CeilingNode object. I tested CeilingNode in a different package just
using g++ and it compiled fine, however it won't work using rosmake. Since
all the files are in the same directory, I have '#include "CeilingNode.h"
and that is it. Do I need to move files around in order for this to work?

I have not included the files because they are rather long, but here is the
error I get from the console when I compile.

'line 317: undefined reference to `CeilingNode::CeilingNode()''

--
Todd