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: ian martins
Subject: Re: Using Code Block for C++
Date: Wed, 5 Aug 2020 21:25:37 -0400

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]