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

make --install . fails on MacOS 13.1 #214

Open
codazoda opened this issue Feb 20, 2023 · 1 comment
Open

make --install . fails on MacOS 13.1 #214

codazoda opened this issue Feb 20, 2023 · 1 comment
Labels
Milestone

Comments

@codazoda
Copy link

codazoda commented Feb 20, 2023

Hi,

I'm trying to compile on MacOS 13.1. I thought I saw a note somewhere that said you might need help building on MacOS, but I can't find that note anymore.

Anyway, the first problem is the following error.

CMake Error at cmake_install.cmake:49 (file): file cannot create directory: /usr/include. Maybe need administrative privileges

You get the same error if you use sudo or not.

This is probably caused by the fact that /usr/include is no longer accessible on MacOS and you need to use /usr/local/include. I tried to update cmake_install.cmake to update that path and then I get another error related to /usr/lib which is similar (should be /usr/local/lib).

I thought I'd throw an issue in here in case you might be interested in working through this on MacOS. If not, I'm happy to fire up a linux docker container and install it there instead.

My Background: I'm interested in building a web based embroidery organization tool to solve a problem that my Mom has and which I presume isn't unique to her. The first thing I need, in order to build that, is to learn how to extract or generate preview images for her various file formats. I thought I might be able to use the embroider cli for that. I'm primarily a web developer with around 25 years of professional dev experience but I don't do a lot of C, CPP, or Make.

I have a relatively popular blog post on how to install Husqvarnia 3D Embroidery software on modern versions of Windows. That I also learned and documented while I was helping my Mom with one of her machines.

@robin-swift
Copy link
Member

Hi @codazoda

This is probably caused by the fact that /usr/include is no longer accessible on MacOS and you need to use /usr/local/include. I tried to update cmake_install.cmake to update that path and then I get another error related to /usr/lib which is similar (should be /usr/local/lib).

Thanks for that fix: I've made those changes.

The first thing I need, in order to build that, is to learn how to extract or generate preview images for her various file formats.

This is feasible, but you'd need to stick with me and file more issues like this one. Does it need to be a real render or a simple line drawing?

Currently HUS is a weaker format for read/write for us (due to a non-standard compression algorithm), you may need to test this against DST or CSV first.

Cheers

Robin

@robin-swift robin-swift added this to the Version 1 milestone Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants