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

compilation error/ missing file: blaze/math/Matrix.h #37

Open
githubmicha opened this issue Dec 5, 2024 · 4 comments
Open

compilation error/ missing file: blaze/math/Matrix.h #37

githubmicha opened this issue Dec 5, 2024 · 4 comments

Comments

@githubmicha
Copy link

Thank you very much for your work

I am currently trying to install openwebrx. (https://github.com/jketterl/openwebrx/wiki/Manual-Package-installation-(including-digital-voice))

When compiling

‘m17-cxx-demod’

I get

In file included from /home/pi/pycsdr/m17-cxx-demod/include/m17cxx/ClockRecovery.h:5,
                 from /home/pi/pycsdr/m17-cxx-demod/include/m17cxx/M17Demodulator.h:6,
                 from /home/pi/pycsdr/m17-cxx-demod/apps/m17-demod.cpp:3:
/home/pi/pycsdr/m17-cxx-demod/include/m17cxx/KalmanFilter.h:8:10: fatal error: blaze/math/Matrix.h: No such file or directory
    8 | #include <blaze/math/Matrix.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

How can I fix this?

Thanks in advance for your answer.

@mobilinkd
Copy link
Owner

mobilinkd commented Dec 6, 2024 via email

@jketterl
Copy link
Contributor

jketterl commented Feb 5, 2025

I'd recommend updating the cmake files to account for that before the actual compilation starts.

@mobilinkd
Copy link
Owner

mobilinkd commented Feb 7, 2025

Someone already added a bunch of code to the CMakeLists.txt file for that a while back. If that's not working, can you try adding this to the top-level CMakeLists.txt and let me know if it does what you need?

find_package(blaze REQUIRED)

@srs4511351
Copy link

I also have the problem when compiling m17-cxx-demod, fatal error: blaze/math/Matrix.h: No such file or directory

What package is the blaze development package on Debian? I tried the blaze dev packages available on my Bookworm system, but they don't help.
libghc-blaze-builder-dev
libghc-blaze-html-dev
libghc-blaze-markup-dev
libghc-blaze-svg-dev
libghc-blaze-textual-dev

I added find_package(blaze REQUIRED) to the top-level CMakeLists.txt. Here are the new errors:

CMake Error at CMakeLists.txt:24 (find_package):
  By not providing "Findblaze.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "blaze", but
  CMake did not find one.

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

    blazeConfig.cmake
    blaze-config.cmake

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

If I have to build it from source, where can I find it?

Thanks, Steve

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

No branches or pull requests

4 participants