I got the following error. Do you know what is wrong? Thanks.

$ obabel '-:C(=O)Cl' -O acidchloride.png
==============================
*** Open Babel Error  in PNG Format
  PNG2Format not found. Probably the Cairo library is not loaded.
-1 PNG_files converted
$  obabel --version
No input file or format spec or possibly a misplaced option.
Most options must come after the input files. (-i -o -O -m can be anywhwere.)

Open Babel 2.4.1 -- May  7 2017 -- 19:35:41
Usage:
obabel [-i<input-type>] <infilename> [-o<output-type>] -O<outfilename> [Options]
Try  -H option for more information.
$ brew info open-babel
open-babel: stable 3.0.0 (bottled), HEAD
Chemical toolbox
https://openbabel.org
/usr/local/Cellar/open-babel/2.4.1 (313 files, 15.5MB) *
  Built from source on 2017-05-07 at 19:36:16
From: 
https://github.com/Homebrew/homebrew-core/blob/master/Formula/open-babel.rb
==> Dependencies
Build: cmake ✘, pkg-config ✔, rapidjson ✘, swig ✔
Required: cairo ✔, eigen ✘, python ✔
==> Options
--HEAD
        Install HEAD version
==> Analytics
install: 263 (30 days), 591 (90 days), 2,380 (365 days)
install_on_request: 248 (30 days), 564 (90 days), 2,259 (365 days)
build_error: 0 (30 days)

On 10/31/19, Geoffrey Hutchison <geoff.hutchi...@gmail.com> wrote:
>> Although there are many online tools (e.g., PubChem sketcher) to draw
>> structure from SMILES
>
>
> You can generate 2D depictions as mentioned in the docs:
> https://open-babel.readthedocs.io/en/latest/Depiction/depiction.html
> <https://open-babel.readthedocs.io/en/latest/Depiction/depiction.html>
>
> Hope that helps,
> -Geoff


-- 
Regards,
Peng


_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to