[Opm] ERT cmake problem

Jørgen Kvalsvik JOKVA at statoil.com
Thu Aug 11 06:39:43 UTC 2016


You need to 'cd' into the build directory:


mkdir build

cd build

cmake ../devel

________________________________
From: Opm <opm-bounces at opm-project.org> on behalf of XiaoYun Wang <wang.xyun at gmail.com>
Sent: Thursday, August 11, 2016 7:36:50 AM
To: opm at opm-project.org
Subject: [Opm] ERT cmake problem

Hi

I try to install ERT.ecl in my PC, redhat 6.4 with cmake 3.6.1

After I download ert-master,

mkdir build
cmake ../devel

there something wrong with
[root at shltd-s1 build]# pwd
/software/OPM/ert-master/build
[root at shltd-s1 build]# cmake ../devel
CMake Error at src/CMakeLists.txt:195 (set_target_properties):
  set_target_properties called with incorrect number of arguments.


fatal: Not a git repository (or any of the parent directories): .git
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/software/OPM/ert-master/devel/CMakeFiles/CMakeOutput.log".
[root at shltd-s1 build]#

Would you please help me, many thanks.


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <//opm-project.org/pipermail/opm/attachments/20160811/d57b2aaa/attachment.html>


More information about the Opm mailing list