[Kwiver-users] [MapTk]: [SOLVED] : CMake Error : Missing include files

R. Pelapur rpelapur at archlinux.info
Mon Jan 18 14:42:20 EST 2016


Solution : Vital is now required.

Thanks for the fix.

commit 59472c9a13db56aee2fd162ae71cabd6e39e6792 :

Built and works fine. Marking as solved.


On 01/18/2016 10:20 AM, Matt Leotta wrote:
> Thanks for reporting this.  I can confirm that I see those errors.  
> However, before the errors you should have seen the following warning:
>
>  CMake Warning at CMakeLists.txt:19 (find_package):
>    By not providing "Findvital.cmake" in CMAKE_MODULE_PATH this 
> project has
>    asked CMake to find a package configuration file provided by 
> "vital", but
>    CMake did not find one.
>
>    Could not find a package configuration file provided by "vital" 
> with any of
>    the following names:
>
>      vitalConfig.cmake
>      vital-config.cmake
>
>    Add the installation prefix of "vital" to CMAKE_PREFIX_PATH or set
>    "vital_DIR" to a directory containing one of the above files.  If 
> "vital"
>    provides a separate development package or SDK, be sure it has been
>    installed.
>
> That warning should actually be an error because Vital is required.  
> We will fix this by marking Vital as REQUIRED in CMake, so the above 
> warning will become an error and you won't see those other errors.
>
> Either way, the solution is to build the Vital project and then 
> specify the path to it in the "vital_DIR" CMake variable in MAP-Tk.
>
> --Matt
>
>
> On Mon, Jan 18, 2016 at 9:48 AM, rpelapur at archlinux.info 
> <mailto:rpelapur at archlinux.info> <rpelapur at archlinux.info 
> <mailto:rpelapur at archlinux.info>> wrote:
>
>>     Are those errors from a clean configure/build of MAP-Tk on the
>>     master branch? 
>     Yes. It is a clean build on the master branch commit
>     #fef1ad996828039e72ff2dfe210cd3f7cf420784 where I am getting the
>     error.
>>     Did CMake complain about Vital not being found? 
>     No. The first error is the "Kwiver-utils" not being found followed
>     by "vital-flags" not being found.
>>      What operating system are you running?
>     Linux (x86_64). A rolling release Arch and CentOS 6 stable if that
>     matters.
>
>     Thanks for the reply.
>
>
>     Sent from my iPhone
>
>     On Jan 18, 2016, at 8:07 AM, Matthew Leotta
>     <matt.leotta at kitware.com <mailto:matt.leotta at kitware.com>> wrote:
>
>>     The current release branch (v0.7.1) is the last minor release
>>     that does not depend on the new Vital repository
>>     (https://github.com/kitware/vital). Vital contains many of the
>>     core data structures and low-level functionality (logging, config
>>     file parsing, etc.) that have been factored out of the MAP-Tk
>>     code base for greater sharing across KWIVER projects.  On the
>>     current master branch (to be release in v0.8.0) you now must
>>     build MAP-Tk against Vital.  There should be a “vital_DIR” CMake
>>     variable that you can point to your Vital build tree or install
>>     path.  Vital provides kwiver-utils and vital-flags among other
>>     things.  I would expect you should get an error that Vital is not
>>     found before you get more obscure errors like those reported. 
>>     Are those errors from a clean configure/build of MAP-Tk on the
>>     master branch?  Did CMake complain about Vital not being found? 
>>     What operating system are you running?
>>
>>     Thanks,
>>     Matt
>>
>>
>>>     On Jan 16, 2016, at 3:00 PM, R. Pelapur <rpelapur at archlinux.info
>>>     <mailto:rpelapur at archlinux.info>> wrote:
>>>
>>>     Hi,
>>>     Getting CMake errors about vital and kwiver files (which are not
>>>     present in the current subdirectories)
>>>
>>>
>>>     CMake Error at CMakeLists.txt:50 (include): include could not
>>>     find load file: kwiver-utils
>>>     CMake Error at CMakeLists.txt:52 (include): include could not
>>>     find load file: vital-flags
>>>
>>>
>>>     CMake Error at maptk/CMakeLists.txt:65 (kwiver_install_headers):
>>>     Unknown CMake command "kwiver_install_headers".
>>>
>>>     Using CMake 3.4.20160112-gb5009 and MapTk
>>>     (fef1ad996828039e72ff2dfe210cd3f7cf420784).
>>>
>>>     Had to go back to a commit prior to the release merge :
>>>     0be1f318d969be880139b6403fbc83fd77add917 for now which builds
>>>     successfully.
>>>
>>>     _______________________________________________
>>>     Kwiver-users mailing list
>>>     Kwiver-users at public.kitware.com
>>>     <mailto:Kwiver-users at public.kitware.com>
>>>     http://public.kitware.com/mailman/listinfo/kwiver-users
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kwiver-users/attachments/20160118/723a2559/attachment.html>


More information about the Kwiver-users mailing list