Hello,
I am a little bit stuck with a problem and I am wondering if anyone
already solved or met it before, or just have any idea how to solve it.
I would be really grateful for any hint.
I generated and built a project thankfully for Sacha's help.
I forget to check the <prj>_BUILD_ALL_PLUGIN, so I made the mistake to:
set in the CMake configuration the missing tag and re-build the hole
project (make -j8)
At first the build failed because it didn't found the DOXYGEN_EXECUTABLE
configuration tag. I add it manually giving the file path:
/usr/bin/doxygen (where the doxygen executable is)
Than the next 2 errors occures (which I can't resolve :( )
CMake Error at /home/Applications/MITK/MITK/CMake/FindGit.cmake:46
(message):
Command " rev-list -n 1 HEAD" in directory
/home/working_sand_box/MITK/TryRegistration failed with output:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the
working tree.
Use '--' to separate paths from revisions
Call Stack (most recent call first):
/home/Applications/MITK/MITK/CMake/mitkFunctionGetVersion.cmake:38
(GIT_WC_INFO)
CMakeLists.txt:172 (mitkFunctionGetVersion)
CMake Error at
/home/Applications/MITK/MITK/CMake/mitkFunctionGetVersion.cmake:42 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
CMakeLists.txt:172 (mitkFunctionGetVersion)
CMake Error at
/home/Applications/MITK/MITK/CMake/mitkFunctionGetVersion.cmake:74 (string):
string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
CMakeLists.txt:172 (mitkFunctionGetVersion)
I checked, the FindGit.cmake file is used at a lots of (other) places
and it is has the same content. It didn't changed since last time
successfully built the MITK project. The git executable is in defined place.
Which I find very weired that complaining for a cmake file from the MITK
source which has been successfully built before.
Usually this ambiguous argument 'HEAD' for "rev-list -n 1 HEAD" error is
given when try to use git rev-list -n 1 HEAD command where there is no
git local repository
My system parameters are:
Ubuntu 12.04
MITK: v2012.12.0 (I used also the newest PluginGenerator to generate the
project)
CMake 2.8.7
Qt 4.8.1
doxygen version: 1.7.4
If you have any idea, please help me how can I solve this problem.
Thank you in advance.
Cheers,
Fabiola
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users