Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build QT #422

Open
CugAgo opened this issue Aug 28, 2024 · 1 comment
Open

Windows build QT #422

CugAgo opened this issue Aug 28, 2024 · 1 comment

Comments

@CugAgo
Copy link

CugAgo commented Aug 28, 2024

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
Copy link

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}
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants