<div dir="ltr"><div><div><div><div><div>David,<br><br></div>It is possible that the system is still using the same old cmake binary. You could try running <br></div><span style="font-family:monospace,monospace">what cmake</span><br></div>to see which version is being used. If it is still the old version, you can adjust your PATH to include the new cmake before the system version.<br><br></div>We are working on the protobuf problem and will point to the new protobuf tar file. Google updated protobuf on August 25th and changed the old download URL.<br></div><div>We will let you know when there is a new version to pull.<br></div><div><br></div>-Linus<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 5:17 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 dir="auto">
<div></div>
<div>Matt:</div>
<div><br>
</div>
<div>Thanks for your quick response. I did try to build cmake with OpenSSL, however, that does not solve the problem.</div>
<div><br>
</div>
<div>Snappy and other complained packages are all with zero byte downloaded. I took the link to the website using web browser to download, most of them are successfully downloaded, and at least one link is not longer available:</div>
<div><br>
</div>
<div><a href="http://protobuf.googlecode.com/files/protobuf-2.5.0.tar2.b2" target="_blank">Protobuf.googlecode.com/files/<wbr>protobuf-2.5.0.tar2.b2</a> </div>
<div>This causes the Downloading fail (one of the reasons). The other modules that I downloaded do not match the exact names that showed up in the Download folder. I have to rename them to match with the configuration. </div>
<div><br>
</div>
<div>So this is what I have got so far. I suggest you take a look at these links and let us now if my find is correct.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>David </div><div><div class="h5">
<div><br>
On Aug 31, 2016, at 3:29 PM, Matt Dawkins <<a href="mailto:matt.dawkins@kitware.com" target="_blank">matt.dawkins@kitware.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<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/b<wbr>uild$ 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/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">     dst='/home/david/projects/VIAM<wbr>E/packages/fletch/Downloads/<wbr>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.c<wbr>make: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/sna<wbr>ppy/releases/download/1.1.3/<wbr>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/google<wbr>/glog/archive/v0.3.3.tar.gz</a>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     dst='/home/david/projects/VIAM<wbr>E/packages/fletch/Downloads/<wbr>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/xianyi<wbr>/OpenBLAS/archive/v0.2.15.tar.<wbr>gz</a>'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d">     dst='/home/david/projects/VIAM<wbr>E/packages/fletch/Downloads/<wbr>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/Snappy<wbr>-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/Download<wbr>s, 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><font color="#888888"><u></u><u></u></font></span></p>
<span><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" target="_blank">Viame@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/viame" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/viame</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Matthew Dawkins<br>
<a href="tel:1-518-881-4416" value="+15188814416" target="_blank">1-518-881-4416</a><br>
Senior R&D Engineer<br>
Kitware, Inc<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div></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><font color="#888888"><b>Linus Sherrill - </b></font><font color="#888888">Staff R&D Engineer<br></font><font color="#888888">Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>E: <a href="mailto:linus.sherrill@kitware.com" target="_blank">linus.sherrill@kitware.com</a><br>P: 518.881.4400<br></font></div></div></div></div></div>
</div>