-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Add OpenCASCADE #4968
Comments
v7.0 build ok example static
dependencies FreeImage.all or other DLL dependencies and the executable TCL build
|
we are making a distinction between OCC and OCCT, correct ? |
When I originally opened the issue, I was not aware of the difference. I personally think it make sense to have two separate ports for each of them. If they are side-by-side installable, this is trivial, while if they conflict I think we can handle the conflict as done for the |
I agree |
USE_VTK should be on to support the popular visualization module of OpenCASCADE, however VTK would need tk, which is currently bypassed in that build. I requested a new port for tk here #7648, which is needed to get VTK ready to support this port. |
Is there any update regarding the integration of OpenCASCADE into vcpkg? |
@christianlandgraf OpenCASCADE requires tcl, tk, and freetype2 and optionally requires DirectX, FFMPEG, freeimage, GLES2, rapidJSON, TBB, and VTK (with tk). I added x86 and x64 windows support for tcl here #8026 . Which was a big blocker for tk. VCPKG has ports for freetype, FFMPEG, freeimage, TBB. I am not sure any action is required for USE_D3D or USE_GLES2 . This leaves the remaining blockers as a tk port and updating the VTK port to use the tk port (for USE_VTK) |
this issue was opend almost one year ago, I can compile it by myself, but I still hope to have an easy pkg manager system to manage it at first, its shorten name was OCC, several years before, there were many bugs in official version, so the community developed another branch to fix the bugs, the community version is called "opencascade community edition" which is shorten to OCE, from then on the official version shorten name became OCCT which means opencascade technology official version is good, and it bumps to new and new, now the newest version is 7.4.0 the community version is also good, but it seems not good not, because the formal release of community version was released 3 years ago, that version is based on official version 6.9.0 so personally I prefer official version |
@silentmissile Thanks for notice. |
Official version is indeed 7.4.0 (October 2019). They do not have a public repo but regularly publish releases here: https://www.opencascade.com/content/latest-release However, downloading the source code from the link: https://www.opencascade.com/sites/default/files/private/occt/OCC_7.4.0_release/opencascade-7.4.0.tgz Requires you to log in with your account! What can we do? Copy the .tgz to a mirror somewhere? Make a github repo with a copy of the code? (not even sure Vcpkg supports .tgz archives). I've compiled OCCT many times, I can try to add it here if I have the time... and if I solve the above issue. EDIT I just found out they do have a public repo: https://git.dev.opencascade.org/gitweb/?p=occt.git;a=summary You can clone it or download a snapshot for a tag. E.g (7.4.0patch1): https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_4_0p1;sf=tgz |
They now have an official mirror : https://github.com/Open-Cascade-SAS/OCCT |
Hi guys, does anyone want to open a PR to add this port? |
I'm curious : would it support different configurations ? because I see that it is optionally using VTK, TCL-TK and so on. Some of us might want the strict necessary |
I'm going to be adding a OCCT port as its on our critical path to dumpster msys among other dependencies |
@marekr any news on the PR ? did you solve the TCL-TK port ? |
Well, I put occt in vcpkg on hold for now |
We can also have it with |
Hmm, yes looks like that will work. Let me see what I can knock out quickly |
It would be great to have a port of the Open CASCADE library ( https://dev.opencascade.org/ ).
It is interesting to note that there is both the official code release of Open CASCADE, available at https://dev.opencascade.org/ and a community mantained version at https://github.com/tpaviot/oce .
Debian currently packages both, while Homebrew packages the official one.
Build instructions:
Debian package :
Homebrew formula :
Repology page:
The text was updated successfully, but these errors were encountered: