<div dir="ltr">Hi Sanjeed,<div><br></div><div>I tried various ways of building the repo and one of the main errors were occurring when it was building the testing libraries of Moleque. It was throwing these error, which is in a nutshell belonging to QDataStream.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">In file included from </span><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.cpp:17:0</span><span style="color:rgb(0,0,0)">:<br>
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.h:</span><span style="color:rgb(0,0,0)"> In member function ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">void TestServer::sendPacket(const PacketType&)</span><span style="color:rgb(0,0,0)">’:<br>
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.h:48:30:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">variable ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream out</span><span style="color:rgb(0,0,0)">’ has initializer but incomplete type<br>
</span></span><span style="font-family:monospace">     QDataStream out (m_socket);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                              ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.h:49:20:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">incomplete type ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream</span><span style="color:rgb(0,0,0)">’ used in nested name specifier
<br></span></span><span style="font-family:monospace">     out.setVersion(QDataStream::Qt_4_7);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                    ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.h:</span><span style="color:rgb(0,0,0)"> In member function ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">void TestServer::readyRead()</span><span style="color:rgb(0,0,0)">’:<br>
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.h:107:29:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">variable ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream in</span><span style="color:rgb(0,0,0)">’ has initializer but incomplete type<br>
</span></span><span style="font-family:monospace">     QDataStream in (m_socket);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                             ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchemistry/molequeue/molequeue/app/testing/testserver.h:108:19:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">incomplete type ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream</span><span style="color:rgb(0,0,0)">’ used in nested name specifier
<br></span></span><span style="font-family:monospace">     in.setVersion(QDataStream::Qt_4_7);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                   ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace">make[5]: *** [molequeue/app/testing/CMakeFiles/testutils.dir/testserver.cpp.o] Error 1<br>
</span><span style="font-family:monospace">make[5]: *** Waiting for unfinished jobs....<br>
</span><span style="font-family:monospace">In file included from <span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/moc_testserver.cpp:9:0</span><span style="color:rgb(0,0,0)">,
<br></span></span><span style="font-family:monospace">                 from <span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/testutils_automoc.cpp:8</span><span style="color:rgb(0,0,0)">:<br>
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/../../../../../openchemistry/molequeue/molequeue/app/testing/testserver.h:</span><span style="color:rgb(0,0,0)"> In member function ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">void TestServer::sendPacket(const PacketTyp<br></span></span><span style="font-family:monospace">e&)<span style="color:rgb(0,0,0)">’:<br>
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/../../../../../openchemistry/molequeue/molequeue/app/testing/testserver.h:48:30:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">variable ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream out</span><span style="color:rgb(0,0,0)">’ has initializer but inc<br></span></span><span style="font-family:monospace">omplete type<br>
</span><span style="font-family:monospace">     QDataStream out (m_socket);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                              ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/../../../../../openchemistry/molequeue/molequeue/app/testing/testserver.h:49:20:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">incomplete type ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream</span><span style="color:rgb(0,0,0)">’ used in nested name<br> </span></span><span style="font-family:monospace">specifier<br>
</span><span style="font-family:monospace">     out.setVersion(QDataStream::Qt_4_7);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                    ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/../../../../../openchemistry/molequeue/molequeue/app/testing/testserver.h:</span><span style="color:rgb(0,0,0)"> In member function ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">void TestServer::readyRead()</span><span style="color:rgb(0,0,0)">’:<br>
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/../../../../../openchemistry/molequeue/molequeue/app/testing/testserver.h:107:29:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">variable ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream in</span><span style="color:rgb(0,0,0)">’ has initializer but inc<br></span></span><span style="font-family:monospace">omplete type<br>
</span><span style="font-family:monospace">     QDataStream in (m_socket);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                             ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">/home/kokeen/openchem/molequeue/molequeue/app/testing/../../../../../openchemistry/molequeue/molequeue/app/testing/testserver.h:108:19:</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">incomplete type ‘</span><span style="font-weight:bold;color:rgb(0,0,0)">QDataStream</span><span style="color:rgb(0,0,0)">’ used in nested name<br></span></span><span style="font-family:monospace"> specifier<br>
</span><span style="font-family:monospace">     in.setVersion(QDataStream::Qt_4_7);<br>
</span><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">                   ^<br></span><span style="color:rgb(0,0,0)">
</span></span><span style="font-family:monospace">make[5]: *** [molequeue/app/testing/CMakeFiles/testutils.dir/testutils_automoc.cpp.o] Error 1<br>
</span><span style="font-family:monospace">make[4]: *** [molequeue/app/testing/CMakeFiles/testutils.dir/all] Error 2<br>
</span><span style="font-family:monospace">make[3]: *** [all] Error 2<br>
</span><span style="font-family:monospace">make[2]: *** [molequeue-prefix/src/molequeue-stamp/molequeue-build] Error 2<br>
</span><span style="font-family:monospace">make[1]: *** [CMakeFiles/molequeue.dir/all] Error 2</span></blockquote><div><br></div><div>And due to these errors, the build exits without completing the build of Avogadro application. Can you help me sort out how to make it work correctly?</div><div><br></div><div>Thanks and with regards,</div><div>Ishan  </div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aaXNoYW5ndXB0YS53b3JrQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=2adc3ebc-4bf4-4d60-8515-9a253c698c32"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 6:09 PM, Sanjeed Schamnad <span dir="ltr"><<a href="mailto:sanjeed063@gmail.com" target="_blank">sanjeed063@gmail.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="ltr">I faced the same error initially when I tried following the build process. One of the required components i.e. GLEW, EIGEN, HDF5 or BOOST must have failed during the build process. <div>There are two options to test which is the exact component that failed:</div><div><ol><li>Run the process again in a new folder and keep tabs on the entire build, keep scrolling up and seeing if there are any errors or</li><li>Run the cmake command again, since eveything is build it'll throw up the component which is failing.</li></ol><div>I suspect you're facing the same problem with HDF5 that I faced. You can look at the issue <a href="https://github.com/OpenChemistry/avogadrolibs/issues/53" target="_blank">here</a> .</div><div><br></div><div>To solve the issue, I would suggest that you install GLEW, EIGEN, HDF5 and BOOST separately and use the cmake-gui to choose these packages</div><div><br></div><div>Regards</div><div>Sanjeed Schamnad</div><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Apr 14, 2016 at 4:07 PM, Ishan Gupta <span dir="ltr"><<a href="mailto:ishangupta.work@gmail.com" target="_blank">ishangupta.work@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I'm trying to build Openchemistry Github repository on my system. I follow all the steps stated in the Build wiki.</div><div><br></div><div><div style="font-size:12.8px">After running 'cmake ../openchemisty/' in the build folder and after that I run 'make'. The process starts building the project. It reaches this step-<br></div><blockquote class="gmail_quote" style="font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br><span style="font-family:monospace"><span style="color:rgb(0,0,0)">[100%] Built target vtkViewsInfovis</span><span style="color:rgb(178,24,24)">                                              </span><span style="color:rgb(0,0,0)"> <br></span></span><span style="font-family:monospace">[ 65%] <span style="font-weight:bold;color:rgb(84,84,255)">Performing install step for 'VTK'</span></span></blockquote><div style="font-size:12.8px"><span style="font-family:monospace"><span style="color:rgb(0,0,0)"></span><br></span></div><div style="font-size:12.8px"><span style="font-family:monospace">Then, it starts installing VTK on the system. After installing it displays this.</span></div><span style="font-size:12.8px"><div><span style="font-family:monospace"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">[ 65%] </span><span style="font-weight:bold;color:rgb(84,84,255)">Completed 'VTK'<br></span><span style="color:rgb(0,0,0)"></span></span><span style="font-family:monospace">[ 65%] Built target VTK<span style="color:rgb(24,24,178)">                                                                                                                                                                         </span><span style="color:rgb(0,0,0)"> <br></span></span><span style="font-family:monospace">Makefile:75: recipe for target 'all' failed<br></span><span style="font-family:monospace">make: *** [all] Error 2</span></blockquote><div><br></div></span><div style="font-size:12.8px">I don't know what is causing the building process to fail as Avogadroapp is built after VTK and since it fails here, the avogadroapp folder is empty and the binaries are not built. How should I resolve this, can somebody guide me on this?</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks and with regards,</div><div><div>Ishan</div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="color:rgb(136,136,136);font-size:12.8px"><div><div dir="ltr"><div dir="ltr"><div><i><b><font color="#999999">"What we do today, echoes in eternity."</font></b></i></div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(0,0,0)">Ishan Gupta</span><div><div style="color:rgb(34,34,34);font-size:small">Final Year student<br></div><div style="color:rgb(34,34,34);font-size:small">Communications and Computer Engineering</div><div style="color:rgb(34,34,34);font-size:small">The LNM Institute of Information Technology</div><div style="color:rgb(34,34,34);font-size:small">Jaipur, Rajasthan</div><div style="color:rgb(34,34,34);font-size:small"><a href="tel:%2B91-8764029540" value="+918764029540" target="_blank">+91-8764029540</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div><span><font color="#888888"><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aaXNoYW5ndXB0YS53b3JrQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=ed33f7cd-05ad-4317-9fa9-c45a165be356"><font color="#ffffff" size="1">ᐧ</font></div>
</font></span><br></div></div>_______________________________________________<br>
Openchemistry-developers mailing list<br>
<a href="mailto:Openchemistry-developers@public.kitware.com" target="_blank">Openchemistry-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/openchemistry-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/openchemistry-developers</a><br>
<br></blockquote></div><br><div><br></div>
</div><img width="0" height="0" src="https://mailtrack.io/trace/mail/8b8b5f21de55cef5811cd4baf82f4d539a4a6dba587192.png"></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="color:rgb(136,136,136);font-size:12.8000001907349px"><div><div dir="ltr"><div dir="ltr"><div><i><b><font color="#999999">"What we do today, echoes in eternity."</font></b></i></div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(0,0,0)">Ishan Gupta</span><div><div style="color:rgb(34,34,34);font-size:small">Final Year student<br></div><div style="color:rgb(34,34,34);font-size:small">Communications and Computer Engineering</div><div style="color:rgb(34,34,34);font-size:small">The LNM Institute of Information Technology</div><div style="color:rgb(34,34,34);font-size:small">Jaipur, Rajasthan</div><div style="color:rgb(34,34,34);font-size:small">+91-8764029540</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>