cmake cannot find source file [win32]
CMake Error in CMakeLists.txt:
Cannot find source file "sys_cdaudio.c". Tried extensions .c .C .c++ .cc
.cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
The lines in question are 611-622:
Of the ten source files listed (not counting lzss_sources), five do not exist in this directory:
Labels: Build System
#1 Updated by arclore over 12 years ago
I experimented a little with just commenting out the offending lines in cmakelists.txt. The generating completes, and it compiles up to a point when it appears to run into a bug in the default FindOpenGL.cmake.
If the system is WIN32 AND NOT CYGWIN, it does not even attempt to set an include directory for OpenGL; it never encounters a FIND_PATH command.
#3 Updated by danij almost 11 years ago
Cmake is not fully setup for use on WIN32. On WIN32 you currently have three options:
Use the Visual C++ solution, found in \build\win32\vs8
Use the Visual C++ command line compiler with vcbuild.bat, found in \build\win32
Use the CodeBlocks solution, found in \build\codeblocks and the Visual C++ command line compiler
CmakeLists as since been rewritten by skyjake (and now can be used on WIN32 too) but is not yet usable to produce a release build. As of Doomsday 1.9.0-beta7 we will be switching to cmake on all supported platforms.