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

netgen dependency error #561

Open
sslupsky opened this issue Sep 24, 2024 · 6 comments
Open

netgen dependency error #561

sslupsky opened this issue Sep 24, 2024 · 6 comments

Comments

@sslupsky
Copy link

sslupsky commented Sep 24, 2024

Trying to install the netgen dependency and I am getting an error. I am attempting to set up a development environment in macOS following the instructions here:
https://freecad.github.io/DevelopersHandbook/gettingstarted

and the installation of the dependencies described here:
https://wiki.freecad.org/Compile_on_MacOS

When I attempt the installation of netgen, I see the following error:

==> Fetching freecad/freecad/[email protected]
==> Downloading https://github.com/FreeCAD/homebrew-freecad/releases/download/[email protected]_1/nglib%406.2.2105-6.2.2105_1.big_sur.bottle.tar.gz
curl: (56) The requested URL returned error: 404                                                                                                                                                                                  

Error: [email protected]: Failed to download resource "[email protected]"
Download failed: https://github.com/FreeCAD/homebrew-freecad/releases/download/[email protected]_1/nglib%406.2.2105-6.2.2105_1.big_sur.bottle.tar.gz

I am installing on macOS 14.6.1. Not sure why it is attempting to download a big_sur bottle?

@ipatch
Copy link
Collaborator

ipatch commented Sep 24, 2024

you could try building netgen from source, and not sure why it's trying to install the big sur bottle.

try something like,

brew search netgen
brew install netgen -v

i haven't updated the formula in a while though, and there may be a newer version of netgen available.

@sslupsky
Copy link
Author

sslupsky commented Sep 24, 2024

Not showing when I do a brew search. Netgen only appears in the freecad tap. Found it in the NGSolve repo.

@sslupsky
Copy link
Author

I found a cmake switch to turn off the Netgen build for the time being and was able to compile it.

@luzpaz
Copy link
Contributor

luzpaz commented Oct 17, 2024

Is there progress here ? What's the workflow ?

@ipatch
Copy link
Collaborator

ipatch commented Oct 17, 2024

Is there progress here ? What's the workflow ?

could you please elaborate on your question? ie. are you attempting to install freecad using brew install ?

@sslupsky
Copy link
Author

I was attempting to compile freecad because of another issue I had and encountered where drawing a bspline in sketcher caused FreeCAD to crash.

FreeCAD/FreeCAD#16729

The compile issue was resolved using the cmake switch. The result was that I could draw a bspline without crashing FreeCAD. I found a work around of sorts by drawing a line or arc and then converting the arc to a bspline. I could then edit and manipulate the bspline without crashing FreeCAD.

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

3 participants