Bioinformatics.org
|
|
Research
|
Online databases
Online analysis tools
Online education tools
|
Development
|
|
Forums
|
News & Commentary
Jobs Forum (Career Center)
|
|
|
Hi,
I'm trying to compile molekel 5.1.1 on RedHat Enterprise Linux 4.5 (64-bit.) I think I have all of the prerequisite packages working successfully, but I get an error when running "gmake" to build molekel:
[ 54%] Building CXX object CMakeFiles/Molekel.dir/utility/OBMSMSFormat.o
/usr/local/src/molekel/molekel-5.1/src/utility/OBMSMSFormat.cpp: In member function `virtual bool OBMSMSFormat::WriteMolecule(OpenBabel::OBBase*, OpenBabel::OBConversion*)':
/usr/local/src/molekel/molekel-5.1/src/utility/OBMSMSFormat.cpp:111: error: `ostream' was not declared in this scope
/usr/local/src/molekel/molekel-5.1/src/utility/OBMSMSFormat.cpp:111: error: `os' was not declared in this scope
make[2]: *** [CMakeFiles/Molekel.dir/utility/OBMSMSFormat.o] Error 1
make[1]: *** [CMakeFiles/Molekel.dir/all] Error 2
make: *** [all] Error 2
I'm not much of a C++ programmer, so if anyone could give any suggestions about what I can do to fix this, please let me know.
-Peter Ruprecht
U of Colorado
|
|
|
|
Hi, which version of OpenBabel are you using ? this is a compilation error I got while testing with OpenBabel 2.1, you shouldn't be getting it with OB 2.0.x.
This should be fixed in the current /trunk source tree.
If you want to fix it yourself simply open OBMSMSFormat.cpp and add the following code just after the other #include statements:
#include <iostream>
using namespace std;
|
|
|
Add a message to this thread:
You have to be to post a reply.
|
|