On Sat, Jul 12, 2008 at 7:21 AM, Yogesh Marwaha &lt;<a href="mailto:yogeshm.007@gmail.com">yogeshm.007@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, can someone figure out what I&#39;m doing wrong.<br>Here is the output I get when I attempt to compile: -<br>=================================<br>yogesh@linux-sm3q:~/gravity/New&gt; make<br>Scanning dependencies of target GravityCore<br>

[ 91%] Built target GravityCore<br>Scanning dependencies of target Gravity<br>Linking CXX executable Gravity<br>CMakeFiles/Gravity.dir/main.o: In function `main&#39;:<br>/home/yogesh/gravity/app/main.cpp:10: undefined reference to `GApplication::GApplication()&#39;<br>

/home/yogesh/gravity/app/main.cpp:12: undefined reference to `Gravity::self()&#39;<br>/home/yogesh/gravity/app/main.cpp:12: undefined reference to `Gravity::gUIInterfaceManager() const&#39;<br>/home/yogesh/gravity/app/main.cpp:13: undefined reference to `GApplication::~GApplication()&#39;<br>

collect2: ld returned 1 exit status<br>make[2]: *** [app/Gravity] Error 1<br>make[1]: *** [app/CMakeFiles/Gravity.dir/all] Error 2<br>make: *** [all] Error 2<br>=================================</blockquote><div><br>I would do a &quot;make VERBOSE=1&quot; and verify that CMake is linking your executable against what you think it should be linking against.<br>
<br>If that was not the problem, I&#39;d have a second look at your library implementations and double check that you&#39;re compiling and linking what you think you&#39;re compiling and linking.&nbsp; You can use &quot;nm&quot; or some other tool to inspect the generated shared libraries and ensure that the proper symbols are defined (or not defined).<br>
</div></div><br>-- <br>Philip Lowman