<div dir="ltr"><div><div>Dear Xtalopt devs & users,<br><br></div>I'm having trouble
building the linux version of xtalopt. Openbabel and Avoagdro builds
pass successfully but building xtalopt fails with:<br><br>[ 18%] Generating queueinterfaces/moc_slurm.cxx<br>Scanning dependencies of target globalsearch<br>[ 18%] Building CXX object src/globalsearch/CMakeFiles/<wbr>globalsearch.dir/optbase.cpp.o<br>In file included from /home/student/include/<wbr>avogadro/primitive.h:29:0,<br> from /home/student/include/<wbr>avogadro/molecule.h:29,<br> from /home/student/src/xtalopt/src/<wbr>globalsearch/structure.h:19,<br> from /home/student/src/xtalopt/src/<wbr>globalsearch/tracker.h:19,<br> from /home/student/src/xtalopt/src/<wbr>globalsearch/queuemanager.h:<wbr>19,<br> from /home/student/src/xtalopt/src/<wbr>globalsearch/optbase.cpp:21:<br>/home/student/src/xtalopt/src/<wbr>globalsearch/optbase.cpp: In member function ‘virtual bool GlobalSearch::OptBase::save(<wbr>const QString&, bool)’:<br>/home/student/include/<wbr>avogadro/config.h:37:17: error: expected unqualified-id before string constant<br> #define VERSION "1.2.0"<br> ^<br>/home/student/src/xtalopt/src/<wbr>globalsearch/optbase.cpp:259:<wbr>15: note: in expansion of macro ‘VERSION’<br> const int VERSION = m_schemaVersion;<br> ^<br>make[2]: *** [src/globalsearch/CMakeFiles/<wbr>globalsearch.dir/optbase.cpp.<wbr>o] Error 1<br>make[1]: *** [src/globalsearch/CMakeFiles/<wbr>globalsearch.dir/all] Error 2<br>make: *** [all] Error 2<br><br></div>Thanks for your help.<br clear="all"><br>-- <br><div class="gmail_signature"><font style="background-color:rgb(255,255,255)" color="#663366">Kind Regards,</font><div><font style="background-color:rgb(255,255,255)" color="#663366">Neven Golenić</font></div></div>
</div>