I know UWIN probably is NOT supported but hey I'll give it a shot. This is on WinXP, cmake 2.4.8, Visual Studio 2003.Net.

It seems cmake successfully ran under UWIN generating "Unix Makefiles". I have a simple project (expat actually) that generates a library (expat) and an executable (xmlwf.exe). The library _seems_ to be created correctly (static) as I get an "expat.lib" file in the build directory. The problem comes when linking the executable. Here is the verbose output from the link stage.

Linking C executable ../Bin/xmlwf.exe
cd C:/Workspace/expat/uwin/xmlwf && C:/Applications/CMake-2.4.8/bin/ cmake.exe -
P CMakeFiles/xmlwf.dir/cmake_clean_target.cmake
cd C:/Workspace/expat/uwin/xmlwf && C:/Applications/UWIN/usr/bin/ cc.exe "C MakeFiles/xmlwf.dir/codepage.obj" "CMakeFiles/xmlwf.dir/xmlfile.obj" "CMakeFile s/xmlwf.dir/xmlmime.obj" "CMakeFiles/xmlwf.dir/xmlwf.obj" "CMakeFiles/ xmlwf.dir /win32filemap.obj" -o ../Bin/xmlwf.exe -LC:/Workspace/expat/uwin/ Bin -lexpat
.lib
cc: expat.lib: library not found
make[2]: *** [Bin/xmlwf.exe] Error 1
make[2]: Leaving directory `/C/Workspace/expat/uwin'
make[1]: *** [xmlwf/CMakeFiles/xmlwf.dir/all] Error 2
make[1]: Leaving directory `/C/Workspace/expat/uwin'
make: *** [all] Error 2

I am thinking the -lexpat.lib should really be -lexpat but I am not real sure at this point. Any ideas?

--
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services



_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to