seyakuroya
DevlandOT.eu
- Joined
- Dec 21, 2008
- Messages
- 711
- Solutions
- 1
- Reaction score
- 411
Hey there I using MacBook Air and trying compile Rme from GitHub.
1)
And I have error:
Also I have libarchive
brew info libarchive
Thanks!
1)
2)brew install git cmake wxmac boost libarchive
3)
cd rme
mkdir build
cd build
cmake ..
make -j4
And I have error:
CMake Error at /opt/homebrew/Cellar/cmake/3.22.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LibArchive (missing: LibArchive_INCLUDE_DIR)
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.22.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/opt/homebrew/Cellar/cmake/3.22.1/share/cmake/Modules/FindLibArchive.cmake:64 (find_package_handle_standard_args)
CMakeLists.txt:20 (find_package)
Also I have libarchive
brew info libarchive
C++:
libarchive: stable 3.5.2 (bottled) [keg-only]
Multi-format archive and compression library
https://www.libarchive.org
/opt/homebrew/Cellar/libarchive/3.5.2 (62 files, 3.7MB)
Poured from bottle on 2022-01-16 at 13:09:25
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libarchive.rb
License: BSD-2-Clause
==> Dependencies
Required: libb2 ✔, lz4 ✔, xz ✔, zstd ✔
==> Caveats
libarchive is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have libarchive first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/libarchive/bin:$PATH"' >> ~/.zshrc
For compilers to find libarchive you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libarchive/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libarchive/include"
Thanks!