Funny you should ask because this was just fixed at SD32 where we ran
into each other:

http://trac.sagemath.org/sage_trac/ticket/11680

once it is merged you can write $SAGE_ROOT in these pragmas :)

On 31 August 2011 19:17, john_perry_usm <[email protected]> wrote:
> Hi Martin,
>
> Sorry for the long reply; I looked at the solution a long time ago &
> it seems to work. A natural question, naturally :-) is there an easier
> way to specify the include directory? after all, this changes by
> machine & version.
>
> john
>
> On Jul 25, 8:34 am, Martin Albrecht <[email protected]>
> wrote:
>> Hi John,
>>
>> see attachment. You'll have to change the cinclude path for it to work on 
>> your
>> machine.
>>
>> On Monday 25 July 2011, john_perry_usm wrote:
>>
>> > On Jul 25, 6:46 am, Martin Albrecht <[email protected]>
>>
>> > wrote:
>> > > You'll need to compile your extension module (i.e. your pyx file) with
>> > > C++ instead of C. See
>>
>> > >http://sagemath.org/doc/developer/coding_in_cython.html#special-pragmas
>>
>> > From that link, I understood that I need to prepend
>>
>> >     # clang: C++
>>
>> > to the file. I get the same errors.
>>
>> > john
>>
>> Cheers,
>> Martin
>>
>> --
>> name: Martin Albrecht
>> _pgp:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
>> _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
>> _www:http://martinralbrecht.wordpress.com/
>> _jab: [email protected]
>>
>>  singular.spyx
>> < 1KViewDownload
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [email protected]

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to