<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I have a test.cpp file and the test file needs to be linked with another .h file... they are all in the same directory, however when I run the Makefile that is generated by CMake, it shows this error:<div><br></div><div><div>CMakeFiles/bcoin.dir/test.cpp.o: In function `main':</div><div>test.cpp:(.text+0xd7): undefined reference to `Exp::Exp(double)'</div><div>test.cpp:(.text+0x114): undefined reference to `Exp::execute()'</div><div><br></div><div>I think I need to add some more command to my CMakeLists.txt, how can I do this??</div></div><br /><hr />Party with Buddy! Bling out your Messenger with free winks & emoticons. <a href='http://discover.windowslive.com/en-id/messenger/messengeris10/#/downloads' target='_new'>Click here</a></body>
</html>