SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] build error


Chronological Thread 
  • From: "Daniel White" <dwhite@sci.utah.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] build error
  • Date: Mon, 19 Dec 2016 15:23:21 -0700

That sneaky auto-generated file got a newline in it again--rats. That happens when I run the release script on a certain machine. I will get that fixed right away.

As a workaround that should fix your problem immediately, you can clone the repo and checkout the latest master, which has a few new commits in it so the version file will be regenerated.

My apologies!
Dan

On Sat, 17 Dec 2016 12:01:31 +0100
"Krzysztof S. Nowinski" <k.nowinski@icm.edu.pl> wrote:
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.

Top of page