Hello,
Does this file resides in the source tree (trunk/src/version.C)? Then delete it and call cmake again ('cmake .' in the build folder is enough). There must only be a version.C in your build folder. Peter
after fetching the fresh source from trunk it now works here also. the only remaining problem is that no "resources" directory is created (found?) and so lyx bails out at package.C line 575. I copied the .dll files that lyx needs to the directory build\bin\debug and started lyx from there (default if starting the debugger from within msvc).
Bernhard