SourceForge has been redesigned. Learn more.
Close

Compiling Subversion

Feedback
Anonymous
2008-05-02
2012-10-09
1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2008-05-02

    Hi! I'm new at compiling subversion, and I've never compiled stellarium before.
    I'm trying to compile stellarium build 3110. I know I'm new at this, so this is probably a dumb mistake I'm making.
    I believe I've got all the dependencies, and everything works OK till I type cmake -G "MSYS Makefiles" ..//.. then I get sh: cmake: command not found.
    I know I must be missing something but I can't figure it out. If I'm not mistaken, the builds/msys directory I just created is empty, so how am I going to run cmake?
    There must be something obvious I'm not doing. If any one can give me any help, I'd appreciate it. I am using Vista Basic with SP1.

    varkhan1

     
    • Anonymous

      Anonymous - 2008-05-02

      I've tried running the program CMakeSetup.exe. Now it trys to compile but gives me Qt qmake not found.
      Does anyone know how to do this properly?
      Thanks, Varkhan1

       
    • Anonymous

      Anonymous - 2008-05-02

      I noticed this thread here
      http://sourceforge.net/forum/forum.php?thread_id=1954315&forum_id=278769
      What sort of problem did you have with cmake -G "MSYS Makefiles" ..//.. Barry?
      Can anyone explain how to compile with this command?
      Thanks in advance,
      Varkhan1

       
    • barrykgerdes

      barrykgerdes - 2008-05-02

      Hi varkhan1

      Compiling from the subversion can be tricky the first time. It is absolutly essential that you get the program and dependancies in the right order as is described in the wiki. Qt4 must be installed first and make sure that there is no other copies of QT4, Msys or MinGW already on your computer. Then as the insall screen for qt4 comes up it will ask where mingw is or do you wish to download and install MinGW. take the install option.

      Next install msys. During this install some questions will be asked say yes to the first and enter the mingw path to the second. If this is done correctly it will say at the end "Oh goody you don't have make installed leave it that way"

      Next install cmake in the default manner that places it in the path. Then install Dev-Cpp.

      After Dev-Cpp is installed use its package installer to install the packages in the order shown in the wiki as some need to be installed before the others can be.

      Now you can install tortoise svn. When this is done get the stellarium source code from subversion. This needs the correct entries the first time but after that you only need to update.

      Compiling:

      There are some paths and variables that need to be added before compiling starts.
      I found the best way is to make them permanent in the windows environment. Details in the notes at the end of the compile instructions.

      Now you can try the cmake -G "MSYS Makefiles" ..//.. Make sure the syntax is exactly this. Now start your compile. From here on you will need to work on the cmakcache.txt to fix problems. I have done this 7 times now and the results and errors for the first compile have been different each time but once you get the cmake -G "MSYS makefiles" ..//.. right there should be no further problems and new compiles from the subversion will be "a breeze".

      Barry

       
    • Anonymous

      Anonymous - 2008-05-02

      Thanks for responding Barry.
      I don't get the "Oh goody" message though.
      It didn't work though with the same message as last time:
      Varkan@LAPTOP ~/stellarium/builds/msys
      $ cmake -G "MSYS Makefiles" ..//..
      sh: cmake: command not found

      What I don't understand is, if this mingw32 program is anything command prompt, how can it run a program (cmake) that is not located in the current directory?

       
    • Anonymous

      Anonymous - 2008-05-02

      Also, when I run the environment variables in mingw32 I don't get any program output. Is this normal?
      Should I close and reopen mingw32 before compiling?

       
    • barrykgerdes

      barrykgerdes - 2008-05-02

      Hi varkhan

      I have installed MSYS a few times and not got that message. This has always resulted in the can't find cmake error.

      My only solution has been to uninstall every thing, erase the folders and start again.

      I don't know what you mean about environment variables in mingw32. I enter the environment variables from the windows control panel/system/advanced environment variables

      Barry

       
    • Anonymous

      Anonymous - 2008-05-03

      Removed and reinstalled everything for the 3rd time. Still this error:
      Varkhan@LAPTOP ~/stellarium/builds/msys
      $ cmake -G "MSYS Makefiles" ..//..
      sh: cmake: command not found
      I'm sure everything is installed correctly this time. Would an incorrect Evironmental variable cause this problem? I used the control panel variables per your suggestion.
      I also got the message "Oh joy you don't have...".
      The thing I don't understand is: how can I run cmake if my /stellarium/builds/msys folder is empty? If ming32 can run cmake internally, how does it know what to compile?

       
    • Anonymous

      Anonymous - 2008-05-03

      Ran Cmake 2,4 setup, not sure if that is even a program that will correctly compile stellarium, but it fails with output:

      CMake Error: The C compiler "/MinGW/bin/gcc.exe" is not able to compile a simple test program.
      It fails with the following output:
      /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
      make[1]: Entering directory `/c/Users/Adam/Desktop/CMakeFiles/CMakeTmp'
      /C/Program\ Files/CMake\ 2.4/bin/cmake.exe -E cmake_progress_report /C/Users/Adam/Desktop/CMakeFiles/CMakeTmp/CMakeFiles 1
      Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj

      /MinGW/bin/gcc.exe -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj -c /C/Users/Adam/Desktop/CMakeFiles/CMakeTmp/testCCompiler.c
      /bin/sh: /MinGW/bin/gcc.exe: No such file or directory
      make[1]
      : [CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj] Error 127
      make[1]: Leaving directory `/c/Users/Adam/Desktop/CMakeFiles/CMakeTmp'
      make:
      [cmTryCompileExec/fast] Error 2

      CMake will not be able to correctly generate this project.

       
    • barrykgerdes

      barrykgerdes - 2008-05-03

      Hi Varkhan

      I think you are nearly there. I have had that same problem a couple of times and it was always fixed by re-installing and double checking the environment variables, except the last test on Vista where I could not get past this test. Are you sure Cmake is in your path? when you installed it it should have asked you if you wanted it in the path for everyone or just you or not at all. Check the Windows path.

      I cheated a little. I used the cmakecache.txt file from the XP build that had worked changing the drive references to suit and that worked perfectly, so I have yet to find out why it did not work properly on vista.

      Barry

       
    • Anonymous

      Anonymous - 2008-05-03

      I think I understand now. But could you clarify one or two things please?
      I assume you are saying to tell the installer that I want it or just me. Is this correct.
      Where should cmake be after installation? Mine's in c:\program files which doesn't sound right.

      I think I've got the environmental variables set right. I copied them from the wiki. Is there a way verify it?

      And finally, can the program be compiled in cmake 2.4 setup? The wiki obviously says to use msys, but when I do I get cmake not found.

      Thank you.

       
    • Anonymous

      Anonymous - 2008-05-03

      More news, but it's good this time!
      I changed the command in msys to tell it the actual cmake directory rather than just cmake -G "MSYS Makefiles" ../.. So my command read: "C:\Program Files\Cmake 2.4\bin\cmake" -G "MSYS Makefiles" ../.. Although I now get the error:
      CMake Error: The C compiler "/MinGW/bin/gcc.exe" is not able to compile a simple test program.
      It fails with the following output:
      /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
      make[1]: Entering directory `/c/Users/Adam/Desktop/CMakeFiles/CMakeTmp'
      /C/Program\ Files/CMake\ 2.4/bin/cmake.exe -E cmake_progress_report /C/Users/Adam/Desktop/CMakeFiles/CMakeTmp/CMakeFiles 1
      Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj

      /MinGW/bin/gcc.exe -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj -c /C/Users/Adam/Desktop/CMakeFiles/CMakeTmp/testCCompiler.c
      /bin/sh: /MinGW/bin/gcc.exe: No such file or directory
      make[1]
      : [CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj] Error 127
      make[1]: Leaving directory `/c/Users/Adam/Desktop/CMakeFiles/CMakeTmp'
      make:
      [cmTryCompileExec/fast] Error 2

      CMake will not be able to correctly generate this project.

      The difference is this time it generated the CMakeCache.txt file you were talking about so with luck I should be able to edit it and fix any problems.

       
    • Anonymous

      Anonymous - 2008-05-03

      The current error is:
      Varkhan@LAPTOP ~/stellarium/builds/msys
      $ "C:\Program Files\Cmake 2.4\bin\cmake" -G "MSYS Makefiles" ..//..
      -- Found Qt-Version 4.3.4
      -- No sound support.
      -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
      -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
      CMake Error: Could not find PNG library
      -- Configuring done

      Here's the contents of my CMakeCache.txt file:

      This is the CMakeCache file.

      For build in directory: c:/msys/1.0/home/Varkhan/stellarium/builds/msys

      It was generated by CMake: C:/Program Files/CMake 2.4/bin/cmake.exe

      You can edit this file to change values found and used by cmake.

      If you do not want to change any of the values, simply exit the editor.

      If you do want to change a value, simply edit, save, and exit the editor.

      The syntax for the file is as follows:

      KEY:TYPE=VALUE

      KEY is the name of a variable in the cache.

      TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.

      VALUE is the current value for the KEY.

      EXTERNAL cache entries

      //Path to a program.
      CMAKE_AR:FILEPATH=C:/MinGW/bin/ar.exe

      //For backwards compatibility, what version of CMake commands and
      // syntax should this version of CMake allow.
      CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4

      //Choose the type of build, options are: None Debug Release RelWithDebInfo
      // MinSizeRel.
      CMAKE_BUILD_TYPE:STRING=Release

      //Enable/Disable color output during build.
      CMAKE_COLOR_MAKEFILE:BOOL=ON

      //CXX compiler.
      CMAKE_CXX_COMPILER:FILEPATH=C:/mingw/bin/g++.exe

      //Flags used by the compiler during all build types.
      CMAKE_CXX_FLAGS:STRING=' '

      //Flags used by the compiler during debug builds.
      CMAKE_CXX_FLAGS_DEBUG:STRING=-g

      //Flags used by the compiler during release minsize builds.
      CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG -DQT_NO_DEBUG

      //Flags used by the compiler during release builds.
      CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -DQT_NO_DEBUG

      //Flags used by the compiler during Release with Debug Info builds.
      //
      CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DQT_NO_DEBUG

      //C compiler.
      CMAKE_C_COMPILER:FILEPATH=C:/MinGW/bin/gcc.exe

      //Flags for C compiler.
      CMAKE_C_FLAGS:STRING=' '

      //Flags used by the compiler during debug builds.
      CMAKE_C_FLAGS_DEBUG:STRING=-g

      //Flags used by the compiler during release minsize builds.
      CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

      //Flags used by the compiler during release builds (/MD /Ob1 /Oi
      // /Ot /Oy /Gs will produce slightly less optimized but smaller
      // files).
      CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

      //Flags used by the compiler during Release with Debug Info builds.
      //
      CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

      //Flags used by the linker.
      CMAKE_EXE_LINKER_FLAGS:STRING=

      //Flags used by the linker during debug builds.
      CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

      //Flags used by the linker during release minsize builds.
      CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

      //Flags used by the linker during release builds.
      CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

      //Flags used by the linker during Release with Debug Info builds.
      //
      CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

      //Install path prefix, prepended onto install directories.
      CMAKE_INSTALL_PREFIX:PATH=C:/Program Files/Stellarium

      //Path to a program.
      CMAKE_MAKE_PROGRAM:FILEPATH=C:/msys/1.0/bin/make.exe

      //Flags used by the linker during the creation of modules.
      CMAKE_MODULE_LINKER_FLAGS:STRING=

      //Flags used by the linker during debug builds.
      CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

      //Flags used by the linker during release minsize builds.
      CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

      //Flags used by the linker during release builds.
      CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

      //Flags used by the linker during Release with Debug Info builds.
      //
      CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

      //Flags used by the linker during the creation of dll's.
      CMAKE_SHARED_LINKER_FLAGS:STRING=

      //Flags used by the linker during debug builds.
      CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

      //Flags used by the linker during release minsize builds.
      CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

      //Flags used by the linker during release builds.
      CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

      //Flags used by the linker during Release with Debug Info builds.
      //
      CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

      //If set, runtime paths are not added when using shared libraries.
      //
      CMAKE_SKIP_RPATH:BOOL=NO

      //If true, cmake will use relative paths in makefiles and projects.
      //
      CMAKE_USE_RELATIVE_PATHS:BOOL=OFF

      //If this value is on, makefiles will be generated without the
      // .SILENT directive, and all commands will be echoed to the console
      // during the make. This is useful for debugging only. With Visual
      // Studio IDE projects all commands are done without /nologo.
      CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

      //Single output directory for building all executables.
      EXECUTABLE_OUTPUT_PATH:PATH=

      //Define whether python wrapper should be build using SIP, options
      // are: 1 or 0.
      GENERATE_PYTHON_WRAPPERS:BOOL=0

      //Path to a file.
      ICONV_INCLUDE_DIR:PATH=C:\Dev-Cpp\bin\iconv.exe

      //Path to a library.
      ICONV_LIBRARIES:FILEPATH=C:\Dev-Cpp\bin\iconv.dll

      //Single output directory for building all libraries.
      LIBRARY_OUTPUT_PATH:PATH=

      //Path to a program.
      QT_DBUSCPP2XML_EXECUTABLE:FILEPATH=QT_DBUSCPP2XML_EXECUTABLE-

      NOTFOUND

      //Path to a program.
      QT_DBUSXML2CPP_EXECUTABLE:FILEPATH=QT_DBUSXML2CPP_EXECUTABLE-

      NOTFOUND

      //The location of the Qt docs
      QT_DOC_DIR:PATH=C:/Qt/4.3.4/doc

      QT_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include

      //Qt library dir
      QT_LIBRARY_DIR:PATH=C:/Qt/4.3.4/lib

      //The location of the Qt mkspecs containing qconfig.pri
      QT_MKSPECS_DIR:PATH=/Qt/4.3.4/mkspecs

      //The moc executable
      QT_MOC_EXECUTABLE:FILEPATH=C:/Qt/4.3.4/bin/moc.exe

      //The location of the Qt plugins
      QT_PLUGINS_DIR:PATH=C:/Qt/4.3.4/plugins

      //Invalid qmake found
      QT_QMAKE_EXECUTABLE:FILEPATH=C:\Qt\4.3.4\bin\qmake.exe

      //Path to a file.
      QT_QT3SUPPORT_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/Qt3Support

      //The Qt QT3SUPPORT library
      QT_QT3SUPPORT_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQt3Support4.a;debug;C:

      /Qt/4.3.4/lib/libQt3Support4.a

      //Path to a library.
      QT_QT3SUPPORT_LIBRARY_DEBUG:FILEPATH=QT_QT3SUPPORT_LIBRARY_DEBUG

      -NOTFOUND

      //Path to a library.
      QT_QT3SUPPORT_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQt3Support4.a

      //Path to a file.
      QT_QTASSISTANT_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtAssistant

      //The Qt QTASSISTANT library
      QT_QTASSISTANT_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtAssistantClient4.a;de

      bug;C:/Qt/4.3.4/lib/libQtAssistantClient4.a

      //Path to a library.
      QT_QTASSISTANT_LIBRARY_DEBUG:FILEPATH=QT_QTASSISTANT_LIBRARY_DEBUG

      -NOTFOUND

      //Path to a library.
      QT_QTASSISTANT_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtAssistantClient4.a

      //Path to a file.
      QT_QTCORE_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtCore

      //The Qt QTCORE library
      QT_QTCORE_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtCore4.a;debug;C:/Qt/4.3.4/

      lib/libQtCore4.a

      //Path to a library.
      QT_QTCORE_LIBRARY_DEBUG:FILEPATH=QT_QTCORE_LIBRARY_DEBUG-

      NOTFOUND

      //Path to a library.
      QT_QTCORE_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtCore4.a

      //Path to a file.
      QT_QTDBUS_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtDBus

      //Path to a library.
      QT_QTDBUS_LIBRARY_DEBUG:FILEPATH=QT_QTDBUS_LIBRARY_DEBUG-

      NOTFOUND

      //Path to a library.
      QT_QTDBUS_LIBRARY_RELEASE:FILEPATH=QT_QTDBUS_LIBRARY_RELEASE-

      NOTFOUND

      //Path to a file.
      QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtDesigner

      //The Qt QTDESIGNERCOMPONENTS library
      QT_QTDESIGNERCOMPONENTS_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtDesi

      gnerComponents4.a;debug;C:/Qt/4.3.4/lib/libQtDesignerComponents4.a

      //Path to a library.
      QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG:FILEPATH=QT_QTDESIGNERCOMP

      ONENTS_LIBRARY_DEBUG-NOTFOUND

      //Path to a library.
      QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtDes

      ignerComponents4.a

      //Path to a file.
      QT_QTDESIGNER_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtDesigner

      //The Qt QTDESIGNER library
      QT_QTDESIGNER_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtDesigner4.a;debug;C:

      /Qt/4.3.4/lib/libQtDesigner4.a

      //Path to a library.
      QT_QTDESIGNER_LIBRARY_DEBUG:FILEPATH=QT_QTDESIGNER_LIBRARY_DEBUG-

      NOTFOUND

      //Path to a library.
      QT_QTDESIGNER_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtDesigner4.a

      //Path to a file.
      QT_QTGUI_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtGui

      //The Qt QTGUI library
      QT_QTGUI_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtGui4.a;debug;C:/Qt/4.3.4/lib/

      libQtGui4.a

      //Path to a library.
      QT_QTGUI_LIBRARY_DEBUG:FILEPATH=QT_QTGUI_LIBRARY_DEBUG-NOTFOUND

      //Path to a library.
      QT_QTGUI_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtGui4.a

      //The Qt QTMAIN library
      QT_QTMAIN_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libqtmain.a;debug;C:/Qt/4.3.4/li

      b/libqtmain.a

      //Path to a library.
      QT_QTMAIN_LIBRARY_DEBUG:FILEPATH=QT_QTMAIN_LIBRARY_DEBUG-

      NOTFOUND

      //Path to a library.
      QT_QTMAIN_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libqtmain.a

      //Path to a file.
      QT_QTNETWORK_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtNetwork

      //The Qt QTNETWORK library
      QT_QTNETWORK_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtNetwork4.a;debug;C:

      /Qt/4.3.4/lib/libQtNetwork4.a

      //Path to a library.
      QT_QTNETWORK_LIBRARY_DEBUG:FILEPATH=QT_QTNETWORK_LIBRARY_DEBUG

      -NOTFOUND

      //Path to a library.
      QT_QTNETWORK_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtNetwork4.a

      //Path to a file.
      QT_QTNSPLUGIN_INCLUDE_DIR:PATH=QT_QTNSPLUGIN_INCLUDE_DIR-NOTFOUND

      //Path to a library.
      QT_QTNSPLUGIN_LIBRARY_DEBUG:FILEPATH=QT_QTNSPLUGIN_LIBRARY_DEBUG

      -NOTFOUND

      //Path to a library.
      QT_QTNSPLUGIN_LIBRARY_RELEASE:FILEPATH=QT_QTNSPLUGIN_LIBRARY_RELEA

      SE-NOTFOUND

      //Path to a file.
      QT_QTOPENGL_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtOpenGL

      //The Qt QTOPENGL library
      QT_QTOPENGL_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtOpenGL4.a;debug;C:/Q

      t/4.3.4/lib/libQtOpenGL4.a

      //Path to a library.
      QT_QTOPENGL_LIBRARY_DEBUG:FILEPATH=QT_QTOPENGL_LIBRARY_DEBUG-

      NOTFOUND

      //Path to a library.
      QT_QTOPENGL_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtOpenGL4.a

      //Path to a file.
      QT_QTSCRIPT_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtScript

      //The Qt QTSCRIPT library
      QT_QTSCRIPT_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtScript4.a;debug;C:/Qt/4.3

      .4/lib/libQtScript4.a

      //Path to a library.
      QT_QTSCRIPT_LIBRARY_DEBUG:FILEPATH=QT_QTSCRIPT_LIBRARY_DEBUG-

      NOTFOUND

      //Path to a library.
      QT_QTSCRIPT_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtScript4.a

      //Path to a file.
      QT_QTSQL_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtSql

      //The Qt QTSQL library
      QT_QTSQL_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtSql4.a;debug;C:/Qt/4.3.4/lib/

      libQtSql4.a

      //Path to a library.
      QT_QTSQL_LIBRARY_DEBUG:FILEPATH=QT_QTSQL_LIBRARY_DEBUG-NOTFOUND

      //Path to a library.
      QT_QTSQL_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtSql4.a

      //Path to a file.
      QT_QTSVG_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtSvg

      //The Qt QTSVG library
      QT_QTSVG_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtSvg4.a;debug;C:/Qt/4.3.4/lib

      /libQtSvg4.a

      //Path to a library.
      QT_QTSVG_LIBRARY_DEBUG:FILEPATH=QT_QTSVG_LIBRARY_DEBUG-NOTFOUND

      //Path to a library.
      QT_QTSVG_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtSvg4.a

      //Path to a file.
      QT_QTTEST_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtTest

      //The Qt QTTEST library
      QT_QTTEST_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtTest4.a;debug;C:/Qt/4.3.4/li

      b/libQtTest4.a

      //Path to a library.
      QT_QTTEST_LIBRARY_DEBUG:FILEPATH=QT_QTTEST_LIBRARY_DEBUG-NOTFOUND

      //Path to a library.
      QT_QTTEST_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtTest4.a

      //Path to a file.
      QT_QTUITOOLS_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtUiTools

      //The Qt QTUITOOLS library
      QT_QTUITOOLS_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtUiTools.a;debug;C:/Qt/

      4.3.4/lib/libQtUiToolsd.a

      //Path to a library.
      QT_QTUITOOLS_LIBRARY_DEBUG:FILEPATH=C:/Qt/4.3.4/lib/libQtUiToolsd.a

      //Path to a library.
      QT_QTUITOOLS_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtUiTools.a

      //Path to a file.
      QT_QTXML_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/QtXml

      //The Qt QTXML library
      QT_QTXML_LIBRARY:FILEPATH=optimized;C:/Qt/4.3.4/lib/libQtXml4.a;debug;C:/Qt/4.3.4/li

      b/libQtXml4.a

      //Path to a library.
      QT_QTXML_LIBRARY_DEBUG:FILEPATH=QT_QTXML_LIBRARY_DEBUG-NOTFOUND

      //Path to a library.
      QT_QTXML_LIBRARY_RELEASE:FILEPATH=C:/Qt/4.3.4/lib/libQtXml4.a

      //Path to a file.
      QT_QT_INCLUDE_DIR:PATH=C:/Qt/4.3.4/include/Qt

      //Path to a program.
      QT_RCC_EXECUTABLE:FILEPATH=C:/Qt/4.3.4/bin/rcc.exe

      //Path to a program.
      QT_UIC3_EXECUTABLE:FILEPATH=C:/Qt/4.3.4/bin/uic3.exe

      //The uic executable
      QT_UIC_EXECUTABLE:FILEPATH=C:/Qt/4.3.4/bin/uic.exe

      //Path to a file.
      SDLMIXER_INCLUDE_DIR:PATH=SDLMIXER_INCLUDE_DIR-NOTFOUND

      //Path to a library.
      SDLMIXER_LIBRARY:FILEPATH=SDLMIXER_LIBRARY-NOTFOUND

      //Value Computed by CMake
      Stellarium_BINARY_DIR:STATIC=C:/msys/1.0/home/Varkhan/stellarium/builds/msys

      //Value Computed by CMake
      Stellarium_SOURCE_DIR:STATIC=C:/msys/1.0/home/Varkhan/stellarium

      INTERNAL cache entries

      //Advanced flag for variable: CMAKE_AR
      CMAKE_AR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_BUILD_TOOL
      CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
      //What is the target build tool cmake is generating for.
      CMAKE_BUILD_TOOL:INTERNAL=C:/msys/1.0/bin/make.exe
      //This is the directory where this CMakeCahe.txt was created
      CMAKE_CACHEFILE_DIR:INTERNAL=c:/msys/1.0/home/Varkhan/stellarium/builds/msys
      //Major version of cmake used to create the current loaded cache
      //
      CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
      //Minor version of cmake used to create the current loaded cache
      //
      CMAKE_CACHE_MINOR_VERSION:INTERNAL=4
      //Major version of cmake used to create the current loaded cache
      //
      CMAKE_CACHE_RELEASE_VERSION:INTERNAL=patch 8
      //Advanced flag for variable: CMAKE_COLOR_MAKEFILE
      CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
      //Path to CMake executable.
      CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake 2.4/bin/cmake.exe
      //Path to ctest program executable.
      CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake 2.4/bin/ctest.exe
      //Advanced flag for variable: CMAKE_CXX_COMPILER
      CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
      CMAKE_CXX_COMPILER_WORKS:INTERNAL=1
      //Advanced flag for variable: CMAKE_CXX_FLAGS
      CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_CXX_FLAGS_DEBUG
      CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_CXX_FLAGS_MINSIZEREL
      CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_CXX_FLAGS_RELEASE
      CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
      CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_C_COMPILER
      CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
      CMAKE_C_COMPILER_WORKS:INTERNAL=1
      //Advanced flag for variable: CMAKE_C_FLAGS
      CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_C_FLAGS_DEBUG
      CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_C_FLAGS_MINSIZEREL
      CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_C_FLAGS_RELEASE
      CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
      CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
      //Path to cache edit program executable.
      CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake 2.4/bin/CMakeSetup.exe
      //Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS
      CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
      CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
      //
      CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
      CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
      //
      CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
      //Name of generator.
      CMAKE_GENERATOR:INTERNAL=MSYS Makefiles
      //Start directory with the top level CMakeLists.txt file for this
      // project
      CMAKE_HOME_DIRECTORY:INTERNAL=C:/msys/1.0/home/Varkhan/stellarium
      //Advanced flag for variable: CMAKE_MAKE_PROGRAM
      CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS
      CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
      CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
      //
      CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
      //
      CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
      //
      CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
      //number of local generators
      CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=1
      //noop for ranlib
      CMAKE_RANLIB:INTERNAL=:
      //Path to CMake installation.
      CMAKE_ROOT:INTERNAL=C:/Program Files/CMake 2.4/share/cmake-2.4
      //Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS
      CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
      CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
      //
      CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
      //
      CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
      //
      CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
      //Result of TRY_RUN
      CMAKE_SIZEOF_VOID_P:INTERNAL=4
      //Advanced flag for variable: CMAKE_SKIP_RPATH
      CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_USE_RELATIVE_PATHS
      CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
      //Advanced flag for variable: CMAKE_VERBOSE_MAKEFILE
      CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
      //Have includes HAVE_BYTESWAP_H
      HAVE_BYTESWAP_H:INTERNAL=
      //Result of TRY_COMPILE
      HAVE_CMAKE_SIZEOF_VOID_P:INTERNAL=TRUE
      //Have function mktime
      HAVE_MKTIME:INTERNAL=1
      //Have function pow10
      HAVE_POW10:INTERNAL=
      //Have function setlocale
      HAVE_SETLOCALE:INTERNAL=1
      //Have function snprintf
      HAVE_SNPRINTF:INTERNAL=1
      //Have function timegm
      HAVE_TIMEGM:INTERNAL=
      //Have function tzset
      HAVE_TZSET:INTERNAL=1
      QT_BINARY_DIR:INTERNAL=C:\Qt\4.3.4\bin
      //Advanced flag for variable: QT_DBUSCPP2XML_EXECUTABLE
      QT_DBUSCPP2XML_EXECUTABLE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_DBUSXML2CPP_EXECUTABLE
      QT_DBUSXML2CPP_EXECUTABLE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_DOC_DIR
      QT_DOC_DIR-ADVANCED:INTERNAL=1
      QT_HEADERS_DIR:INTERNAL=C:\Qt\4.3.4\include
      //Advanced flag for variable: QT_INCLUDE_DIR
      QT_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_LIBRARY_DIR
      QT_LIBRARY_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_MKSPECS_DIR
      QT_MKSPECS_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_MOC_EXECUTABLE
      QT_MOC_EXECUTABLE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_PLUGINS_DIR
      QT_PLUGINS_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QT3SUPPORT_INCLUDE_DIR
      QT_QT3SUPPORT_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QT3SUPPORT_LIBRARY
      QT_QT3SUPPORT_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QT3SUPPORT_LIBRARY_DEBUG
      QT_QT3SUPPORT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QT3SUPPORT_LIBRARY_RELEASE
      QT_QT3SUPPORT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTASSISTANT_INCLUDE_DIR
      QT_QTASSISTANT_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTASSISTANT_LIBRARY
      QT_QTASSISTANT_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTASSISTANT_LIBRARY_DEBUG
      QT_QTASSISTANT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTASSISTANT_LIBRARY_RELEASE
      QT_QTASSISTANT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTCORE_INCLUDE_DIR
      QT_QTCORE_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTCORE_LIBRARY
      QT_QTCORE_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTCORE_LIBRARY_DEBUG
      QT_QTCORE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTCORE_LIBRARY_RELEASE
      QT_QTCORE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDBUS_INCLUDE_DIR
      QT_QTDBUS_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDBUS_LIBRARY_DEBUG
      QT_QTDBUS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDBUS_LIBRARY_RELEASE
      QT_QTDBUS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR
      //
      QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY
      QT_QTDESIGNERCOMPONENTS_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG
      //
      QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE
      //
      QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNER_INCLUDE_DIR
      QT_QTDESIGNER_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNER_LIBRARY
      QT_QTDESIGNER_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNER_LIBRARY_DEBUG
      QT_QTDESIGNER_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTDESIGNER_LIBRARY_RELEASE
      QT_QTDESIGNER_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTGUI_INCLUDE_DIR
      QT_QTGUI_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTGUI_LIBRARY
      QT_QTGUI_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTGUI_LIBRARY_DEBUG
      QT_QTGUI_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTGUI_LIBRARY_RELEASE
      QT_QTGUI_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTMAIN_LIBRARY
      QT_QTMAIN_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTMAIN_LIBRARY_DEBUG
      QT_QTMAIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTMAIN_LIBRARY_RELEASE
      QT_QTMAIN_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNETWORK_INCLUDE_DIR
      QT_QTNETWORK_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNETWORK_LIBRARY
      QT_QTNETWORK_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNETWORK_LIBRARY_DEBUG
      QT_QTNETWORK_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNETWORK_LIBRARY_RELEASE
      QT_QTNETWORK_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNSPLUGIN_INCLUDE_DIR
      QT_QTNSPLUGIN_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNSPLUGIN_LIBRARY_DEBUG
      QT_QTNSPLUGIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTNSPLUGIN_LIBRARY_RELEASE
      QT_QTNSPLUGIN_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTOPENGL_INCLUDE_DIR
      QT_QTOPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTOPENGL_LIBRARY
      QT_QTOPENGL_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTOPENGL_LIBRARY_DEBUG
      QT_QTOPENGL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTOPENGL_LIBRARY_RELEASE
      QT_QTOPENGL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSCRIPT_INCLUDE_DIR
      QT_QTSCRIPT_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSCRIPT_LIBRARY
      QT_QTSCRIPT_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSCRIPT_LIBRARY_DEBUG
      QT_QTSCRIPT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSCRIPT_LIBRARY_RELEASE
      QT_QTSCRIPT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSQL_INCLUDE_DIR
      QT_QTSQL_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSQL_LIBRARY
      QT_QTSQL_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSQL_LIBRARY_DEBUG
      QT_QTSQL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSQL_LIBRARY_RELEASE
      QT_QTSQL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSVG_INCLUDE_DIR
      QT_QTSVG_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSVG_LIBRARY
      QT_QTSVG_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSVG_LIBRARY_DEBUG
      QT_QTSVG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTSVG_LIBRARY_RELEASE
      QT_QTSVG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTTEST_INCLUDE_DIR
      QT_QTTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTTEST_LIBRARY
      QT_QTTEST_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTTEST_LIBRARY_DEBUG
      QT_QTTEST_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTTEST_LIBRARY_RELEASE
      QT_QTTEST_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTUITOOLS_INCLUDE_DIR
      QT_QTUITOOLS_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTUITOOLS_LIBRARY
      QT_QTUITOOLS_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTUITOOLS_LIBRARY_DEBUG
      QT_QTUITOOLS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTUITOOLS_LIBRARY_RELEASE
      QT_QTUITOOLS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTXML_INCLUDE_DIR
      QT_QTXML_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTXML_LIBRARY
      QT_QTXML_LIBRARY-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTXML_LIBRARY_DEBUG
      QT_QTXML_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QTXML_LIBRARY_RELEASE
      QT_QTXML_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_QT_INCLUDE_DIR
      QT_QT_INCLUDE_DIR-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_RCC_EXECUTABLE
      QT_RCC_EXECUTABLE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_UIC3_EXECUTABLE
      QT_UIC3_EXECUTABLE-ADVANCED:INTERNAL=1
      //Advanced flag for variable: QT_UIC_EXECUTABLE
      QT_UIC_EXECUTABLE-ADVANCED:INTERNAL=1
      //Have symbol Q_WS_MAC
      Q_WS_MAC:INTERNAL=
      //Have symbol Q_WS_QWS
      Q_WS_QWS:INTERNAL=
      //Have symbol Q_WS_WIN
      Q_WS_WIN:INTERNAL=1
      //Have symbol Q_WS_X11
      Q_WS_X11:INTERNAL=

       
    • barrykgerdes

      barrykgerdes - 2008-05-03

      Hi varkhan1

      Your cmakecache.text is missing a couple of instructions but the reference to these will come when they are needed by the compiler. The first one is the path to boost. it should be something like this.

      //The directory containing the boost include files. E.g /usr/local/include/boost-1_34_1
      // or c:\boost\include\boost-1_34_1
      Boost_INCLUDE_DIR:PATH=C:\Dev-Cpp\boost_1_34_1

      Try adding this as the first command in your file. Actually when your get the cmakecache file correct it contains the environment variables. That is probably why my working XP cmakecache.txt worked with the vista installaion.

      Don't lose heart I tried to get a windows compile to work for two years, spent weeks on it before I got it work. Just persevere and you will get it eventually.

      Watch the syntax in your environment variables. Msys uses "/" as the folder notation, Windows uses "\" for the same function.

      My cmake is in C:\Program Files\CMake 2.4
      Gnu is in C:\Program Files\GnuWin32
      Dev-Cpp is in C:\Dev-Cpp
      boost is in C:\Dev-Cpp\boost_1_34_1
      MinGW is in C:\MinGW
      Qt is in C:\Qt
      Msys is in C:\msys

      Barry

       
    • Anonymous

      Anonymous - 2008-05-14

      Hi
      I'm still stuck on the cannot find png library error.
      Where in the CMakeCache.txt file is the reference for this library? I failed to find it.
      Any help would be appreciated.
      Varkhan1

       
    • barrykgerdes

      barrykgerdes - 2008-05-14

      Hi Varkhan1

      The png library files are in the Dev-Cpp lib folder and would have been installed there with the package manager from the source "libpng-1.2.8-1spec.DevPak"

      //Path to a library.
      PNG_LIBRARY:FILEPATH=J:/Dev-Cpp/lib/libpng.dll.a

      The above is the entry in my CmakeCache.txt file. I found it with the "find" in MS wordpad calling "libpng"

      The dependancies below needed to be installed in this order into Dev-Cpp package manager.

      binutils 2.15.91-20040904-1 (already installed)
      zlib 1.2.3 (zlib-1.2.3-1cm.devpak)
      libjpeg 6b-4 (libjpeg-6b_4-1spec.DevPak)
      libpng 1.2.8 (libpng-1.2.8-1spec.DevPak)
      libtiff 3.6.1-2 (libtiff-3.9.1_2-1spec.DevPak)
      OpenSSL 0.9.8 (openssl-0.9.8e-1cm.devpak)
      boost 1.33.1 (boost_1_33_1.tar.bz2) (from www.boost.org)
      freetype 2.1.10-1 (freetype-2.1.10-1spl.devpak)
      libiconv 1.9.1 (libiconv-1.9.1-1spec.devpak)
      libintl 0.14.5 (libintl-0.14.5-spec.devpak)
      SDL 1.2.8 (SDL-1.2.8-2spec.devpak)
      SDL_image 1.2.4 (SDL_image-1.2.4.DevPak)
      SDL_mixer 1.2.6 (SDL_mixer-devel-1.2.6-2mol.devpak)
      SDL_ttf 2.0.7 (SDL_ttf-2.0.7-1mol.DevPak)

      Barry

       
    • barrykgerdes

      barrykgerdes - 2008-05-14

      Hi Varkhan1

      I just had a quick look at your CmakeCache.txt file and there are a lot of variables missing between the Cmake entries and the QT- entries.

      //Path to a file.
      FreeType2_INCLUDE_DIR:PATH=j:/Program Files/GnuWin32/include/freetype2

      //Path to a library.
      FreeType2_LIBRARIES:FILEPATH=J:/Dev-Cpp/lib/libfreetype.dll.a

      //Define whether python wrapper should be build using SIP, options
      // are: 1 or 0.
      GENERATE_PYTHON_WRAPPERS:BOOL=0

      //Path to a program.
      GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=J:/Program Files/GnuWin32/bin/msgfmt.exe

      //Path to a program.
      GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=J:/Program Files/GnuWin32/bin/msgmerge.exe

      //Path to a program.
      GETTEXT_XGETTEXT_EXECUTABLE:FILEPATH=J:/Program Files/GnuWin32/bin/xgettext.exe

      //Path to a file.
      ICONV_INCLUDE_DIR:PATH=j:/Dev-Cpp/include

      //Path to a library.
      ICONV_LIBRARIES:FILEPATH=J:/Dev-Cpp/lib/libiconv.a

      //Path to a file.
      INTL_INCLUDE_DIR:PATH=j:/Dev-Cpp/include

      //Path to a library.
      INTL_LIBRARIES:FILEPATH=J:/Dev-Cpp/lib/libintl.a

      //Library is used for both debug and optimized links
      "J:/Qt/4.3.4/lib/libQtNetwork4.a_LINK_TYPE":STATIC=general

      //Path to a file.
      JPEG_INCLUDE_DIR:PATH=j:/Dev-Cpp/include

      //Path to a library.
      JPEG_LIBRARY:FILEPATH=J:/Dev-Cpp/lib/libjpeg.dll.a

      //Single output directory for building all libraries.
      LIBRARY_OUTPUT_PATH:PATH=

      //OpenGL library for win32
      OPENGL_gl_LIBRARY:STRING=opengl32

      //GLU library for win32
      OPENGL_glu_LIBRARY:STRING=glu32

      //Path to a library.
      PNG_LIBRARY:FILEPATH=J:/Dev-Cpp/lib/libpng.dll.a

      //Path to a file.
      PNG_PNG_INCLUDE_DIR:PATH=j:/Dev-Cpp/include

      Barry

       
    • Anonymous

      Anonymous - 2008-05-15

      I successfully compiled svn version 3143. Stellarium really looks great and has apparently undergone major changes since the last release. Kudos to the developers. :) Thank you very much for all your help Barry. I wouldn't have been able to do it without you. :)

       
    • Anonymous

      Anonymous - 2008-06-26

      Thank you for posting that file, Matthew. As I mentioned, the problem I was having had nothing to do with the code, and everything to do with my CMakeCache file. Your file worked fine, and built all the way with a few modifications. I shall try to find the critical difference between your file and mine, since that is what is preventing me from compiling with my own file. Thanks. :)
      Varkhan1

       
    • LoneHiker

      LoneHiker - 2008-06-26

      Following the instructions in the wiki and the information in this thread I got cmake to work. But I haven't been able to get Stellarium to compile. It goes as far as:

      Linking CXX shared library libstelMain.dll
      Creating library file: libstelMain.dll.a
      CMakeFiles/stelMain.dir/modules/Telescope.obj(.text+0x96):Telescope.cpp: undefined reference to `closesocket@4'
      ...a lot of similar Telescope.obj undefined reference errors...
      collect2: ld returned 1 exit status
      make[2]: [src/libstelMain.dll] Error 1
      make[1]:
      [src/CMakeFiles/stelMain.dir/all] Error 2
      make: *** [all] Error 2
      BUILD FAILED

      -or-

      Linking CXX executable stellarium.exe
      CMakeFiles/stellarium.dir/modules/Telescope.obj(.text+0x96):Telescope.cpp: undefined reference to `closesocket@4'
      ...a lot of similar Telescope.obj undefined reference errors...
      collect2: ld returned 1 exit status
      make[2]: [src/stellarium.exe] Error 1
      make[1]:
      [src/CMakeFiles/stellarium.dir/all] Error 2
      make: *** [all] Error 2
      BUILD FAILED

      I tried disabling the generation of libstelMain.dll as suggested in another thread. So far it hasn't worked. I've also tried various revisions that varkhan1 and others have successfully compiled. I'm not really sure where to go from here.

      Mike

       
      • Matthew Gates

        Matthew Gates - 2008-06-26

        The linking problem (without the lilbStelMain enabled) looks to do with linking to the windows sockets library (winsock). The solution probably has to do with adding the winsock libraries somehow.

        However, we should be replacing the Telescope network code with portable QT-based code, and I think the problem will go away when we do that... it might just be easier to wait for that to happen.

        Having said that, if you find a quick fix to the cmake files, please do post it.

        Matthew

         
      • Matthew Gates

        Matthew Gates - 2008-06-26

        OK, I got my win32 build working. I installed QT4.4 and CMake 2.6, updated the environment variables which are set in my MSYS .profile, and then modified the main CMakeLists.txt, adding this:

        IF(WIN32)
        LINK_LIBRARIES(wsock32)
        ENDIF(WIN32)

        IF(COMMAND cmake_policy)
        CMAKE_POLICY(SET CMP0003 NEW)
        ENDIF(COMMAND cmake_policy)

        I put it after the line:

        ENDIF(WIN32 OR GENERATE_PYTHON_WRAPPERS)

        Enjoy
        Matthew

         
        • LoneHiker

          LoneHiker - 2008-06-26

          Hi Matthew,

          I happy to confirm that the CMakeLists.txt modification you suggested worked! :)

          I'm really liking some of the changes made to the program since I tried the earlier revision varkhan1 compiled and made available. But that's off-topic here and I'll comment in a new thread later.

          Once again, thanks!

          Michael

           
    • LoneHiker

      LoneHiker - 2008-06-26

      The only issue I had with the CMake part of the process (following the instructions on the wiki) were:

      cmake -G "MSYS Makefiles" ../..

      I had the "cmake command not found" error at this stage. I suggest mentioning in the wiki that the path to cmake.exe in the Windows Environment variable PATH should be set.

      The only other issue was the Boost_INCLUDE_DIR and SDLMIXER_INCLUDE_DIR path variables not being found. But the wiki has instructions for editing CMakeCache.txt to include the paths. Otherwise everything went smoothly up until the make stage.

      I'm using Windows XP SP2 Home Edition and did a clean install.

      Mike

       
    • Anonymous

      Anonymous - 2008-06-26

      Hi everyone. I'm having some trouble. Through a process I won't even get into, I managed to delete my Cmakecache file, and realized it exactly seven seconds after emptying the recycling bin (Doh). I recreated it easily, but now my builds jam on the following error:

      [ 2%] Building CXX object src/CMakeFiles/stellarium.dir/core/ToneReproducer.obj
      c:/msys/1.0/home/Varkhan/stellarium/src/core/ToneReproducer.cpp: In member function void ToneReproducer::setDisplayAdaptationLuminance(float)': c:/msys/1.0/home/Varkhan/stellarium/src/core/ToneReproducer.cpp:78: error:pow10' undeclared (first use this function)
      c:/msys/1.0/home/Varkhan/stellarium/src/core/ToneReproducer.cpp:78: error: (Each undeclared identifier is reported only once for each function it appears in.)
      c:/msys/1.0/home/Varkhan/stellarium/src/core/ToneReproducer.cpp: In member function void ToneReproducer::setWorldAdaptationLuminance(float)': c:/msys/1.0/home/Varkhan/stellarium/src/core/ToneReproducer.cpp:97: error:pow10' undeclared (first use this function)
      make[2]: [src/CMakeFiles/stellarium.dir/core/ToneReproducer.obj] Error 1
      make[1]:
      [src/CMakeFiles/stellarium.dir/all] Error 2
      make: *** [all] Error 2

      I think the problem is an errant Cmakecache entry. What entry in the Cmakecache file could cause this problem?

       
1 2 > >> (Page 1 of 2)

Anonymous
Anonymous

Cancel  Add attachments