Hi,
I receive this error when I try to build extensions using Cmake.
– Found Git: C:/Program Files/Git/cmd/git.exe
– Looking for decorator header qSlicerOHModuleModuleWidgetsPythonQtDecorators.h
– Looking for decorator header qSlicerOHModuleModuleWidgetsPythonQtDecorators.h - Not found
– Configuring Loadable module: OHModule [qSlicerOHModuleModuleExport.h]
CMake Warning (dev) at C:/D/S4/CMake/SlicerMacroExtractRepositoryInfo.cmake:75 (message):
Skipping repository info extraction: directory [C:/dev/OHExtension/OH] is
not a GIT or SVN checkout
Call Stack (most recent call first):
C:/D/S4/CMake/SlicerExtensionCPack.cmake:60 (SlicerMacroExtractRepositoryInfo)
CMakeLists.txt:27 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Configuring incomplete, errors occurred!
See also “C:/dev/OHExtension/OHBuild/CMakeFiles/CMakeOutput.log”.
See also “C:/dev/OHExtension/OHBuild/CMakeFiles/CMakeError.log”.
I moved this issue here seeing that it is still the issue with extracting revision of the working copy. However, it might be a slightly different issue. How did you create the C:/dev/OHExtension/OH folder folder? What revision control do you use for developing the extension?
If you are not using revision control then you can specify working copy version CMake variables manually when you configure your project, either using the CMake GUI or by adding these arguments when you call cmake.exe: