From: David v. d. S. <sp...@xr...> - 2013-02-12 14:55:01
|
On 2013-02-12 15:45, Peter wrote: > Thanks for the prompt reply. Now I return back to the same issue: > main.cpp:7: error: ‘OBConversion’ was not declared in this scope > main.cpp:7: error: expected ‘;’ before ‘conv’ > main.cpp:8: error: ‘conv’ was not declared in this scope > main.cpp:9: error: ‘OBMol’ was not declared in this scope > main.cpp:9: error: expected ‘;’ before ‘mol’ > main.cpp:10: error: ‘mol’ was not declared in this scope > make: *** [main.o] Error 1 > > Why cant I create objects like as provided in the examples. > http://openbabel.org/docs/2.3.1/UseTheLibrary/CppExamples.html > you had only one error before. Please check some c++ documentation. It doesn't hurt to try some things out either. Very instructive! > Thanks, > Peter > > > > -- > View this message in context: http://forums.openbabel.org/Cannot-create-objects-using-C-API-tp4655946p4655955.html > Sent from the General discussion mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > -- David van der Spoel, Ph.D., Professor of Biology Dept. of Cell & Molec. Biol., Uppsala University. Box 596, 75124 Uppsala, Sweden. Phone: +46184714205. sp...@xr... http://folding.bmc.uu.se |