<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">ankit jain</b> <span dir="ltr"><<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>></span><br>
Date: 2009/5/15<br>Subject: Re: [CMake] unable to include a source file for all sub directories<br>To: Hendrik Sattler <<a href="mailto:post@hendrik-sattler.de">post@hendrik-sattler.de</a>><br><br><br><br><br><div class="gmail_quote">
2009/5/15 Hendrik Sattler <span dir="ltr"><<a href="mailto:post@hendrik-sattler.de" target="_blank">post@hendrik-sattler.de</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Zitat von ankit jain <<a href="mailto:ankitguddu@gmail.com" target="_blank">ankitguddu@gmail.com</a>>:<div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Now I am able to get all the source files from all the folders. but the<br>
problem is that all folder source files uses one variable v1 of this Ident.c<br>
file..<br>
<br>
So the error iam getting while building the library is :<br>
unresolved external symbol: v1 (iam working on windows VC++)<br>
</blockquote>
<br></div>
How exactly does this relate to CMake? As usual, you do not give enough information but it's clearly not a CMake issue.<br>
Guessing on compilers errors without context is boring and a waste of time.<br><font color="#888888">
<br>
HS<br>
</font></blockquote></div></div><div>Sorry if iam not able to state my problem clearly.<br>If suppose 5 files are there in one folder and each file uses some functions form other file in the same folder and when ur creating library then there is no problem..<br>
<br>Issue is if one folder file uses another file which is in diff. folder or in its parent folder then creating library creates problem and giving error as unresolved symbols. since iam building through cmake and i used the already said method of how iam adding sources for the libraries form the sub folders i think my way of including files is somewhat wrong or iam missing somethign duet o which those files are not able to take the support that file...<br>
<br>I hope i add some clarification in this regard. <br></div></div><font color="#888888"><br><br>Ankit<br>
</font></div><br>