SCIInstitute / Seg3D

Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
111 stars 47 forks source link

Windows build QT #422

Open CugAgo opened 3 months ago

CugAgo commented 3 months ago

I want to build source code on Windows, obtain project files that can be opened in QT, and edit and modify them in QT. But when I use mingw 64bit for building, there is an error message: CMake Error at D:/cmake/share/cmake-3.30/Modules/ExternalProject/shared_internal_commands.cmake:898 (message): error: could not find svn for checkout of Tetgen_external so what should I do?

mzukovec commented 5 hours ago

Change the Superbuild/TetgenExternal.cmake to use GIT instead of the old SVN repo.

Something like this should work:

set(tetgen_GIT_URL "https://github.com/libigl/tetgen")

ExternalProject_Add(Tetgen_external
  GIT_REPOSITORY "${tetgen_GIT_URL}"
  PATCH_COMMAND ""
  INSTALL_COMMAND ""
  CMAKE_CACHE_ARGS
    -DCMAKE_VERBOSE_MAKEFILE:BOOL=${CMAKE_VERBOSE_MAKEFILE}
    -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
    -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
    -DTETGEN_LIBRARY:STRING=${TETGEN_LIBRARY}
)