> 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
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
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:
>>
&
++-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
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
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
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
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