[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: compilation problems with Qt 5.5.1 and MSVC 2010
From: Peter_Kümmel <syntheticpp () gmx ! net>
Date: 2016-01-18 2:17:57
Message-ID: 5D541355-397F-448C-A664-198A9D37E824 () gmx ! net
[Download RAW message or body]
Am 18. Januar 2016 01:10:41 MEZ, schrieb "Uwe Stöhr" <uwestoehr@web.de>:
> 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
Something is different on your system, there should be no problem with finding Qt 5. \
How actual is your cmake installation? Or do you use a years old Windows for the \
build?
Latest build folder name should be build5-msvc2010, didn't land this commit upstream? \
Script maybe misses the correcr man dir pass this could be fixed.
[Attachment #3 (text/html)]
<html><head></head><body><div class="gmail_quote">Am 18. Januar 2016 01:10:41 MEZ, \
schrieb "Uwe Stöhr" <uwestoehr@web.de>:<blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;"> <pre class="k9mail">Am 17.01.2016 um 18:59 schrieb \
Peter Kümmel:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex \
0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> as you told, you have big \
problems in settings up clean build.<br /> Therefore I've changed the build5-2010.bat \
file you added for building<br /> with MSVC2010.<br /></blockquote><br />As I \
reported proudly I was able to get a clean build. I still have some <br />troubles \
with CMake and reported them as<br /><a \
href="http://www.lyx.org/trac/ticket/9927">http://www.lyx.org/trac/ticket/9927</a><br \
/><br />The script you modified is the one I uploaded after I could use it to <br \
/>compile LyX with it with just a click.<br /><br />Now I cannot use the script to \
build LyX: double-clicking on it gives <br />starts a console that is clased after a \
few seconds. The error message is:<br /><br /><hr /><br />CMake Error at \
CMakeLists.txt:561 (find_package):<br /> By not providing "FindQt5Core.cmake" in \
CMAKE_MODULE_PATH this <br />project has<br /> asked CMake to find a package \
configuration file provided by <br />"Qt5Core", but<br /> CMake did not find \
one.<br /><br /> Could not find a package configuration file provided by "Qt5Core" \
<br />with any<br /> of the following names:<br /><br /> Qt5CoreConfig.cmake<br \
/> qt5core-config.cmake<br /><br /> Add the installation prefix of "Qt5Core" to \
CMAKE_PREFIX_PATH or set<br /> "Qt5Core_DIR" to a directory containing one of the \
above files. If<br /> "Qt5Core" provides a separate development package or SDK, be \
sure it has<br /> been installed.<br /><br />-- Configuring incomplete, errors \
occurred!<br />See also "D:/LyXGit/compile-msvc2010/CMakeFiles/CMakeOutput.log".<br \
/><hr /><br /><br />I miss in your script a method to select to build a devel or an \
install <br />build.<br />Moreover<br />-DLYX_MERGE_REBUILD=1 -DLYX_MERGE_FILES=1<br \
/>never worked for me. i get then compilation errors. Thus I am forced to use<br \
/>-DLYX_MERGE_REBUILD=0 -DLYX_MERGE_FILES=0<br /><br /><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; \
padding-left: 1ex;"> I really hope this improves the current installer chaos.<br \
/></blockquote><br />I am very thankful that you help me here but I don't understand \
what you <br />mean with "installer chaos". I provided a buggy installer for alpha2 \
<br />because I could not test it. That was it. My main problems are to build <br \
/>LyX because of the CMake bugs and because I first need to find out that <br />LyX \
cannot be built with MSVC 2012 or newer.<br /><br />regards Uwe<br \
/></pre></blockquote></div><br clear="all">Something is different on your system, \
there should be no problem with finding Qt 5. How actual is your cmake installation? \
Or do you use a years old Windows for the build?<br> <br>
Latest build folder name should be build5-msvc2010, didn't land this commit \
upstream? <br> <br>
Script maybe misses the correcr man dir pass this could be fixed.<br>
</body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic