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

[Bug] Build fails on MacOS Monterey m1 #538

Closed
AstroOrbis opened this issue Dec 6, 2021 · 1 comment
Closed

[Bug] Build fails on MacOS Monterey m1 #538

AstroOrbis opened this issue Dec 6, 2021 · 1 comment
Assignees
Labels

Comments

@AstroOrbis
Copy link

After installing all of the brew packages successfully, I run these commands:

git clone https://github.com/Drewol/unnamed-sdvx-clone SDVX
cd SDVX
git submodule update --init --recursive
./mac-cmake.sh
make

During the make command, I get this error at 69% (nice)

[ 69%] Building CXX object Shared/CMakeFiles/Shared.dir/src/StringEncodingConverter.cpp.o
/Users/MyUser/Desktop/SDVX/Shared/src/StringEncodingConverter.cpp:9:10: fatal error: 'archive_entry.h' file not found
#include "archive_entry.h"
         ^~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [Shared/CMakeFiles/Shared.dir/src/StringEncodingConverter.cpp.o] Error 1
make[1]: *** [Shared/CMakeFiles/Shared.dir/all] Error 2
make: *** [all] Error 2
@AstroOrbis
Copy link
Author

Issue fixed, created symlinks with these commands descibed in #471:

sudo ln -s /opt/homebrew/include /usr/local/include
sudo ln -s /opt/homebrew/opt /usr/local/opt

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