[ghemical-devel] Reg. build_amino routine

Shameer Khadar skhadar at gmail.com
Tue Nov 18 12:33:17 EST 2008


Dear Professor,

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.
I set path of header files in both example2.cpp and example.h files. I have
replaced # include 'libconfig' line with this
#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 ?

But when I try to compile the code in my machine using g++.
I am getting couple of errors. I am pasting the errors for your reference

#############
shameer at interactome:~/software/libghemical-2.98$ g++ example2.cpp
/tmp/ccErS7OA.o: In function `main':
example2.cpp:(.text+0xa5): undefined reference to
`print_lib_intro_notice(std::basic_ostream<char, std::char_traits<char> >&)'
example2.cpp:(.text+0xb1): undefined reference to
`print_copyright_notice(std::basic_ostream<char, std::char_traits<char> >&)'
example2.cpp:(.text+0x13c): undefined reference to `model::model()'
example2.cpp:(.text+0x2a3): undefined reference to `ReadGPR(model&,
std::basic_istream<char, std::char_traits<char> >&, bool, bool)'
example2.cpp:(.text+0x2bf): undefined reference to
`model::GetCurrentSetup()'
example2.cpp:(.text+0x2cf): undefined reference to
`setup::CreateEngineByIDNumber(unsigned int)'
example2.cpp:(.text+0x2f5): undefined reference to `CopyCRD(model*, engine*,
unsigned int)'
example2.cpp:(.text+0x33b): undefined reference to
`geomopt::geomopt(engine*, int, double, double)'
example2.cpp:(.text+0x391): undefined reference to
`conjugate_gradient::TakeCGStep(conjugate_gradient::ls_mode)'
example2.cpp:(.text+0x494): undefined reference to `CopyCRD(engine*, model*,
unsigned int)'
example2.cpp:(.text+0x568): undefined reference to `WriteGPR(model&,
std::basic_ostream<char, std::char_traits<char> >&)'
collect2: ld returned 1 exit status
##################

Could you please tell me why I am getting this error messages ?

Many thanks in advance,

Thanks,

On Sun, Nov 16, 2008 at 9:08 PM, Tommi Hassinen <Tommi.Hassinen at uku.fi>wrote:

> From: Shameer Khadar [skhadar at gmail.com]
> Sent: Saturday, November 15, 2008 7:34 PM
> To: Tommi Hassinen; ghemical-devel at bioinformatics.org
> Subject: Re: [ghemical-devel] Reg. build_amino routine
>
> I hope I got the files :) from this link
> http://bioinformatics.org/cgi-bin/cvsweb.cgi/libghemical/src/simple_test/
> I will try it as you suggested and get back to you soon.
>
>
> TH : This is the right directory.
> I'm sorry, I didn't have access to the files
> when I wrote the message.
>
> Regards,
> Tommi
>



-- 
K. Shameer
------------------------------------------------------------
Computational Biology Lab, NCBS - TIFR
Molecular Biophysics Unit, IISc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/ghemical-devel/attachments/20081118/21dd28ec/attachment.html>


More information about the ghemical-devel mailing list