[fluka-discuss]: Re: Compilation problem with FLAIR Geoviewer 2.1-6

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Fri, 31 Jul 2015 06:48:33 +0000

Hi Andrea,

indeed this was a recent change to avoid the warning messages on the new compilers, but apparently it breaks the compatibility with the old ones. Once I am back in the office I will try to find a solution that works with both compilers

V.

On Jul 30, 2015 4:56 PM, acowley_at_jlab.org wrote:
Hello FLUKA-Discuss!

I, and two others, have hit a compilation problem with the latest
geoviewer. The error I get from either RPMBUILD of the src.rpm or MAKE of
the src.tgz is:

>>dxfexport.cc:71: error: expected primary-expression before '.' token

which repeats until line 326. The full log of the errors is attached.

I have all the latest of TKinter, Tk, flair, python-imaging,
python-imaging-tk,gnuplot, numpy, rpmbuild, and the gcc c++ compiler. All
other OS packages have been updated, and I am running RHEL 6.6.

The naive approach of simply removing the offending lines allows
compilation to finish, but I am certain that that is not best solution to
this problem. Geoviewer does appear to work normally, so I assume that
this portion is code for functionality that I do not use.

I would greatly appreciate any suggestions that resolve this without
chopping up the program.


Regards,

Andrea Cowley
acowley_at_jlab.org


Postscript:
There is a warning in the compilation that can be resolved by setting an
additional flag in the makefile:

>>CXXFLAGS += -std=c++0x

this will tell gcc to use C++11 rules during compilation.


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Jul 31 2015 - 10:46:43 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 31 2015 - 10:46:45 CEST