[CMake] Source files missing in generated NMakefile ( Visual Studio 2008)

David Cole david.cole at kitware.com
Sun Aug 1 22:08:02 EDT 2010


Possibly related to these bugs...?

http://public.kitware.com/Bug/view.php?id=9963
http://public.kitware.com/Bug/view.php?id=10735

This is just a guess because the symptom sounds similar...

To confirm (or deny) can you send along a zip file of a project that
demonstrates the problem?

Does the problem still exist in CMake 2.8.2?

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.


Thanks,
David


On Sun, Aug 1, 2010 at 6:53 PM, Richard Offer <richard at whitequeen.com>wrote:

>
> One of my libraries has started to fail to link ­ due to unresolved
> symbols,
> because the TCPServerDispatcher class is not being linked. It is in fact
> not
> even being compiled.
>
> Its not mentioned even in the generated NMakefile.
>
> I¹ve deleted the entire build directory and rebuilt from scratch with no
> effect.
>
> Other platforms (OS X and Linux don¹t seem to have the issue).
>
> This is with cmake 2.8.0
>
>
> The only different thing about this build is that I¹m using source from a
> different drive letter (z: - network share) while the output directory is
> on
> c:
>
>
> c:\Users\Richard\Desktop\BUILD>grep TCPServer Makefile
> ...
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.obj
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.i
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServer.s
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.obj
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.i
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnection.s
>        @echo ...
> lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.obj
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.i
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerConnectionFactory.s
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.obj
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.i
>        @echo ... lib/poco-1.3.6p2-all/Net/src/TCPServerParams.s
>
> c:\Users\Richard\Desktop\BUILD>z:
>
> z:\Shared\Proj\src\VIP>grep TCPServer CMakeLists.txt
>  ${POCO_TOP}/Net/src/TCPServer.cpp
>  ${POCO_TOP}/Net/src/TCPServerConnection.cpp
>  ${POCO_TOP}/Net/src/TCPServerConnectionFactory.cpp
>  ${POCO_TOP}/Net/src/TCPServerDispatcher.cpp
>  ${POCO_TOP}/Net/src/TCPServerParams.cpp
>
>
> Thanks,
>
>
> Richard.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100801/0f8d2560/attachment.htm>


More information about the CMake mailing list