[CMake] Cannot create shared lib under Windows, the error message is unreadable
michael kapelko
kornerr at gmail.com
Mon Oct 5 09:53:23 EDT 2009
I've tried "Unix Makefiles", "MSYS Makefiles". Both produced "Bad
argument number" error during linkage.
I cannot use "MinGW Makefiles" within MSYS, because CMake complains,
that MinGW's make won't work when sh.exe is in the PATH. When I remove
sh.exe from the PATH, not a single command works in MSYS any more:
root at WINSUXX-F3290C7 /c/build/lf2
$ cmake-gui
sh: fork: No such file or directory
I cannot modify CMake, because I want an end user to be able to build
app without any trouble.
I also thought about modifying build script to produce large object
files from all sources in directories. Thus making the final linkage
deal with a little number of object files. Can you point me to some docs
on that?
Thanks.
More information about the CMake
mailing list