Am Sonntag, 19. Juni 2016 um 11:31:56, schrieb racoon <xraco...@gmx.de> > On 18.06.2016 23:09, Kornel Benko wrote: > > Am Samstag, 18. Juni 2016 um 18:15:51, schrieb racoon <xraco...@gmx.de> > >> Hi, > >> > >> I'd like to compile LyX on my Win7 machine. However, I get errors when I > >> try to compile LyX even though I tried to follow the instruction step by > >> step. Maybe someone can help: > >> > >>> Compiling with Microsoft Visual C++ > >>> =================================== > >>> > >>> These instructions assume the LyX source code is in C:\LyX\lyx-21 > >>> You can also use another directory if you prefer. > >>> > >>> 1 Install MSVC 2010 > >>> > >>> If you don't have Visual C++ 2010 installed, get the free Express > >>> edition from > >>> http://www.microsoft.com/express/Downloads/ > >>> > >>> (All dependencies are linked against the MSVC 2010 runtime and won't > >>> work in > >>> combination with MSVC 2008. You'll get crashes and other unexpected > >>> issues.) > >> > >> I got MSVC 2015. > >> > >>> 2 Install Qt > >>> > >>> Download the latest Qt for Open Source C++ development on Windows > >>> (VS2010) > >>> from http://qt-project.org/downloads > >> > >> I got Qt 5.7. > >> > >>> 3 Install Python > >>> > >>> Install the latest Python 2.x version (not Python 3.x !) from > >>> http://www.python.org/download/ > >> > >> I got Phython 2.7.11 (64/Bit) > >> > >>> > >>> 4 Install CMake > >>> > >>> Install the latest CMake from http://www.cmake.org > >> > >> I got CMake 3.5.2. > >> > >>> 5 Configure > >>> > >>> - Run the CMake GUI. > >>> > >>> - Set the source code path to C:\LyX\lyx-21 > >>> Set the build path to C:\LyX\lyx-21-build > >> > >> Source code: C:/Users/Daniel/LyX/LyX22 > >> Build: C:/Users/Daniel/LyX/LyX22-Build > >> > >>> Click Configure > >> > >> Click on Configure informs me that the build directory does not exist. > >> Creating. > >> > >>> and set the generator to Visual Studio 10. > >> > >> Done. > >> > >>> - Enable LYX_DEPENDENCIES_DOWNLOAD and click Configure. > >> > >> Where? I don't see such an option. I am still in the CMakeSetup dialog. > > > > The first underline in a variable name specifies a group. That means you can > > find LYX_DEPENDENCIES_DOWNLOAD in the group 'LYX'. > > Open the group, e.g. click on the small triangle left to 'LYX'. > > I don't see any groups in CMakeSetup dialog (attacked CMake2.png).
'Grouped' is not checked. > >> Click "Finish" first? Doing. > >> > >> Error message: "Error in configuring process, project files may be > >> invalid." > >> > >> From the log: > >> ------ > >> TOP_SRC_DIR = C:/Users/Daniel/LyX/LyX22 > >> > >> Building out-of-source > >> The C compiler identification is unknown > >> The CXX compiler identification is unknown > > > > Looks like your c-compiler is not in PATH. > > Okay. So is it not installed? How do I install it? I thought Visual > Studio would take care of this. > > Or do I need to add something manually to PATH? If so what might that be? Don't know what exactly to do on windows. I am on linux. You are the windows expert from my POV. As to what that might be: You have installed Visual Studio to some place, so you should know IMHO. > >> CMake Error at CMakeLists.txt:76 (project): > >> No CMAKE_C_COMPILER could be found. > >> > >> > >> > >> CMake Error at CMakeLists.txt:76 (project): > >> No CMAKE_CXX_COMPILER could be found. > >> > >> > >> > >> Configuring incomplete, errors occurred! > >> See also "C:/Users/Daniel/LyX/LyX22-build/CMakeFiles/CMakeOutput.log". > >> See also "C:/Users/Daniel/LyX/LyX22-build/CMakeFiles/CMakeError.log". > >> ------ > >> > >> Still no "LYX_DEPENDENCIES_DOWNLOAD" option. Only a list with many > >> "CMAKE_..." entries. > >> > >>> Pre-compiled dependencies will automatically be downloaded. > >> > >> I don't think so... > >> > >>> - Set QT_QMAKE_EXECUTABLE to e.g. > >>> C:\Qt\qt-everywhere-opensource-src-4.8.4\bin\qmake.exe > >>> and Configure again. > > > > I think, this is important only if you use QT4 > > > >> Don't have that option either. > >> > >>> - Enable the LYX_INSTALL option, set CMAKE_INSTALL_PREFIX to > >>> C:\LyX\lyx-21-install and click Configure. > >> > >> No LYX_INSTALL option either. Setting CMAKE_INSTALL_PREFIX > >> C:/Users/Daniel/LyX/LyX22-install. > > > > Are you sure, you want to install into this directory? > > Why not? It is your choice. > >> Clicking Configure. > >> > >> Same error message as before: "Error in configuring process, project > >> files may be invalid." > >> > >>> - Check the Advanced checkbox. > >> > >> Is already checked. > >> > >>> Set GETTEXT_MSGFMT_EXECUTABLE to > >>> C:\LyX\lyx-21-build\msvc2010-deps\deps20\gettext-tools\msgfmt.exe, > >>> and do the same for the other gettext tools. > > > > Open group GETTEXT. > > I still see only CMAKE_*'s (attacked CMake2.png). > Because of missing c-compiler you don't see any variables depending on it. First make sure you know the path to your compiler. > >> Don't have any of these options. > >> > >>> - Click Generate. > >> > >> Clicking. > >> > >> Same error message as before: "Error in configuring process, project > >> files may be invalid." > > > > > > The most important error is not finding the c-compiler. > > Got to know. So what can I do about it? I have neither windows nor Visual Studio. Don't know. > Daniel Kornel
signature.asc
Description: This is a digitally signed message part.