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

From: Hee-Seock Lee <lee_at_postech.ac.kr>
Date: Fri, 31 Jul 2015 18:13:38 +0900

Dear Andrea and colleagues

Because I met the same error, I copied the same name file of previous
version to new geoviewer folder and completed the compilation.
Now it works well. I guessed there was no big difference between latest
version and previous version.
But I am not sure that there is unknown bug.

Best regards,
Hee-Seock


2015-07-31 오후 3:48에 Vasilis Vlachoudis 이(가) 쓴 글:
>
> 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.

-- 
**************************************************************
Hee-Seock Lee, Ph.D.
Head, Associate Chief Scientist           Tel : 82-54-279-1854
Radiation Protection Team                 Fax : 82-54-279-1869
Pohang Accelerator Laboratory             lee_at_postech.ac.kr
POSTECH
80 Jigokro-127-Beongil, Nam-gu, Pohang, Gyeongbuk, 790-834
Korea
**************************************************************
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Jul 31 2015 - 14:55:41 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 31 2015 - 14:55:48 CEST