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

Scons error help please #7

Open
hzq2311 opened this issue Nov 23, 2022 · 2 comments
Open

Scons error help please #7

hzq2311 opened this issue Nov 23, 2022 · 2 comments

Comments

@hzq2311
Copy link

hzq2311 commented Nov 23, 2022

Hi, when i try to scons this package, the screen shows:

scons: Reading SConscript files ...
running with -j 2
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/hardisp.o -c -std=c++17 -Wall -Wextra -Werror -pedantic -W -Wshadow -Winline -O2 -march=native --std=c++17 -Isrc src/hardisp.cpp
In file included from src/hardisp.cpp:3:0:
src/iers2010.hpp:6:10: fatal error: matvec/matvec.hpp: No such file or directory
#include "matvec/matvec.hpp"
^~~~~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [src/hardisp.o] Error 1
g++ -o src/blqstrm.os -c -std=c++17 -Wall -Wextra -Werror -pedantic -W -Wshadow -Winline -O2 -march=native --std=c++17 -fPIC -Isrc src/blqstrm.cpp
scons: building terminated because of errors.

Please let me know if i miss something.

@xanthospap
Copy link
Owner

Hi there,

you are right, the compilation fails indeed. I have been heavily adding source code these last couple of months, so the documentation is a bit outdated. So, the actual dependencies for the project, are:

  • ggdatetime; just clone and type sudo scons install
  • Eigen; header only library, available in the repositories for some Linux flavors. Else, just download and build, using the Method 2. Installing using CMake, as explained in INSTALL
  • ggeodesy; again just clone and sudo scons install
  • matvec; clone and sudo scons install

You can also take a look at .travis.yml which imitates installation on an Ubuntu 18.04.6 LTS

The matvec handles matrices and basic linear algebra, but i am working towards fully replacing it with with Eigen

Also, i am going to add the IERS 2010 Earth Tide models for geopotential corrections in a couple of days.

Do let me know if you have any problems installing or using the library. I am interested in people using the repository.

@hzq2311
Copy link
Author

hzq2311 commented Nov 24, 2022

Hi, many thanks for your reply! I will try later.

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

2 participants