error during install

39 views
Skip to first unread message

moh713...@gmail.com

unread,
Jan 5, 2021, 2:28:04 PM1/5/21
to FORCE
trying to install FORCE last version on ubuntu 18.04,when reach the step "
make -j
an error message generated as follows :
rc/cross-level/lock-cl.c:31:10: fatal error: cpl_multiproc.h: No such file or directory
 #include "cpl_multiproc.h" // CPL Multi-Threading
          ^~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:125: recipe for target 'lock_cl' failed
make: *** [lock_cl] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/lower-level/read-ll.c:28:0:
src/lower-level/read-ll.h:34:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"       // various convenience functions for CPL
          ^~~~~~~~~~~~
compilation terminated.
Makefile:185: recipe for target 'read_ll' failed
make: *** [read_ll] Error 1
src/cross-level/warp-cl.cpp:31:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"       // various convenience functions for CPL
          ^~~~~~~~~~~~
compilation terminated.
Makefile:155: recipe for target 'warp_cl' failed
make: *** [warp_cl] Error 1
src/cross-level/brick-cl.c:31:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"       // various convenience functions for CPL
          ^~~~~~~~~~~~
compilation terminated.
Makefile:110: recipe for target 'brick_cl' failed
make: *** [brick_cl] Error 1
src/lower-level/meta-ll.c:31:10: fatal error: gdal.h: No such file or directory
 #include "gdal.h"           // public (C callable) GDAL entry points
          ^~~~~~~~
compilation terminated.
Makefile:176: recipe for target 'meta_ll' failed
make: *** [meta_ll] Error 1
src/higher-level/read-ard-hl.c:31:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"       // various convenience functions for CPL
          ^~~~~~~~~~~~
src/lower-level/aod-ll.c:34:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"       // various convenience functions for CPL
          ^~~~~~~~~~~~
compilation terminated.
compilation terminated.
Makefile:251: recipe for target 'read-ard_hl' failed
make: *** [read-ard_hl] Error 1
Makefile:218: recipe for target 'aod_ll' failed
make: *** [aod_ll] Error 1
src/lower-level/modwvp-ll.c:31:10: fatal error: cpl_string.h: No such file or directory
 #include "cpl_string.h"     // various convenience functions for strings
          ^~~~~~~~~~~~~~
compilation terminated.
Makefile:233: recipe for target 'modwvp_ll' failed
make: *** [modwvp_ll] Error 1
src/lower-level/atmo-ll.c:31:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"       // various convenience functions for CPL
          ^~~~~~~~~~~~
compilation terminated.
Makefile:215: recipe for target 'atmo_ll' failed
make: *** [atmo_ll] Error 1
In file included from /usr/include/python3.6m/numpy/ndarraytypes.h:1809:0,
                 from /usr/include/python3.6m/numpy/ndarrayobject.h:18,
                 from src/higher-level/py-plugin-hl.c:33:
/usr/include/python3.6m/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
src/higher-level/py-plugin-hl.c: In function ‘register_python’:
src/higher-level/py-plugin-hl.c:52:3: warning: ‘return’ with a value, in function returning void
   import_array();
   ^~~~~~~~~~~~
src/higher-level/py-plugin-hl.c:47:6: note: declared here
 void register_python(par_hl_t *phl){
      ^~~~~~~~~~~~~~~
src/higher-level/tasks-hl.c:31:10: fatal error: cpl_conv.h: No such file or directory
 #include "cpl_conv.h"      // various convenience functions for CPL
          ^~~~~~~~~~~~
compilation terminated.
Makefile:245: recipe for target 'tasks_hl' failed
make: *** [tasks_hl] Error 1

any help please?

david frantz

unread,
Jan 7, 2021, 2:34:43 AM1/7/21
to FORCE
Hi Mohammed,

the compiler doesn't find GDAL. Is this installed?

Best,
David

moh713...@gmail.com

unread,
Jan 8, 2021, 2:58:07 AM1/8/21
to FORCE
Yes, David, this has been solved by installing GDAL .
thank you.

Reply all
Reply to author
Forward
0 new messages