Ok, thanks for the hints.
:)
On Sunday, 21 April 2013 04:14:00 UTC+2, Mat wrote:
> Directions for doing this, although i never got around to do it myself:
>
>
>
>
> "In order to instal numpy, you will need to do the following:
>
> a) Edit distutils/msvc9compiler from python2.6.zip to add a
> ld_args.append('/MANIFEST') line
>
> (Solution found on Google... This is probably due to Maya shipping a
> version of distutils that pre-dates MSVC 2010.)
> b) Distutils was looking in the wrong path for Python's includes and
> libraries, so you need to manually copy them to the correct location (under
> runtime/Python/include and runtime/Python/libs)
>
> c) Python2.6.lib didn't have read permissions. You have to manually set them.
>
> d) It seems that we might have modified the file pyconfig.h in a non-standard
> way. Pyconfig.h indicates the python library provides replacement functions
> for asinh, acosh, atanh and log1p and yet, the python2.6.dll does not export
> such symbols leading to linking errors when compiling numpy.
>
>
> Extract from Maya's provided pyconfig.h:
> // Maya doesn't like a couple of these, as we have our own
> //typedef int pid_t;
>
> /* Define to 1 if you have the `log1p' function. */
> #define HAVE_LOG1P 1
>
> /* Define to 1 if you have the `acosh' function. */
> #define HAVE_ACOSH 1
> /* Define to 1 if you have the `asinh' function. */
> #define HAVE_ASINH 1
> /* Define to 1 if you have the `atanh' function. */
>
> #define HAVE_ATANH 1
>
> You then need to edit numpy source code to manually undefined these macros
> after including Maya's pyconfig.h file. You then need to recompile using
> VS2010sp1."
>
>
> Another consideration for other modules is that there was a change of
> compilers, from VS2008 sp1 to VS2010 sp1.
>
>
>
>
> On Sat, Apr 20, 2013 at 3:06 AM, Daniel Sanchez <[email protected]> wrote:
>
> Ok, I've been thinking about it so maybe I'll try and compile it.
>
>
>
> Thanks!!!
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
>
> To post to this group, send email to [email protected].
>
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.