installation: salvus_version.h not found

15 views
Skip to first unread message

marta pieńkowska-côte

unread,
Jun 27, 2017, 7:38:21 PM6/27/17
to Salvus
Hello again:)

I've been installing on yet another machine and I ran into the following problem after running make:

Scanning dependencies of target salvusCore
[  1%] Building CXX object CMakeFiles/salvusCore.dir/src/cxx/Basis/TensorGll/GllPointsAndWeights.cpp.o
[  2%] Building CXX object CMakeFiles/salvusCore.dir/src/cxx/Element/Element.cpp.o
In file included from /home/marta/Numerics/Salvus/salvus_wave/src/cxx/Element/Element.cpp:17:0:
/home/marta/Numerics/Salvus/salvus_wave/include/salvus.h:18:28: fatal error: salvus_version.h: No such file or directory
compilation terminated.
CMakeFiles/salvusCore.dir/build.make:86: recipe for target 'CMakeFiles/salvusCore.dir/src/cxx/Element/Element.cpp.o' failed
make[2]: *** [CMakeFiles/salvusCore.dir/src/cxx/Element/Element.cpp.o] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/salvusCore.dir/all' failed
make[1]: *** [CMakeFiles/salvusCore.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


I don't think I did anything differently than all other times that I installed. Do you have any clues on where the problem might be?

Cheers,
Marta

Christian Boehm

unread,
Jun 28, 2017, 3:13:25 AM6/28/17
to marta pieńkowska-côte, Salvus
Hi Marta, 

Wow, so many different installations! I guess you are applying for becoming salvus user of the month :)

The problem you have seen is a bug on our side where the auto-generation of the version number fails. We will fix that ASAP.

Here is a workaround for now: 
You can enforce creating the header file with the version number by running 

make check_if_version_number_needs_update

and then build salvus as usual with 
make -j


Cheers,
Christian


--
You received this message because you are subscribed to the Google Groups "Salvus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salvus+unsubscribe@googlegroups.com.
To post to this group, send email to sal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salvus/CAErvTV1GZqmUbZY2LiZBn1A0McW4kk637R4JhXEi3defkTCCyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages