Re: [darktable-dev] Another compilation failure

2020-10-15 Thread Jack Bowling




On 2020-10-15 3:23 p.m., Patrick Shanahan wrote:

* Jack Bowling  [10-15-20 18:16]:

Ubuntu 20.10 beta, gcc 10.2, llvm 10.0.1, clang 10.0.1

Latest git pull gives me:


-- Configuring done
CMake Error at src/external/CMakeLists.txt:5 (add_library):
   Cannot find source file:

/home/jb/darktable_git/darktable/src/external/whereami/src/whereami.c

   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
   .hpp .hxx .in .txx


CMake Error at src/external/CMakeLists.txt:5 (add_library):
   No SOURCES given to target: whereami


CMake Generate step failed.  Build files cannot be regenerated correctly.



Same after a rebase. First time I have seen this error.

I do not know how you get submodules on windows but there is a new
submodule that is needed:
   git submodule init ; git submodule update ; git pull --rebase 
--recurse-submodules
   Fetching submodule src/external/OpenCL
   Fetching submodule src/external/libxcf
   Fetching submodule src/external/rawspeed
   Fetching submodule src/external/whereami

you at least are missing "whereami".


Thanks, Patrick. That fixed it up.  I am on Ubuntu 20.10 (first line of 
original post). I was under the mistaken impression that 
--recurse-submodules grabbed any new submodule in the tree. But one 
still needs to do a prior submodule init. Lesson learned.


Jack


___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Another compilation failure

2020-10-15 Thread Patrick Shanahan
* Jack Bowling  [10-15-20 18:16]:
> Ubuntu 20.10 beta, gcc 10.2, llvm 10.0.1, clang 10.0.1
> 
> Latest git pull gives me:
> 
> 
> -- Configuring done
> CMake Error at src/external/CMakeLists.txt:5 (add_library):
>   Cannot find source file:
> 
> /home/jb/darktable_git/darktable/src/external/whereami/src/whereami.c
> 
>   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
>   .hpp .hxx .in .txx
> 
> 
> CMake Error at src/external/CMakeLists.txt:5 (add_library):
>   No SOURCES given to target: whereami
> 
> 
> CMake Generate step failed.  Build files cannot be regenerated correctly.
> 
> 
> 
> Same after a rebase. First time I have seen this error.

I do not know how you get submodules on windows but there is a new
submodule that is needed:
  git submodule init ; git submodule update ; git pull --rebase 
--recurse-submodules
  Fetching submodule src/external/OpenCL
  Fetching submodule src/external/libxcf
  Fetching submodule src/external/rawspeed
  Fetching submodule src/external/whereami

you at least are missing "whereami".
  
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Another compilation failure

2020-10-15 Thread Coding Dave
git fetch
git submodule init
git submodule update
build

/Dave

Am Fr., 16. Okt. 2020 um 00:14 Uhr schrieb Jack Bowling :

> Ubuntu 20.10 beta, gcc 10.2, llvm 10.0.1, clang 10.0.1
>
> Latest git pull gives me:
>
> 
> -- Configuring done
> CMake Error at src/external/CMakeLists.txt:5 (add_library):
>Cannot find source file:
>
> /home/jb/darktable_git/darktable/src/external/whereami/src/whereami.c
>
>Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
>.hpp .hxx .in .txx
>
>
> CMake Error at src/external/CMakeLists.txt:5 (add_library):
>No SOURCES given to target: whereami
>
>
> CMake Generate step failed.  Build files cannot be regenerated correctly.
>
> 
>
> Same after a rebase. First time I have seen this error.
>
> Jack
>
> ___
> darktable developer mailing list
> to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>
>

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org