Dear Professor, <br><br>I started the with the examples given in the simple_test directories. But I am not able to compile the codes to test the code. <br>I set path of header files in both example2.cpp and example.h files. I have replaced # include 'libconfig' line with this <br>
#include
"/home/shameer/software/libghemical-2.98/src/libghemicalconfig.h" - is
this alright ? or is there any other libconfig file available with in
the libghemical ? <br><br>But when I try to compile the code in my machine using g++. <br>I am getting couple of errors. I am pasting the errors for your reference<br><br>############# <br>shameer@interactome:~/software/libghemical-2.98$ g++ example2.cpp <br>
/tmp/ccErS7OA.o: In function `main':<br>example2.cpp:(.text+0xa5): undefined reference to `print_lib_intro_notice(std::basic_ostream<char, std::char_traits<char> >&)'<br>example2.cpp:(.text+0xb1): undefined reference to `print_copyright_notice(std::basic_ostream<char, std::char_traits<char> >&)'<br>
example2.cpp:(.text+0x13c): undefined reference to `model::model()'<br>example2.cpp:(.text+0x2a3): undefined reference to `ReadGPR(model&, std::basic_istream<char, std::char_traits<char> >&, bool, bool)'<br>
example2.cpp:(.text+0x2bf): undefined reference to `model::GetCurrentSetup()'<br>example2.cpp:(.text+0x2cf): undefined reference to `setup::CreateEngineByIDNumber(unsigned int)'<br>example2.cpp:(.text+0x2f5): undefined reference to `CopyCRD(model*, engine*, unsigned int)'<br>
example2.cpp:(.text+0x33b): undefined reference to `geomopt::geomopt(engine*, int, double, double)'<br>example2.cpp:(.text+0x391): undefined reference to `conjugate_gradient::TakeCGStep(conjugate_gradient::ls_mode)'<br>
example2.cpp:(.text+0x494): undefined reference to `CopyCRD(engine*, model*, unsigned int)'<br>example2.cpp:(.text+0x568): undefined reference to `WriteGPR(model&, std::basic_ostream<char, std::char_traits<char> >&)'<br>
collect2: ld returned 1 exit status<br>##################<br><br>Could you please tell me why I am getting this error messages ? <br><br>Many thanks in advance, <br><br>Thanks, <br><br><div class="gmail_quote">On Sun, Nov 16, 2008 at 9:08 PM, Tommi Hassinen <span dir="ltr"><<a href="mailto:Tommi.Hassinen@uku.fi">Tommi.Hassinen@uku.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">From: Shameer Khadar [<a href="mailto:skhadar@gmail.com">skhadar@gmail.com</a>]<br>
Sent: Saturday, November 15, 2008 7:34 PM<br>
To: Tommi Hassinen; <a href="mailto:ghemical-devel@bioinformatics.org">ghemical-devel@bioinformatics.org</a><br>
Subject: Re: [ghemical-devel] Reg. build_amino routine<br>
<div class="Ih2E3d"><br>
I hope I got the files :) from this link <a href="http://bioinformatics.org/cgi-bin/cvsweb.cgi/libghemical/src/simple_test/" target="_blank">http://bioinformatics.org/cgi-bin/cvsweb.cgi/libghemical/src/simple_test/</a><br>
I will try it as you suggested and get back to you soon.<br>
<br>
<br>
</div>TH : This is the right directory.<br>
I'm sorry, I didn't have access to the files<br>
when I wrote the message.<br>
<br>
Regards,<br>
<font color="#888888">Tommi<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>K. Shameer<br>------------------------------------------------------------<br>Computational Biology Lab, NCBS - TIFR <br>Molecular Biophysics Unit, IISc <br>