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

macOS build fails (something about spdlog) #95

Closed
strogonoff opened this issue Jun 3, 2023 · 3 comments
Closed

macOS build fails (something about spdlog) #95

strogonoff opened this issue Jun 3, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@strogonoff
Copy link
Contributor

strogonoff commented Jun 3, 2023

Thanks for this exciting bit of software! Can’t wait to try it.

Bug description

./misc/build/build-macos-12.sh
-- Performing Test NFD_USE_ALLOWEDCONTENTTYPES - Success
-- Found OpenCV: /Users/anileated/Developer/xpano/opencv/install (found version "4.7.0") found components: calib3d core features2d flann imgcodecs imgproc photo stitching 
CMake Error at CMakeLists.txt:87 (find_package):
  By not providing "Findspdlog.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "spdlog", but
  CMake did not find one.

  Could not find a package configuration file provided by "spdlog" with any
  of the following names:

    spdlogConfig.cmake
    spdlog-config.cmake

  Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
  "spdlog_DIR" to a directory containing one of the above files.  If "spdlog"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/Users/anileated/Developer/xpano/build/CMakeFiles/CMakeOutput.log".cmake --version
cmake version 3.24.4

Desktop (please complete the following information):

  • OS: macOS 13.4
  • Version: 41deb4b
  • Method of installation: ./misc/build/build-macos-12.sh
@strogonoff strogonoff added the bug Something isn't working label Jun 3, 2023
@krupkat
Copy link
Owner

krupkat commented Jun 3, 2023

Welcome, hope you're successful with the build.

Do you have brew installed? This is part of the build script:

brew install sdl2 spdlog catch2

Maybe try running this manually and see if there are any errors.

@strogonoff
Copy link
Contributor Author

Ah I see. I use Macports instead of Homebrew…

@MStraeten
Copy link
Contributor

also fine with macports:
for macports:
sudo port install libsdl2 spdlog catch2
if exiv2 is already installed by macports (it's 0.27.6 currently) it needs to be deactivated while building: sudo port deactivate exiv2
can be activated afterwards sudo port activate exiv2

krupkat added a commit that referenced this issue Jun 5, 2023
* docs(README): note Homebrew is required on macOS

#95

* docs(README): fix typo

* Update README.md

* remove brew command from the mac build script

* update macports command

---------

Co-authored-by: Tomáš Krupka <6817216+krupkat@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants