TwoPhaseFlowEngine.cpp : compilation error
I am using an OPENSUSE OS leap 42.3 and I have able to compile all git veriosn upt o May 15 but the last one generates error during the TwoPhaseFlowEng
I guess that some variable declaration are not made by default?
when I start from scratch : new trunk and build folder, this is the result:
cmake -Wno-error=
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Found OpenMP: -fopenmp
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.6")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Version is set to 2018-05-
-- Found OpenGL: /usr/lib64/libGL.so
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GL2PS: /usr/lib64/
-- Found CGAL: /usr/include, /usr/lib64/
-- Found NumPy: version "1.8.0" /usr/lib64/
-- Found Loki: /usr/include
-- GCC Version >= 4.8. Adding -ftrack-
-- GCC Version >= 4.8. Adding -save-temps
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.61.0
-- Found the following Boost libraries:
-- python
-- thread
-- filesystem
-- iostreams
-- regex
-- serialization
-- system
-- date_time
-- chrono
-- atomic
-- Boost_VERSION: 106100
-- Boost_LIB_VERSION: 1_61
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib64/
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found BZip2: /usr/lib64/
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Found PythonLibs: /usr/lib64/
-- Found Eigen3, version: 3.2.9
-- Disable vectorization
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Found GTS
-- Found GLUT: /usr/lib64/
-- USE QT4
-- Found QGLVIEWER-qt4: /usr/include/
-- Found Qt4: /usr/bin/qmake (found version "4.8.6")
-- Found GUI-LIBS
-- GMP libs: /usr/lib64/
-- Found GMP: /usr/include
-- GMP libs: /usr/lib64/
-- Found CGAL
-- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY)
-- Found OpenBlas: /usr/lib64/
-- Found Metis: /usr/include
-- Missing dependency for LINSOLV, disabled
-- Found GL2PS
LBMFLOW is still experimental, building and running LBM engine are at your own risk!
Yade will be installed to /usr/local
-- Suffix is set to -2018-05-
-- LIBRARY_OUTPUT_PATH is set to lib64
-- runtimePREFIX is set to /usr/local
-- Could NOT find gts (missing: PY_gts)
-- Use embedded version of gts. Please, consider installing the corresponding package
-- Found minieigen: /usr/lib64/
-- Found Tkinter: /usr/lib64/
-- VTK version >5 is found
-- =======
-- Yade configured with following features: Odeint VTK OpenMP GTS GUI CGAL PFVFLOW TWOPHASEFLOW GL2PS LBMFLOW
-- Disabled features: LINSOLV SPH DEFORM LIQMIGRATION MASK_ARBITRARY PROFILING PotentialParticles PotentialBlocks
-- Optimized build
-- =======
-- Configuring done
%%%%%%%
-- Generating done[ 78%] Building CXX object CMakeFiles/
/usr/bin/c++ -DBOOST_
In file included from /home/oger/
/home/oger/
/home/oger/
PhaseCluster (Tesselation& t) : PhaseCluster() {tes=&t; LC=NULL; ex=NULL; if (not tes) LOG_WARN("invalid initialization");}
/home/oger/
PhaseCluster (Tesselation& t) : PhaseCluster() {tes=&t; LC=NULL; ex=NULL; if (not tes) LOG_WARN("invalid initialization");}
In file included from /home/oger/
/home/oger/
/home/oger/
void reset() {label=
/home/oger/
/home/oger/
this-
^
/home/oger/
/home/oger/
YADE_
/home/oger/
YADE_
In file included from /home/oger/
/home/oger/
YADE_
/home/oger/
YADE_
/home/oger/
YADE_
/home/oger/
YADE_
/home/oger/
/home/oger/
YADE_
/home/oger/
/home/oger/
void PhaseCluster:
/home/oger/
/home/oger/
cluster-
^
CMakeFiles/
make[2]: *** [CMakeFiles/
make[2]: Leaving directory '/home/
CMakeFiles/
make[1]: *** [CMakeFiles/
make[1]: Leaving directory '/home/
Makefile:130: recipe for target 'all' failed
make: *** [all] Error 2
-- Build files have been written to: /home/oger/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Luc OGER
- Solved:
- Last query:
- Last reply: