emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: ian martins <ianxm@jhu.edu>
To: Christopher Dimech <dimech@gmx.com>
Cc: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Using Code Block for C++
Date: Wed, 5 Aug 2020 21:25:37 -0400	[thread overview]
Message-ID: <CAC=rjb4XKj2t-sVXcGJGvykekPoJN1XrV=Rkbs+5yjMTncG4iA@mail.gmail.com> (raw)
In-Reply-To: <trinity-4d058fe5-5a48-4735-b07c-4afa674c34b7-1596665116036@3c-app-mailcom-bs02>

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]


C, C++ and D are all defined in ob-C.el, so when you load C you get C++ and
D as well. If you remove the "(c++ . t)" from the above line, does it work?

On Wed, Aug 5, 2020 at 6:05 PM Christopher Dimech <dimech@gmx.com> wrote:

> Have been trying to set the C++ call for using a code block.
> Here is the call. I am getting an error, have tried Cpp, cpp, C++, c++
>   (org-babel-do-load-languages
>     'org-babel-load-languages
>     '( (sh . t) (lisp . t) (emacs-lisp . t)
>        (awk . t) (python . t) (R . t)
>        (C . t) (c++ . t) (F90 . t)
>   ))
> The error is
> Debugger entered--Lisp error: (file-error "Cannot open load file" "ob-c++")
>   require(ob-c++)
> ---------------------
> Christopher Dimech
> Chief Administrator - Naiad Informatics - GNU Project (Geocomputation)
> - Geophysical Simulation
> - Geological Subsurface Mapping
> - Disaster Preparedness and Mitigation
> - Natural Resource Exploration and Production
> - Free Software Advocacy

[-- Attachment #2: Type: text/html, Size: 1461 bytes --]

  reply	other threads:[~2020-08-06  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-05 22:05 Using Code Block for C++ Christopher Dimech
2020-08-06  1:25 ` ian martins [this message]
2020-08-06  1:44   ` Christopher Dimech

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC=rjb4XKj2t-sVXcGJGvykekPoJN1XrV=Rkbs+5yjMTncG4iA@mail.gmail.com' \
    --to=ianxm@jhu.edu \
    --cc=dimech@gmx.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).