[Cython] Wrapping C++ Classes
Chris Swierczewski
cswiercz at gmail.com
Wed Jul 16 01:05:06 CEST 2008
Michael,
> Have you tried passing -D__Linux at the build time of the extension?
I didn't know that you could pass those kinds of things at the Sage
Extension declaration. What I did was make a copy of the header and
hard-coded the definition. (OTClient.h ==> OTClient__LINUX.h
containing #define __LINUX) I'll have to try that right now, though
I'm not sure if it will make a difference.
> I saw your discussion with Glenn and the removal of the
> __declspec(dllexport) constructs as suggested by him will bite us in the
> ass down the road since we intent to support MSVC for which the above
> constructs are needed.
Yeah, I was a bit weary of taking that route. The opentick libraries
look way too intricate to begin mucking around with that.
--
Chris
More information about the Cython-dev
mailing list