Hi Oliver,
it looks like the module path is set wrong. Basically, the source directory
is set
as /home/yuriy/ instead of /home/yuriy/arts/
I believe it happened because I use
cmake ..
(as it was suggested at the ARTS website) instead of
cmake /home/yuriy/arts/
(as it was suggested in CMakeLists.txt)
Yuriy
-
From: Oliver Lemke
Sent: Wednesday, September 18, 2019 12:47 AM
To: Goncharenko,Yuriy
Cc: ARTS Users List
Subject: Re: [arts-users] ARTS in Ubuntu 18.04
Hi Yuriy,
Not sure what causes this. Let's first of all check if the module path is set
correctly. Please make the following change to arts/CMakeLists.txt:
Replace line ~90:
set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
With:
message("@@@ CMP: ${CMAKE_MODULE_PATH}")
set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
message("@@@ CMP: ${CMAKE_MODULE_PATH}")
Now run 'cmake .' in your build directory and check in the terminal output
whether the value of CMP is really set to /home/yuriy/arts/cmake/modules
Cheers,
Oliver
> On 17 Sep 2019, at 19:46, Goncharenko,Yuriy
> wrote:
>
> Hello,
>
> I'm trying to install ARTS in Ubuntu 18.04 on Windows VirtualMachine.
>
> I got following errors from cmake (ver 3.10.2):
>
> Make Error at CMakeLists.txt:60 (include):
> include could not find load file:
>
> ArtsTestcases
>
> CMake Error at CMakeLists.txt:144 (include):
> include could not find load file:
>
> FindNetCDF
>
> CMake Error at CMakeLists.txt:171 (include):
> include could not find load file:
>
> ArtsAddCompilerFlag
>
>
> CMake Error at CMakeLists.txt:178 (ARTS_ADD_COMPILER_FLAG):
> Unknown CMake command "ARTS_ADD_COMPILER_FLAG".
>
> all of those files are in: /home/yuriy/arts/cmake/modules
>
> But cmake can not see them. How to fix this problem?
>
> Thank you,
> Yuriy
___
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi