Hi, On Thursday, August 11, 2016 06:39:43 AM Jørgen Kvalsvik wrote: > You need to 'cd' into the build directory: > > mkdir build > > cd build > > cmake ../devel
the repository layout of ERT is quite weird in my opinion (in the sense that it is non-standard), and when I first tried to compile it, I also fell on my nose because of it. Question: are there objections to switch to the standard directory structure? (basically this means moving everything in the 'devel' directory to the top level of the repository.) I volunteer to do the patch. cheers Andreas > ________________________________ > From: Opm <opm-boun...@opm-project.org> on behalf of XiaoYun Wang > <wang.x...@gmail.com> Sent: Thursday, August 11, 2016 7:36:50 AM > To: opm@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@shltd-s1 build]# pwd > /software/OPM/ert-master/build > [root@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@shltd-s1 build]# > > Would you please help me, many thanks. -- Measuring programming progress by lines of code is like measuring aircraft building progress by weight. -- Bill Gates
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Opm mailing list Opm@opm-project.org http://opm-project.org/cgi-bin/mailman/listinfo/opm