From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UPI2Dv5gK1+gQgAA0tVLHw (envelope-from ) for ; Thu, 06 Aug 2020 01:46:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8LYcCv5gK18/QwAA1q6Kng (envelope-from ) for ; Thu, 06 Aug 2020 01:46:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7F10A9404CB for ; Thu, 6 Aug 2020 01:46:37 +0000 (UTC) Received: from localhost ([::1]:39526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3UzK-0007W9-ME for larch@yhetil.org; Wed, 05 Aug 2020 21:46:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3UxW-0007Vq-TA for emacs-orgmode@gnu.org; Wed, 05 Aug 2020 21:44:43 -0400 Received: from mout.gmx.net ([212.227.17.22]:57193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3UxU-0004Qc-TS for emacs-orgmode@gnu.org; Wed, 05 Aug 2020 21:44:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596678275; bh=DiIdZtDiBCeE9l43pPhhqiQJn1ypf6gNLSBXbJ1rkeQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DicihPDrEtQXaicWtnmMeKsxqsskSP8XsB2WfVavpqBSAjol0Lvf2WSGAbrPtuhfE UlepotTeNZwdo1uToVkyJ0s8y7rAtWiSHnVJ0H6nquD7rE5UK816Mfj1djQNJ0KEFK HPrV6GB0cOluWbMkUrGoQJqI0z9c1Hf+d9kTvrqU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs02.server.lan [172.19.170.129]) (via HTTP); Thu, 6 Aug 2020 03:44:35 +0200 MIME-Version: 1.0 Message-ID: From: Christopher Dimech To: ian martins Subject: Re: Using Code Block for C++ Content-Type: text/html; charset=UTF-8 Date: Thu, 6 Aug 2020 03:44:35 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:l0tTAkKH08rwWiN0lOt/WkndIaqd/rJ5u7wDelzB/K2Tk0UH025B5nL5TjPAulT0HF+2y +lNUJm7uZhzRpWRfd5rYz4RvMjwnjyVenlwnyfmzbKEsU5lZt8RHkRUJQG3cEDjskGHLrzjKhSgE EJ7RFZjDxGXuC44ciB96YgOTA7FJ/Dtu27R+/aLDhfomdtX8pU5ocWErlawkTwby/wdYzAg7U+x1 /7Esv7RkE5KWZtDnAzsiRndgfcmHQxRwkDFITy26QCuXCDU2AZ3oLqn6ZSNbnJW0hgd8C6nxtlp8 l8= X-UI-Out-Filterresults: notjunk:1;V03:K0:PJsFfDGu+Z4=:+djLI4Lied3ItsW8QsIgDD tG+tniPYcBH+laTGutg1uRpcMM0uGsSPPdHNu9VZZb+WlHtYZUq6r1K059kY6Y4i6XfM0pl5e /3z6cEeZu6y1j2rFFDBAZlXzgEj31tk4GcTYScJINP5+BwM3vmfGYtEuw5bEfLoONNiVONmxE sp6ypu84xzIqQW5IBAnlLNqVEBxNFZSxXTl2PR8pCsCSNpJG4D4rGYjOcKgHBxie4jF3CuOrF Tu0Ewa2nSNYFTH38HLCXbsH3pdU4U8ANr19ubSm9e3btLSArnmnZfRFCwrRtp9DGNp2iS/ODH 5UBSoQE7LuX79CvHTYR6oLNAxVvWpEiXNZRUIf0/yq++fh0t07ct4ebZ1+Nh/XjaGGpp35HLw 3hf6ZXbmlKmT3TbqlwzalRhaUYY5PnYMC1PvPrdORY59sAyRBkOxY0c26G0eG/rlcevfjH1xB 5iN+V9JPOPjAcBEz3fmlg+5Zf7Ohi1+2CjLVlpFNSKBSsT68gF1La3rVVBdRDeo1GmIl/8ymg 7znGJRfJK9ocXOuH5pwDvgSnA7HBPGUFwDuxnY3B9Cc66qHAyDumdxWQ20cNJ4ukdskhIt7EP XjZjqyZu24Kp535gvyBVbBX7unlN90kBHWRzu7VYucEHgPZVDH+WFvY0Umc2eaX66rY+J3kMf PjTqqDfuX8kXi+2j9tPB9aDkvPr1f4tAlRAtoeG4Jd/GW4g== Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/05 21:44:39 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=DicihPDr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.41 X-TUID: Z2EJuewp66Dw

That works, thanks so very much
 
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
 
 
Sent: Thursday, August 06, 2020 at 1:25 AM
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++
Christopher,
 
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