Building python on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I'm walking step by step here!
I already sucessfully compile and run the pjsua in C into windows(using
Visual Studio 2008) and Linux.
I also compiled the python libraries into linux and used it.
But, I'm having problems to compile the python libraries under Windows.
I just compiled the pjsua with the Visual Studio 2008, come to the python
dir and
execute the comands bellow

E:\Documents and
Settings\Administrador\Desktop\pjsip\pjsip-apps\src\python>e:\P
ython25\python.exe setup.py install "-c mingw32"
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option -m not recognized

E:\Documents and
Settings\Administrador\Desktop\pjsip\pjsip-apps\src\python>e:\P
ython25\python.exe setup.py install
running install
running build
running build_ext
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.

E:\Documents and
Settings\Administrador\Desktop\pjsip\pjsip-apps\src\python>e:\P
ython25\python.exe setup.py install -c mingw32
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'mingw32'

The mingw32 is currentily in my system path.
Anyone has an idea of what I'm doing wrong?

Since now, thanks for the attention.

Regardless,

-- 
Lucas Rosa Galego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080718/275f58bf/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux