emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Code Block for C++


From: Christopher Dimech
Subject: Re: Using Code Block for C++
Date: Thu, 6 Aug 2020 03:44:35 +0200


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

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]