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 <yuriy.gonchare...@colostate.edu> 
> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
arts_users.mi mailing list
arts_users.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi

Reply via email to