<HTML>
<HEAD>
<TITLE>Re: [CMake] Source files missing in generated NMakefile ( Visual Studio 2008)</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
I’m not using any External Projects (#10735), but I can see that its somewhat similar.<BR>
<BR>
Although bizzaringly this appears to be a single file (so far) in one target, the single CMakeLists file is ~100k with ~20 targets, and its successfully built the rest of Poco (and my own stuff). <BR>
<BR>
<BR>
I’ll make the suggested change and get back to you...easier than trying to rip apart 100k lines of code to remove all the private references....<BR>
<BR>
<BR>
Thanks,<BR>
<BR>
Richard.<BR>
<BR>
<BR>
On 8/1/10 7:08 PM, "David Cole" <<a href="david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'>Possibly related to these bugs...?<BR>
<BR>
<a href="http://public.kitware.com/Bug/view.php?id=9963">http://public.kitware.com/Bug/view.php?id=9963</a><BR>
<a href="http://public.kitware.com/Bug/view.php?id=10735">http://public.kitware.com/Bug/view.php?id=10735</a><BR>
<BR>
This is just a guess because the symptom sounds similar...<BR>
<BR>
To confirm (or deny) can you send along a zip file of a project that demonstrates the problem?<BR>
<BR>
Does the problem still exist in CMake 2.8.2?<BR>
<BR>
Or, if you're able to, try a build of CMake from git with the change mentioned in bug #10735 and let me know if that fixes it.<BR>
<BR>
<BR>
Thanks,<BR>
David<BR>
<BR>
<BR>
On Sun, Aug 1, 2010 at 6:53 PM, Richard Offer <<a href="richard@whitequeen.com">richard@whitequeen.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
One of my libraries has started to fail to link – due to unresolved symbols,<BR>
because the TCPServerDispatcher class is not being linked. It is in fact not<BR>
even being compiled.<BR>
<BR>
Its not mentioned even in the generated NMakefile.<BR>
<BR>
I’ve deleted the entire build directory and rebuilt from scratch with no<BR>
effect.<BR>
<BR>
Other platforms (OS X and Linux don’t seem to have the issue).<BR>
<BR>
This is with cmake 2.8.0<BR>
<BR>
<BR>
The only different thing about this build is that I’m using source from a<BR>
different drive letter (z: - network share) while the output directory is on<BR>
c:<BR>
<BR>
<BR>
c:\Users\Richard\Desktop\BUILD>grep TCPServer Makefile<BR>
...<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.obj<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.i<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.s<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.obj<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.i<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.s<BR>
@echo ...<BR>
lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.obj<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.i<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.s<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.obj<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.i<BR>
@echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.s<BR>
<BR>
c:\Users\Richard\Desktop\BUILD>z:<BR>
<BR>
z:\Shared\Proj\src\VIP>grep TCPServer CMakeLists.txt<BR>
${POCO_TOP}/Net/src/TCPServer.cpp<BR>
${POCO_TOP}/Net/src/TCPServerConnection.cpp<BR>
${POCO_TOP}/Net/src/TCPServerConnectionFactory.cpp<BR>
${POCO_TOP}/Net/src/TCPServerDispatcher.cpp<BR>
${POCO_TOP}/Net/src/TCPServerParams.cpp<BR>
<BR>
<BR>
Thanks,<BR>
<BR>
<BR>
Richard.<BR>
<BR>
<BR>
_______________________________________________<BR>
Powered by www.kitware.com <<a href="http://www.kitware.com">http://www.kitware.com</a>> <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>