<div dir="ltr"><div><div><div><div>Are the downloaded packages for snappy approximately
 0 or 1 bytes? Can you click the above link and download the package in a
 browser on the same computer?<br><br></div>If the answer is yes and 
yes, this is probably an issue of using a cmake not built with ssl 
support, and failing on all https links. Install openssl-devel (or -dev)
 from your package manager, and rebuild cmake with CMAKE_USE_OPENSSL=ON.
 Depending on your package manager on linux version, this may or may not
 have been done in your installed system cmake. If that's not the 
solution it might be a libcurl issue.<br><br></div><div>I'll add a blurb about this on the build instructions.<br></div><br><br>As
 for the second question, all of the packages built within VIAME are not
 installed globally, so they should not mess up any existing build 
setups. They are installed into [viame_build_dir]/install. There might 
still be some lingering issues with certain subpackages in VIAME picking
 up your system libraries instead of ones in the internal build, 
however, but we're trying to reduce these as possible so that it's a 
self contained environment. If you want to build all of the dependencies
 yourself (or alternatively, use installed system libraries) you can 
also set VIAME_BUILD_DEPENDENCIES=OFF, in which case you will need to 
manually build KWIVER and VIAME by pointing them both to the required 
libraries on your computer if they are not auto-detected.<br><br></div>Best,<br><br></div>Matt D.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 2:47 PM, David Zhang <span dir="ltr"><<a href="mailto:david.zhang@sri.com" target="_blank">david.zhang@sri.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This is David Zhang from SRI. I followed the instruction online and cloned VIAME to my laptop running 64-bit Ubuntu 14.04.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I encountered building errors which I pasted a small section below:<u></u><u></u></p>
<p class="MsoNormal">:<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">david@M6700:~/projects/VIAME/<wbr>build$ make -j8<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  7%] Removing build stamp file for build update (forcebuild).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  7%] Performing build step for 'fletch'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'Snappy'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'LMDB'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'Protobuf'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'GLog'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'OpenBLAS'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'ZLib'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Built target OpenCV<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">[  6%] Performing download step (download, verify and extract) for 'Boost'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">-- downloading...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     src='<a href="https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz" target="_blank">https://github.com/<wbr>google/snappy/releases/<wbr>download/1.1.3/snappy-1.1.3.<wbr>tar.gz</a>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     dst='/home/david/projects/<wbr>VIAME/packages/fletch/<wbr>Downloads/snappy-1.1.3.tar.gz'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     timeout='none'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">CMake Error at Snappy-stamp/download-Snappy.<wbr>cmake:27 (message):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">  error: downloading<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">  '<a href="https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz" target="_blank">https://github.com/google/<wbr>snappy/releases/download/1.1.<wbr>3/snappy-1.1.3.tar.gz</a>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">  failed<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">    status_code: 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">    status_string: "Unsupported protocol"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">    log: Protocol "https" not supported or disabled in libcurl<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">  Closing connection -1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">-- downloading...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     src='<a href="https://github.com/google/glog/archive/v0.3.3.tar.gz" target="_blank">https://github.com/<wbr>google/glog/archive/v0.3.3.<wbr>tar.gz</a>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     dst='/home/david/projects/<wbr>VIAME/packages/fletch/<wbr>Downloads/v0.3.3.tar.gz'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     timeout='none'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">-- downloading...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     src='<a href="https://github.com/xianyi/OpenBLAS/archive/v0.2.15.tar.gz" target="_blank">https://github.com/<wbr>xianyi/OpenBLAS/archive/v0.2.<wbr>15.tar.gz</a>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     dst='/home/david/projects/<wbr>VIAME/packages/fletch/<wbr>Downloads/v0.2.15.tar.gz'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     timeout='none'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">make[5]: *** [build/src/Snappy-stamp/<wbr>Snappy-download] Error 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">..............................<wbr>..............................<wbr>..............................<wbr>....................<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I checked VIAME/packages/fletch/<wbr>Downloads, I think all the third-party package downloads were successful. However, cmake setup still looks for these websites to downloading. The network connections were complained by the make build. I have
 not looked into CMake settings. If you find sometime useful, please let me know.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">By the way, from the make build, I am able to build opencv. It seems like just some downloaded packages were not able to  build.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Another question is: are all the built package, including VIAME, locally installed? I have other versions of opencv, eigen, boost and protobuf which are installed globally. I guess there is no conflict with these already installed packages
 from the VIAME.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">David <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
Viame mailing list<br>
<a href="mailto:Viame@public.kitware.com">Viame@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/viame" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/viame</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Matthew Dawkins<br>1-518-881-4416<br>Senior R&D Engineer<br>Kitware, Inc<br></div></div></div></div></div>
</div>