GeometryCollective / boundary-first-flattening

MIT License
768 stars 96 forks source link

Mac Command Line error - Access Denied #86

Open petrasvestartas opened 1 year ago

petrasvestartas commented 1 year ago

Hi,

I have an error when running mac command line executable. I have permission violation error running the executable from terminal.

I also call it from C# language it also has the same error as image below: unnamed

So either standalone or other-way around it does not work.

What could cause such an issue?

Could you please download your files from my repository and check if you can run the BFS on your machine: https://github.com/petrasvestartas/boundary_first_flattening_rhino/tree/main/build/BoundaryFirstFlattenningMAC/MacOS (It is literally the same files as in this repository)

rohan-sawhney commented 1 year ago

It seems like this isn't the new version 1.5 build?

In any case, I was able to run the executables in your repo. I unlocked all the folders using the directions here. I also ran chmod -R 777 MacOS inside the BoundaryFirstFlattenningMAC directory. Then I could run the bff-command-line and bff-viewer executables directly from the command line.

petrasvestartas commented 1 year ago

Thank you. After some trial an error, this workflow only works for me:

special case for MAC:

I also updated with the most recent.

It would be really nice if the command line interface would allow to specify cone locations for example by a user input of multiple xyz coordinates (a wish :) ).