SimpleTests MeshRead not linkable.
When compiling a9e22bc3 on eve without any additional cmake flags
[naumov@frontend2 build]$ cmake ..
-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is GNU 4.7.1
-- Check for working C compiler: /usr/local/gcc/4.7.1/bin/gcc
-- Check for working C compiler: /usr/local/gcc/4.7.1/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/gcc/4.7.1/bin/c++
-- Check for working CXX compiler: /usr/local/gcc/4.7.1/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of void *
-- Check size of void * - done
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include files sys/param.h, sys/mount.h
-- Looking for include files sys/param.h, sys/mount.h - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find cppcheck (missing: CPPCHECK_EXECUTABLE CPPCHECK_POSSIBLEERROR_ARG CPPCHECK_UNUSEDFUNC_ARG CPPCHECK_STYLE_ARG CPPCHECK_INCLUDEPATH_ARG CPPCHECK_QUIET_ARG)
-- Found PythonInterp: /usr/local/python/2.7.1/bin/python (found version "2.7.1")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Could NOT find Metis (missing: METIS_LIBRARY METIS_INCLUDE_DIR)
-- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (Required is at least version "4.7")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- A library with BLAS API found.
-- A library with BLAS API found.
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- Could NOT find QVTK (missing: QVTK_LIBRARY QVTK_INCLUDE_DIR)
-- VTKs NetCDF found.
-- Found libtiff
-- Found libgeotiff
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /data/ogs/ogs6ff/build
following linking error occure
[naumov@frontend2 build]$ make
-- Set GCC release flags
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find cppcheck (missing: CPPCHECK_EXECUTABLE CPPCHECK_POSSIBLEERROR_ARG CPPCHECK_UNUSEDFUNC_ARG CPPCHECK_STYLE_ARG CPPCHECK_INCLUDEPATH_ARG CPPCHECK_QUIET_ARG)
-- Could NOT find Metis (missing: METIS_LIBRARY METIS_INCLUDE_DIR)
-- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (Required is at least version "4.7")
-- A library with BLAS API found.
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find QVTK (missing: QVTK_LIBRARY QVTK_INCLUDE_DIR)
-- VTKs NetCDF found.
-- Configuring done
-- Generating done
-- Build files have been written to: /data/ogs/ogs6ff/build
[ 5%] Built target BaseLib
[ 17%] Built target logog
[ 18%] Built target test-logog
[ 31%] Built target zlib
[ 32%] Built target zlib-example
[ 42%] Built target MathLib
[ 56%] Built target GeoLib
[ 63%] Built target FemLib
[ 75%] Built target MeshLib
[ 88%] Built target FileIO
[ 89%] Built target OgsLib
[ 90%] Built target GTest
[ 92%] Built target testrunner
[ 92%] Built target MatMult
[ 93%] Built target MatTestRemoveRowsCols
[ 94%] Built target MatVecMultPthreads
[ 95%] Built target CollapseMeshNodes
Linking CXX executable ../../bin/MeshRead
CMakeFiles/MeshRead.dir/MeshRead.cpp.o: In function `main':
MeshRead.cpp:(.text.startup+0x5d3): undefined reference to `FileIO::VTKInterface::readVTUFile(std::string const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/MeshRead] Error 1
make[1]: *** [SimpleTests/MeshTests/CMakeFiles/MeshRead.dir/all] Error 2
make: *** [all] Error 2
Tom, is this related to the issues here 27eb90b0 ?