In a Windows environment the easiest solution is to add "C:\msysgit\bin" to
your system's PATH variable.
Ghazall
2011/7/13 Miri Trope <[email protected]>
> Thank you for your ideas.
>
> How should I provide the path manually?
>
> I tried to add a cacth entry, type: FILEPATH, name: "GIT_EXECUTABLE" by
> CMake-gui and set the path of the git.exe (indeed, there are two paths:
> C:\msysgit\bin\git.exe or C:\msysgit\git\git.exe).
> But after I press: "configure", it seems that this entry is vanished and
> the same error returns.
> Moreover, I searched for the file which can be edited by me in order to set
> the git.exe path like: findGit.cmake and CMakeCache.txt and configured again
> without any successes...
>
> Please navigate me what should I do?
>
>
> On Tue, Jul 12, 2011 at 8:52 PM, Sascha Zelzer <
> [email protected]> wrote:
>
>> **
>> Here you go. The message says that CMake could not find "git"
>>
>>
>> error: could not find git for clone of CTK
>>
>> So you have to provide the path to your git.exe file manually, as you did
>> with qmake.exe.
>>
>> Here is the general idea:
>>
>> 1.) Read the error message carefully
>> 2.) Try to make some sense out of it (I know it is not always easy...)
>> 3.) Usually, CMake errors mean that it could not find some executable or
>> software package
>> 4.) If you are stuck, provide as much information as possible on this list
>>
>> Good luck,
>> Sascha
>>
>>
>> On 07/12/2011 07:38 PM, Miri Trope wrote:
>>
>> Thank you for the idea ;-)
>>
>> Here are the errors:
>> ===============
>>
>> Check for working C compiler using: Visual Studio 9 2008
>>
>> Check for working C compiler using: Visual Studio 9 2008 -- works
>>
>> Detecting C compiler ABI info
>>
>> Detecting C compiler ABI info - done
>>
>> Check for working CXX compiler using: Visual Studio 9 2008
>>
>> Check for working CXX compiler using: Visual Studio 9 2008 -- works
>>
>> Detecting CXX compiler ABI info
>>
>> Detecting CXX compiler ABI info - done
>>
>> Looking for Q_WS_X11
>>
>> Looking for Q_WS_X11 - not found.
>>
>> Looking for Q_WS_WIN
>>
>> Looking for Q_WS_WIN - found
>>
>> Looking for Q_WS_QWS
>>
>> Looking for Q_WS_QWS - not found.
>>
>> Looking for Q_WS_MAC
>>
>> Looking for Q_WS_MAC - not found.
>>
>> Found Qt4: C:/Qt/4.7.3/bin/qmake.exe (found suitable version "4.7.3",
>> required is "4.6.0")
>>
>> Generated: C:/MITK-superbuild/Project.xml
>>
>> Found Qt4: C:/Qt/4.7.3/bin/qmake.exe (found version "4.7.3")
>>
>> Could NOT find Git (missing: GIT_EXECUTABLE)
>>
>> CMake Error at C:/Program Files/CMake
>> 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1060 (message):
>>
>> error: could not find git for clone of CTK
>>
>> Call Stack (most recent call first):
>>
>> C:/Program Files/CMake
>> 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1478
>> (_ep_add_download_command)
>>
>> CMakeExternals/CTK.cmake:17 (ExternalProject_Add)
>>
>> SuperBuild.cmake:104 (INCLUDE)
>>
>> CMakeLists.txt:211 (include)
>>
>> Configuring incomplete, errors occurred!
>>
>>
>> On Tue, Jul 12, 2011 at 5:07 PM, Sascha Zelzer <
>> [email protected]> wrote:
>>
>>> Dear Miri,
>>>
>>> you should familiarize yourself a little bit with the build tools. The
>>> area is definitely there, maybe it is shrinked completely to the bottom of
>>> the window. Move your mouse to the bottom, the cursor should change. Play
>>> around a little.
>>>
>>> Best,
>>> Sascha
>>>
>>>
>>> On 07/12/2011 02:40 PM, Miri Trope wrote:
>>>
>>> Actually, I use CMake 2.8.5 and I don't have any specific area which
>>> describes the exact error output. To install other version? which are you
>>> recommend?
>>>
>>> On Tue, Jul 12, 2011 at 3:09 PM, Sascha Zelzer <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> The CMake GUI usually has an area containing the exact error output at
>>>> the bottom of the window. Posting this message instead of screenshots could
>>>> help diagnosing your problem.
>>>>
>>>> Best,
>>>> Sascha
>>>>
>>>>
>>>> On 07/12/2011 02:54 AM, Miri Trope wrote:
>>>>
>>>>> I removed all MITK's files from my computer and did the build process
>>>>> again with your suggestions. It still returns the same error as represents
>>>>> in the attached file.
>>>>>
>>>>> What's wrong ?
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> תודה,
>>> מירי
>>>
>>>
>>>
>>
>>
>> --
>> תודה,
>> מירי
>>
>>
>>
>
>
> --
> תודה,
> מירי
>
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users