Re: Using Code Block for C++
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" To: "Christopher Dimech" Cc: "Org-Mode mailing list" 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 <dim...@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
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 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 > > >
Using Code Block for C++
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