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