Closed ethereal14 closed 2 years ago
svninfo.cpp is trivial source code that just defines a character string. I use it in development code to keep track of version number in use. In GitHub version, it just defines that last time code was updated on GitHub.
const char *svninfo = "URL: https://github.com/nairnj/nairn-mpm-fea, Date: 2020-12-30";
I just did make command myself and no issues caused by svninfo.*
I have not used gcc 7, but should not be a problem.
svninfo.cpp is trivial source code that just defines a character string. I use it in development code to keep track of version number in use. In GitHub version, it just defines that last time code was updated on GitHub.
- Make sure you have svninfo.cpp in Common/System (get it if needed). Its entire contents are
include "stdafx.h" const char *svninfo = "URL: https://github.com/nairnj/nairn-mpm-fea, Date: 2020-12-30";
- Make sure you did not corrupt the makefile in NairnMPM/build (Get fresh copy if needed)
- Try make clean and then recompile (in case old version of code was there)
I just did make command myself and no issues caused by svninfo.*
I have not used gcc 7, but should not be a problem.
Thank you for your reply. I'm going to make clean
then make
,and it success #:+1:
There was an error when I compiled NairnMPM:
svninfo.o: file not recognized
Here are my compile environment and system version:
Linux version 4.15.0-20-generic (buildd@lgw01-amd64-039) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018
I modified header file path and g++ path in
Makefile
: