[CMake] Can't create Hello.lib in Visual C++ Express Edition 2005 SP1(using cmake example demo)

haibin zhang dragzhb at yahoo.com.cn
Sat May 12 09:33:21 EDT 2007


Hi all :

I can build demo using Hello.dll in Visual C++ Express Edition 2005, but when I upgrade Visual C++ Express Edition 2005 to sp1, I can't build it. 
the error is :
------ Build started: Project: helloDemo, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 'Hello.lib'
Build log was saved at "file://e:\zhb_svn\mingw\vc_build\cmake_demo\src\demo\helloDemo.dir\Debug\BuildLog.htm"
helloDemo - 1 error(s), 0 warning(s)

The following is CMakeLists.txt in Hello directory :

add_library (Hello SHARED hello.cxx)

Regards



       
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070512/cc09c083/attachment.html


More information about the CMake mailing list