Am 17.01.2016 um 18:59 schrieb Peter Kümmel:

> as you told, you have big problems in settings up clean build.
Therefore I've changed the build5-2010.bat file you added for building
with MSVC2010.

As I reported proudly I was able to get a clean build. I still have some troubles with CMake and reported them as
http://www.lyx.org/trac/ticket/9927

The script you modified is the one I uploaded after I could use it to compile LyX with it with just a click.

Now I cannot use the script to build LyX: double-clicking on it gives starts a console that is clased after a few seconds. The error message is:

-----------------------------------------------------------------------
CMake Error at CMakeLists.txt:561 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
See also "D:/LyXGit/compile-msvc2010/CMakeFiles/CMakeOutput.log".
-----------------------------------------------------------------------

I miss in your script a method to select to build a devel or an install build.
Moreover
-DLYX_MERGE_REBUILD=1 -DLYX_MERGE_FILES=1
never worked for me. i get then compilation errors. Thus I am forced to use
-DLYX_MERGE_REBUILD=0 -DLYX_MERGE_FILES=0

I really hope this improves the current installer chaos.

I am very thankful that you help me here but I don't understand what you mean with "installer chaos". I provided a buggy installer for alpha2 because I could not test it. That was it. My main problems are to build LyX because of the CMake bugs and because I first need to find out that LyX cannot be built with MSVC 2012 or newer.

regards Uwe

Reply via email to