Giter Club home page Giter Club logo

mxpfit's People

Contributors

hydeik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

derxu

mxpfit's Issues

Project alive?

Hey, just wondering if this project is actively maintained?

Trouble building

Hello,

I'm using Ubuntu 16.04, with Eigen 3.3.7, Boost 1.54, FFTW3 version 3.3.4, and cmake version 3.9.1, and gcc 5.4.0

When trying to build the example programs (didn't try the tests yet), cmake is able to find Eigen, FFTW, and boost, but then it throws the following errors

CMake Error at examples/CMakeLists.txt:16 (add_executable):
  Target "approx_power" links to target "Eigen3::Eigen" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at examples/CMakeLists.txt:8 (add_executable):
  Target "esprit_gaussian" links to target "Eigen3::Eigen" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at examples/CMakeLists.txt:2 (add_executable):
  Target "example_esprit_compare" links to target "Eigen3::Eigen" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?


CMake Error at examples/CMakeLists.txt:12 (add_executable):
  Target "example_balanced_truncation" links to target "Eigen3::Eigen" but
  the target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?


CMake Error at examples/CMakeLists.txt:19 (add_executable):
  Target "approx_sph_bessel" links to target "Eigen3::Eigen" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at examples/CMakeLists.txt:5 (add_executable):
  Target "example_fast_esprit" links to target "Eigen3::Eigen" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
-- Build files have been written to: /home/matt/labcode/software/mxpfit/build

The following call of make expectedly fails, witth the error

In file included from /home/matt/labcode/software/mxpfit/include/mxpfit/approx_power.hpp:39:0,
                 from /home/matt/labcode/software/mxpfit/examples/approx_power.cpp:6:
/home/matt/labcode/software/mxpfit/include/mxpfit/exponential_sum.hpp:34:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
examples/CMakeFiles/approx_power.dir/build.make:62: recipe for target 'examples/CMakeFiles/approx_power.dir/approx_power.cpp.o' failed
make[2]: *** [examples/CMakeFiles/approx_power.dir/approx_power.cpp.o] Error 1
CMakeFiles/Makefile2:95: recipe for target 'examples/CMakeFiles/approx_power.dir/all' failed
make[1]: *** [examples/CMakeFiles/approx_power.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

It appears that the CMakeList.txt files which are not in the /mxpfit/ base directory are not able to find Eigen, even though the CMakeLists.txt in /mxpfit/ successfully finds it.

This exact problem has happened on 2 different machines, with 2 different computing environments. Do you have any idea what it going wrong and how I can fix it?

Issue Building...

Hi,

trying to build on ubuntu 18.04 with boost, fftw3 and eigen3 installed. make only tests, results in message

/home/somename/Documents/github/mxpfit/test/fftw3/shared_plan.cpp:2:10: fatal error: catch/catch.hpp: No such file or directory
 #include <catch/catch.hpp>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
test/fftw3/CMakeFiles/test_fftw3_shared_plan.dir/build.make:62: recipe for target 'test/fftw3/CMakeFiles/test_fftw3_shared_plan.dir/shared_plan.cpp.o' failed
make[2]: *** [test/fftw3/CMakeFiles/test_fftw3_shared_plan.dir/shared_plan.cpp.o] Error 1
CMakeFiles/Makefile2:106: recipe for target 'test/fftw3/CMakeFiles/test_fftw3_shared_plan.dir/all' failed
make[1]: *** [test/fftw3/CMakeFiles/test_fftw3_shared_plan.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

I used cmake version 3.10.2 and gcc version 7.3.0 on Ubuntu 18.04.

sudo apt-get install libfftw3-3 installs version 3.3.7-1

sudo apt install libeigen3-dev installs version 3.3.4-4

More issues appear, when building examples...

Can anyone help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.