Re: [fluka-discuss]: Flair and FLUKA

From: Mario Fabretto <info_at_mariofabretto.it>
Date: Wed, 31 Mar 2021 21:55:46 +0200 (CEST)

Hi Mario and all,

After having sucessfully compiled fluka and flair, I tried to compile flair-geoviewer.

Issuing the $ make command I get:

make -C optimizer  
make[1]: Entering directory '/home/mario/Documents/flair/flair-geoviewer-2.3/optimizer'
c++ -c optimizer.cc -m64 -DUNIX -O4 -funroll-loops -g -DNDEBUG -D_DEBUG=0 -DTHREAD -Wall -Wcast-align -Wcast-qual -Wextra -Wformat -Wpointer-ari
th -Wredundant-decls -Wshadow -Wno-write-strings -fwrapv -fstack-protector -fpic -I../utils -I../math -I../graph -I../geometry -I../data -fstric
t-aliasing
In file included from ../data/eventbin.h:43,
                from roi.h:19,
                from optimizer.h:12,
                from optimizer.cc:20:
../data/usrbin.h: In member function ‘double Usrbin::get(double, double, double, bool*) const’:
../data/usrbin.h:221:9: error: pow10’ was not declared in this scope
 221 |     v = pow10(v);
     |         ^~~~~
../data/usrbin.h: In member function ‘double Usrbin::get(int, bool*) const’:
../data/usrbin.h:228:9: error: pow10’ was not declared in this scope
 228 |     v = pow10(v);
     |         ^~~~~
optimizer.cc: In member function ‘void Optimizer::init(std::string, std::string, bool, int, std::string)’:
optimizer.cc:96:8: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  96 |  system(comm.c_str());
     |  ~~~~~~^~~~~~~~~~~~~~
optimizer.cc:99:8: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  99 |  system(comm.c_str());
     |  ~~~~~~^~~~~~~~~~~~~~
optimizer.cc:104:8: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 104 |  system(comm.c_str());
     |  ~~~~~~^~~~~~~~~~~~~~
optimizer.cc: In member function ‘void Optimizer::PrintInitial()’:
optimizer.cc:2876:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
2876 |  if (!isLetOptimization) {
     |  ^~
optimizer.cc:2880:2: note: here
2880 |  default: cout<<"<Dose-difference>"<<endl;//this is case 1;
     |  ^~~~~~~
make[1]: *** [../rules.mk:209: optimizer.o] Error 1
make[1]: Leaving directory '/home/mario/Documents/flair/flair-geoviewer-2.3/optimizer'
make: *** [makefile:286: optimizer/liboptimizer.a] Error 2



have you an idea about the problem?

Thanks,

Mario L. Fabretto

Φi∫i⊂∅ - biomeccanico - esperto in radioprotezione
via E. Fermi, 18
I-34070 Turriaco
cell.: +39 348 287 4022

__________________________________________________________________________ You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?idc_info Received on Thu Apr 01 2021 - 00:54:32 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 01 2021 - 00:54:54 CEST