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

Mac Command Line error - Access Denied #86

Open
petrasvestartas opened this issue Mar 28, 2023 · 2 comments
Open

Mac Command Line error - Access Denied #86

petrasvestartas opened this issue Mar 28, 2023 · 2 comments

Comments

@petrasvestartas
Copy link

petrasvestartas commented Mar 28, 2023

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

rohan-sawhney commented Mar 29, 2023

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

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

special case for MAC:

  • STEP1: git clone the current repo: https://github.com/petrasvestartas/boundary_first_flattening_rhino.git
  • STEP2: copy paste the contents of the build folder into the grasshopper libraries folder (in this case the mac version)
  • STEP3: open terminal and go to "boundary_first_flatenning" directory: type "cd" and drag and drop folder "boundary_first_flatenning".
  • STEP4: run this command in the terminal: "chmod -R 777 MacOS"
  • Note: It seems that cloning via git is necessary. If you do not have git installed, after typing git clone, mac automatically installs it for you.

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 :) ).

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

No branches or pull requests

2 participants