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

CMake error: source directory does not appear to contain CMakeLists.txt #2

Open
arne-cl opened this issue Jun 19, 2019 · 0 comments
Open

Comments

@arne-cl
Copy link

arne-cl commented Jun 19, 2019

Dear @yunan4nlp,

when I try to build the software according to the README, I get this error:

/opt/NNDisParser/build # cmake .. -DEIGEN3_DIR=${path}eigen -DN3L_DIR=${path}N3LDG -DMKL=TRUE
CMake Error: The source directory "/opt/NNDisParser" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

If I copy CMakeLists.txt from /opt/NNDisParser/eigen to /opt/NNDisParser/,
the error becomes:

CMake Error at CMakeLists.txt:35 (file):
  file failed to open for reading (No such file or directory):

    /opt/NNDisParser/Eigen/src/Core/util/Macros.h


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

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

    StandardMathLibraryConfig.cmake
    standardmathlibrary-config.cmake

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


CMake Error at CMakeLists.txt:81 (message):
  Can't link to the standard math library.  Please report to the Eigen
  developers, telling them about your platform.


-- Configuring incomplete, errors occurred!
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

1 participant