...
No Format |
---|
Installation errors out...Not complete module load cmake/3.5.0 module load octave/3.8.0 module load boost/1.60.0 module load opencv/3.1.0 module load library/hdf5/1.8.7 #module load cuda/7.5.18 module load caffe/gflags/gflags module load caffe/glog/0.3.3 module load caffe/leveldb/leveldb module load caffe/lmdb/lmdb module load caffe/protobuf/protobuf module load caffe/snappy/snappy module load python/2.7.1-shared module load library/atlas/3.10.2 module load matlab/2015b cd /sw/caffe unzip caffe-master.zip cd /sw/caffe/caffe-master mkdir build |
Compilation issues on RHEL 6.5
OpenCV issues
No Format |
---|
The following needed to be done with openCV to make it compile on RGEL/Centos 6.5 - Try to find OpenCV (using pkg-config) cd /sw/caffe/caffe-master/cmake/Modules vi FindOpenCV.cmake <<<<<< # # If OpenCV was installed in a non-defaul location, set OpenCV_DIR # # Once done, this will define # # OpenCV_FOUND - system has OpenCV # OpenCV_INCLUDE_DIRS - the OpenCV include directories # OpenCV_LIBRARIES - link these to use OpenCV # OpenCV_LIBRARY_DIRS - the OpenCV library directories # # Created: 10 Jan 2012 by bermaw (bermaw at gmail.com) SET("OpenCV_DIR" "/sw/opencv/opencv-3.1.0") SET(ENV{PKG_CONFIG_PATH} ${OpenCV_DIR}/lib/pkgconfig) FIND_PACKAGE(PkgConfig REQUIRED) pkg_check_modules(OpenCV REQUIRED opencv) #--- OpenCV (with pkgconfig) find_package(PkgConfig REQUIRED) pkg_check_modules(OPENCV REQUIRED opencv) # https://bugs.freedesktop.org/show_bug.cgi?id=82245 # list(APPEND LIBRARIES ${OPENCV_LIBRARIES}) list(APPEND LIBRARIES ${OPENCV_LDFLAGS}) message(STATUS LIBS ${OPENCV_VERSION}) include_directories(${OPENCV_INCLUDE_DIRS}) |
...