Compiling KDL in visual

You can tell cmake where to look for external software using
CMAKE_PREFIX_PATH, see here for more information:
http://www.cmake.org/Wiki/CMake_Useful_Variables#Environment_Variables.

Ruben

On Thu, Jul 18, 2013 at 11:33 PM, <leonard [dot] kdl [..] ...> wrote:

> I did have both eigen2 and eigen3 on my computer. How could I let cmake
> know
> the position of eigen? Thanks.
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Compiling KDL in visual

Hi,

Furthermore, when using Windows, I would suggest using the graphical CMake Editor (cmake-gui.exe). Using this editor, you can configure all relevant CMAKE options graphically. For me, it was sufficient so set EIGEN3_INCLUDE_DIR to the right directory (using / instead of \ in paths ...).

Michael

From: orocos-users-bounces [..] ... [mailto:orocos-users-bounces [..] ...] On Behalf Of Ruben Smits
Sent: Friday, July 19, 2013 9:01 AM
To: Leo Ma
Cc: orocos-users [..] ...
Subject: Re: [Orocos-users] Compiling KDL in visual

You can tell cmake where to look for external software using CMAKE_PREFIX_PATH, see here for more information: http://www.cmake.org/Wiki/CMake_Useful_Variables#Environment_Variables.

Ruben

Compiling KDL in visual

Thanks a lot for both Ruben & Michael! Now I can compile KDL to a lib file.

I have a further question. I tried the example code of KDL --- "Forward kinematic chain example". And I got 18 link errors. Something like the following:

"error LNK2019: unresolved external symbol "public: virtual __thiscall KDL::Chain::~Chain(void)" (??1Chain@KDL@@UAE@XZ) referenced in function _main"

I seems that compiler can not find the function in Lib file. I already point to the lib file in project, and I tried both release/debug version of Lib, none of them will work. Did I miss anything?

Can somebody give me further help? Thanks a lot.

Leo Ma

Compiling KDL in visual

Problem solved.

I configured to win64 last time. After I change to win32. It works.

Compiling KDL in visual

I tried to delete the lib file and compile, and got same number of errors.

It seems that the lib file does not export it contents.

Leo Ma