- From: "Krzysztof S. Nowinski" <k.nowinski@icm.edu.pl>
- To: scirun-users@sci.utah.edu
- Subject: Re: [SCIRUN-USERS] build error
- Date: Sat, 17 Dec 2016 12:01:31 +0100
While building SCIRun 5.0 beta.F on Fedora I have encountered the
following error:
log excerpt follows:
[ 63%] Building CXX object
Core/Application/CMakeFiles/Core_Application.dir/Version.cc.o
/opt/SCIRun-5.0-beta.F/src/Core/Application/Version.cc:31:50: warning:
missing terminating " character
const std::string VersionInfo::GIT_VERSION_TAG = "v5.0-beta.F
^
/opt/SCIRun-5.0-beta.F/src/Core/Application/Version.cc:31:1: error:
missing terminating " character
const std::string VersionInfo::GIT_VERSION_TAG = "v5.0-beta.F
Indeed, the offending source file contains an obvious error - a string
is split over two lines:
#include <Core/Application/Version.h>
const std::string VersionInfo::GIT_VERSION_TAG = "v5.0-beta.F
";
const std::string VersionInfo::GIT_COMMIT_SHA = "GITDIR-NOTFOUND";
The problem is, this file is regenerated at each build.
It is, of course a possibility to continue with invoking "make" by hand,
but I would welcome any suggestion how to circumvent this.
Krzysztof S. Nowinski, University of Warsaw, ICM
Archive powered by MHonArc 2.6.18.