Cython 0.17 beta 4 released - final release candidate
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Stefan Behnel <stefan... @behnel.de>
Date: Thu, 30 Aug 2012 11:22:19 +0200
Local: Thurs, Aug 30 2012 5:22 am
Subject: Cython 0.17 beta 4 released - final release candidate
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Czarek Tomczak <czarek.tomc... @gmail.com>
Date: Thu, 30 Aug 2012 06:35:40 -0700 (PDT)
Local: Thurs, Aug 30 2012 9:35 am
Subject: Re: Cython 0.17 beta 4 released - final release candidate
Still getting error when compiling using Python 3.2, seems like a typo in path to python.lib file, I've reported it earlier for the beta 3 release: https://groups.google.com/forum/?fromgroups=#!topic/cython-users/Tute... C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo
> /INCREMENTAL:NO /LIBPATH:./ "/LIBPATH:c:/Progr > am Files/Microsoft SDKs/Windows/v7.1/Lib/" /LIBPATH:./../httpauth/Release/ > /LIBPATH:./../v8functionhandler/Release/ /LIB > PATH:./../clienthandler/Release/ /LIBPATH:d:\python32\libs > /LIBPATH:d:\python32\PCbuild libcef.lib libcef_dll_wrapper.li > b User32.lib httpauth.lib v8functionhandler.lib clienthandler.lib > /EXPORT:PyInit_cefpython build\temp.win32-3.2\Release\ > cefpython.obj /OUT:D:\cefpython\src\setup\cefpython.pyd > /IMPLIB:build\temp.win32-3.2\Release\cefpython.lib /MANIFESTFILE > :build\temp.win32-3.2\Release\cefpython.pyd.manifest /NODEFAULTLIB:libcmt > /NODEFAULTLIB:msvcprt /ignore:4217 > *LINK : fatal error LNK1104: cannot open file 'python27.lib'*
Cheers, Czarek.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Stefan Behnel <stefan... @behnel.de>
Date: Thu, 30 Aug 2012 15:41:52 +0200
Local: Thurs, Aug 30 2012 9:41 am
Subject: Re: [cython-users] Re: Cython 0.17 beta 4 released - final release candidate
Czarek Tomczak, 30.08.2012 15:35:
> Still getting error when compiling using Python 3.2, seems like a typo in
> path to python.lib file, I've reported it earlier for the beta 3 release:
>
https://groups.google.com/forum/?fromgroups=#!topic/cython-users/Tute...
> C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo >> /INCREMENTAL:NO /LIBPATH:./ "/LIBPATH:c:/Progr
>> am Files/Microsoft SDKs/Windows/v7.1/Lib/" /LIBPATH:./../httpauth/Release/ >> /LIBPATH:./../v8functionhandler/Release/ /LIB
>> PATH:./../clienthandler/Release/ /LIBPATH:d:\python32\libs >> /LIBPATH:d:\python32\PCbuild libcef.lib libcef_dll_wrapper.li
>> b User32.lib httpauth.lib v8functionhandler.lib clienthandler.lib >> /EXPORT:PyInit_cefpython build\temp.win32-3.2\Release\
>> cefpython.obj /OUT:D:\cefpython\src\setup\cefpython.pyd >> /IMPLIB:build\temp.win32-3.2\Release\cefpython.lib /MANIFESTFILE
>> :build\temp.win32-3.2\Release\cefpython.pyd.manifest /NODEFAULTLIB:libcmt >> /NODEFAULTLIB:msvcprt /ignore:4217
>> *LINK : fatal error LNK1104: cannot open file 'python27.lib'*
Ah, ok, I had assumed that this was a bug in your setup.py (or an otherwise
broken build configuration on your side).
Is the setup.py file available somewhere?
Stefan
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Czarek Tomczak <czarek.tomc... @gmail.com>
Date: Thu, 30 Aug 2012 07:00:25 -0700 (PDT)
Local: Thurs, Aug 30 2012 10:00 am
Subject: Re: [cython-users] Re: Cython 0.17 beta 4 released - final release candidate
It is cefpython project I'm compiling, setup.py is here: http://code.google.com/p/cefpython/source/browse/setup/setup.py
It worked fine using Cython 0.16 & Python 3.2 so I don't think this is a bug in my setup.
Czarek.
Ah, ok, I had assumed that this was a bug in your setup.py (or an otherwise
> broken build configuration on your side).
> Is the setup.py file available somewhere?
> Stefan
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Czarek Tomczak <czarek.tomc... @gmail.com>
Date: Thu, 30 Aug 2012 07:13:04 -0700 (PDT)
Local: Thurs, Aug 30 2012 10:13 am
Subject: Re: [cython-users] Re: Cython 0.17 beta 4 released - final release candidate
Okay, don't bother this is most probably bug in clienthandler.lib that I'm including, as I've just found "python27" references inside that .lib file:
> /DEFAULTLIB:"python27.lib"
And some others. Czarek.
On Thursday, August 30, 2012 3:00:25 PM UTC+1, Czarek Tomczak wrote:
> It is cefpython project I'm compiling, setup.py is here:
> http://code.google.com/p/cefpython/source/browse/setup/setup.py
> It worked fine using Cython 0.16 & Python 3.2 so I don't think this is a > bug in my setup.
> Czarek.
> Ah, ok, I had assumed that this was a bug in your setup.py (or an >> otherwise >> broken build configuration on your side).
>> Is the setup.py file available somewhere?
>> Stefan
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Czarek Tomczak <czarek.tomc... @gmail.com>
Date: Thu, 30 Aug 2012 08:28:31 -0700 (PDT)
Local: Thurs, Aug 30 2012 11:28 am
Subject: Re: Cython 0.17 beta 4 released - final release candidate
This time I have a real bug, read on.. I've created a separate VS project for my clienthandler.cpp so that it now creates 2 different libs - one for Python 2.7 and the other for Python 3.2, and I've come into the same problem I've reported earlier for the beta 3 release:
https://groups.google.com/d/msg/cython-users/Tutevv3cSVc/fOuoGm1DZAIJ
> d:\cefpython\src\setup/cefpython.h(15) : error C3646: > 'RequestHandler_OnBeforeBrowse' : unknown override specifier > d:\cefpython\src\setup/cefpython.h(15) : error C2091: function returns > function > d:\cefpython\src\setup/cefpython.h(15) : error C4430: missing type > specifier - int assumed. Note: C++ does not support default-int
These errors happen when you include "modulename.h" - the file that is generated by Cython, for functions that have "public" declaration. Functions in this file are declared this way:
__PYX_EXTERN_C DL_IMPORT(bool)
> RequestHandler_OnBeforeBrowse(CefRefPtr<CefBrowser>, CefRefPtr<CefFrame>, > CefRefPtr<CefRequest>, enum cef_handler_navtype_t, bool);
These errors about "unknown override specifier" are happening because: *DL_IMPORT is not defined in Python 3.2 sources.*
In Python 2.7 in Python.h you have:
#ifndef DL_IMPORT /* declarations for DLL import/export */
> #define DL_IMPORT(RTYPE) RTYPE > #endif > #ifndef DL_EXPORT /* declarations for DLL import/export */ > #define DL_EXPORT(RTYPE) RTYPE > #endif
But in Python 3.2 there are no such defines. The solution would be to add the definitions above to the "modulename.h".
Cheers, Czarek
You must
Sign in before you can post messages.
You do not have the permission required to post.