Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Newcomer! In need of some help.(I can't include an external library in my project!)
Newcomer! In need of some help. [message #1454055] Mon, 27 October 2014 18:46 Go to next message
Eclipse UserFriend
Hey Very Happy

I'm new to Eclipse CDT.

I've recently started my masters with a Grasping Optimization Problem (robotics) and in my project I need to include a set of external libraries known as Simox (if you are wondering what they are, you can check it in google Smile ).

The script I'm trying to compile in Eclipse is:

#include <VirtualRobot/VirtualRobotCommon.h>

#include <boost/shared_ptr.hpp>
#include <string>
#include <iostream>

// I'll need these later on
#include <Eigen/Core>
#include <Eigen/Geometry>

int main ()
{
	VirtualRobot::RobotPtr iCub = VirtualRobot::RobotIO::loadRobot("/home/zenogueira/Programs/simox/VirtualRobot/data/robots/iCub/iCub.xml");

	return 0;
}


Which calls a function from the VirtualRobot library.

I've included the Simox root folder in the Include Directories of the project (Project Properties -> C/C++ General -> Paths and Symbols). I'm getting an error that tells me that
 loadRobot() 
is undefined. RobotPtr class is defined though. RobotPtr is defined in simox/VirtualRobot/VirtualRobot.h and the loadRobot() static function is defined in simox/VirtualRobot/XML/RobotIO.h

I'm having a lot of trouble solving this. I have a linking problem and I clearly don't know what I am doing (linking was always something I didn't have to worry about before).

Can someone be kind enough and try to help me with this?

Thanks Smile
Re: Newcomer! In need of some help. [message #1457528 is a reply to message #1454055] Fri, 31 October 2014 08:16 Go to previous message
Eclipse UserFriend
https://wiki.eclipse.org/CDT/User/FAQ#Adding_C.2FC.2B.2B_External_Libraries
Previous Topic:Eclipse does not create the exe-file in debug directory after successful build
Next Topic:Problem with debugging: no source available
Goto Forum:
  


Current Time: Sun Jul 13 06:15:29 EDT 2025

Powered by FUDForum. Page generated in 0.04504 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top