Closed yuanjiajy closed 9 months ago
Looks like all fails related to the installation of opencascade. One small question, can we replace Simbody's geometry with related staff in opencascade?
Looks like all fails related to the installation of opencascade. One small question, can we replace Simbody's geometry with related staff in opencascade?
Yes perhaps cause the capitalisation of OCCT and I have changed it. From my point of view, it could be changed since the latter one has more geometry functions
Looks like all fails related to the installation of opencascade. One small question, can we replace Simbody's geometry with related staff in opencascade?
Yes perhaps cause the capitalisation of OCCT and I have changed it. From my point of view, it could be changed since the latter one has more geometry functions
One small suggestion, use opencascade as a optional dependency, if possible.
opencascade is only supported on '!(uwp | osx | arm)', which does not match x64-osx. This usually means that there are known build failures, or runtime problems, when building other platforms. To ignore this and attempt to build opencascade anyway, rerun vcpkg with --allow-unsupported
.
you may add --allow-unsupported
to vcpkg for MAC CI to have a check.
opencascade is only supported on '!(uwp | osx | arm)', which does not match x64-osx. This usually means that there are known build failures, or runtime problems, when building other platforms. To ignore this and attempt to build opencascade anyway, rerun vcpkg with
--allow-unsupported
. you may add--allow-unsupported
to vcpkg for MAC CI to have a check.
OK I will do it later
In addition to the inability to install OCCT in Mac, there are still problems when installing OCCT under windows.
In addition to the inability to install OCCT in Mac, there are still problems when installing OCCT under windows.
Seems they already fixed this error. https://github.com/microsoft/vcpkg/issues/27896
I have tried with Mac OS 13.4.1, and its seems that oencascade installation works fine with "vcpkg install --clean-after-build --allow-unsupported ", while the installation took a very very long time.
Therefore, for MAC CI, you can try the following modification
first try:
${{github.workspace}}/vcpkg/vcpkg install --clean-after-build --allow-unsupported
if not work, try runs-on: macos-13
I have tried with Mac OS 13.4.1, and its seems that oencascade installation works fine with "vcpkg install --clean-after-build --allow-unsupported ", while the installation took a very very long time.
Therefore, for MAC CI, you can try the following modification
first try:
${{github.workspace}}/vcpkg/vcpkg install --clean-after-build --allow-unsupported
if not work, try runs-on: macos-13
OK I will have try it
Interesting, Windows now take more time than Linux and Mac, in the previous version, it takes more time than the others.
Interesting, Windows now take more time than Linux and Mac, in the previous version, it takes more time than the others.
Yes, I have blocked the OCCT installation and stoopped my case running in Windows because github doesn't have supplement memory to support windows OCCT installations.
@yuanjiajy You can change the draft pull request to formal one already.
@yuanjiajy You can change the draft pull request to formal one already
@yuanjiajy You can change the draft pull request to formal one already.
ok I have changed it
Is this PR a duplicate of #290 ?
Is this PR a duplicate of #290 ? no it's actually different from #290
@yuanjiajy you need resolve the conversations first, then I can merge it.
@yuanjiajy you need resolve the conversations first, then I can merge it.
I've tried the methods in the conversation
@Xiangyu-Hu OpenCASCADE can be added (or used without lengthy full build) with 3 main possibilities:
FetchContent
(see example below)# Options for libigl modules
option(LIBIGL_COPYLEFT_CGAL "Use CGAL" ON) # Enable desired dependency/component
option(LIBIGL_COPYLEFT_TETGEN "Use TetGen" OFF) # Disable undesired dependency/component
option(LIBIGL_USE_STATIC_LIBRARY "Use libigl as static library" OFF) # Disable undesired features/components
include(FetchContent)
FetchContent_Declare(
libigl
URL https://github.com/libigl/libigl/archive/refs/tags/v2.4.0.zip
URL_HASH MD5=0b4fea5dba2117b8db85c99a39a71f83
)
FetchContent_MakeAvailable(libigl)
target_link_libraries(main PRIVATE igl::core)
@yuanjiajy @FabienPean-Virtonomy Have all issues settled? So that I can merge the pull request.
@yuanjiajy @FabienPean-Virtonomy Have all issues settled? So that I can merge the pull request.
For me, it's ok now
See #381 which is based on this work, and is an alternative way to organize the code and handle the integration of OpenCASCADE.
New Aortic-valve.cpp