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

2011-11-18 Thread Michael Hannon
> From: Sebastien Vauban >> 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 d

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 workin

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

2011-11-18 Thread Eric Schulte
e > > > >> >>From: Michael Hannon >>To: Olaf Meeuwissen >>Cc: Org-Mode List >>Sent: Friday, November 18, 2011 12:39 AM >>Subject: Re: [O] Problem compiling C++ in Org-mode >> >>Olaf Meeuwissen wrote: >> &

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

2011-11-18 Thread Michael Hannon
++-compiler     (concat "g++ -std=c++0x "     "-I"     (expand-file-name ".")     ) ) -- Mike > >From: Michael Hannon >To: Olaf Meeuwissen >Cc: Org-Mode List >Sent: Friday, November 18, 2011 12:39 AM >Su

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

2011-11-18 Thread Olaf Meeuwissen
Michael Hannon writes: > Olaf Meeuwissen wrote: > >>  Michael Hannon 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...] >>> Wh

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

2011-11-18 Thread Michael Hannon
Olaf Meeuwissen wrote: >  Michael Hannon 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? > >> /tmp/babel-24

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

2011-11-17 Thread Olaf Meeuwissen
Michael Hannon 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? > /tmp/babel-245846_d/C-src-24584NIQ.cpp:7:26: fa

[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 works fine.  But Org-mode seems to be un