Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Michael Hannon
AM Subject: Re: [O] Problem compiling C++ in Org-mode Olaf Meeuwissen wrote:   Michael Hannon jm_han...@yahoo.com writes: Greetings.  I'm having a problem compiling a C++ source-code block in Org-mode.  The same C++ code compiles and runs in the shell. The issue seems to relate to local

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Eric Schulte
olaf.meeuwis...@avasys.jp Cc: Org-Mode List emacs-orgmode@gnu.org Sent: Friday, November 18, 2011 12:39 AM Subject: Re: [O] Problem compiling C++ in Org-mode Olaf Meeuwissen wrote:   Michael Hannon jm_han...@yahoo.com writes: Greetings.  I'm having a problem compiling a C++ source-code block

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Sebastien Vauban
Hi Michael, Michael Hannon wrote: Just for the record, adding the following to my .emacs file seems to solve the problem I was having, where the C++ compiler was compiling a source block (written  to a temporary file in /tmp/...) and was unable to find an include file in the current working

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Michael Hannon
From: Sebastien Vauban wxhgmqzgw...@spammotel.com Just for the record, adding the following to my .emacs file seems to solve the problem I was having, where the C++ compiler was compiling a source block (written  to a temporary file in /tmp/...) and was unable to find an include file in the

[O] Problem compiling C++ in Org-mode

2011-11-17 Thread Michael Hannon
Greetings.  I'm having a problem compiling a C++ source-code block in Org-mode.  The same C++ code compiles and runs in the shell. The issue seems to relate to local include files.  I.e., a program that includes only standard files, such as:     #include iostream works fine.  But Org-mode seems

Re: [O] Problem compiling C++ in Org-mode

2011-11-17 Thread Olaf Meeuwissen
Michael Hannon jm_han...@yahoo.com writes: Greetings.  I'm having a problem compiling a C++ source-code block in Org-mode.  The same C++ code compiles and runs in the shell. The issue seems to relate to local include files. [...snip...] What am I missing?