You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I try to build pyside using pyside packaging setuptools (https://github.com/PySide/packaging/tree/master/setuptools).
There is a compilation error with the fonction deallocData. This function is declared with one parameter into the header "basewrapper_p.h" but used with 1 and 2 parameters into the cpp file.
The error message:
2012-04-17 15:05:05,736 - setuptools - INFO - C:\pyside_packaging\setuptools\modules\Shiboken\libshiboken\basewrapper.cpp(220) : error C2660: 'Shiboken::Object:
:deallocData' : function does not take 2 arguments
2012-04-17 15:05:05,736 - setuptools - INFO - C:\pyside_packaging\setuptools\modules\Shiboken\libshiboken\basewrapper.cpp(228) : error C2660: 'Shiboken::Object:
:deallocData' : function does not take 2 arguments
2012-04-17 15:05:05,737 - setuptools - INFO - C:\pyside_packaging\setuptools\modules\Shiboken\libshiboken\basewrapper.cpp(461) : error C2660: 'Shiboken::Object:
:deallocData' : function does not take 2 arguments
2012-04-17 15:05:05,740 - setuptools - INFO - NMAKE : fatal error U1077: 'c:\PROGRA2\MICROS1.0\VC\bin\amd64\cl.exe' : return code '0x2'
I use visual c++ 2008.
The code seems to be fixed into the master branch. But I would like to use a release version.
Regards,
Fabien
The text was updated successfully, but these errors were encountered:
In the version 1.1.0, that we can download here: http://qt-project.org/wiki/PySideDownloads, the header file "basewrapper_p.h" is not the same than the version tagged 1.1.0 on github:
/**
Destroy internal data
*/
void deallocData(SbkObject self, bool doCleanup);
So using this version we don't have the same compilation error.
Maybe the tag is not at the right place...
I will try to rebuild version 1.1.0, but if You want to use stable version why You don't download the binaries from PySide webside, is there something missing in official binaries?
Hi,
To answer your question : I need to recompile PySide because my goal is to do a python binding of my C++ project. I can’t use the binary executable since I need my PySide to match the exact Qt version I am using (4.7.2 against 4.7.4 for the binary installer) and above all, I need to have some development files (PySide headers like pyside_global.h and typesystem xml files) to bind custom classes that inherit Qt using Shiboken.
Those files are not available when installing PySide using the executable. Maybe there is another way to get those files and avoid manual compilation ?
Hi,
I try to build pyside using pyside packaging setuptools (https://github.com/PySide/packaging/tree/master/setuptools).
There is a compilation error with the fonction deallocData. This function is declared with one parameter into the header "basewrapper_p.h" but used with 1 and 2 parameters into the cpp file.
$ grep -nri deallocData .
./libshiboken/basewrapper.cpp:220: Shiboken::Object::deallocData(sbkObj, true);
./libshiboken/basewrapper.cpp:228: Shiboken::Object::deallocData(sbkObj, true);
./libshiboken/basewrapper.cpp:239: Shiboken::Object::deallocData(sbkObj);
./libshiboken/basewrapper.cpp:461: Shiboken::Object::deallocData(m_pyObj, true);
./libshiboken/basewrapper.cpp:1206:void deallocData(SbkObject* self, bool cleanup)
./libshiboken/basewrapper_p.h:262:void deallocData(SbkObject* self);
https://github.com/PySide/Shiboken/blob/1.1.0/libshiboken/basewrapper_p.h#L262
namespace Shiboken
{
namespace Object
{
/**
*/
void deallocData(SbkObject self);
} // namespace Object
} // namespace Shiboken
https://github.com/PySide/Shiboken/blob/1.1.0/libshiboken/basewrapper.cpp#L220
Shiboken::Object::deallocData(sbkObj, true);
The error message:
2012-04-17 15:05:05,736 - setuptools - INFO - C:\pyside_packaging\setuptools\modules\Shiboken\libshiboken\basewrapper.cpp(220) : error C2660: 'Shiboken::Object:
:deallocData' : function does not take 2 arguments
2012-04-17 15:05:05,736 - setuptools - INFO - C:\pyside_packaging\setuptools\modules\Shiboken\libshiboken\basewrapper.cpp(228) : error C2660: 'Shiboken::Object:
:deallocData' : function does not take 2 arguments
2012-04-17 15:05:05,737 - setuptools - INFO - C:\pyside_packaging\setuptools\modules\Shiboken\libshiboken\basewrapper.cpp(461) : error C2660: 'Shiboken::Object:
:deallocData' : function does not take 2 arguments
2012-04-17 15:05:05,740 - setuptools - INFO - NMAKE : fatal error U1077: 'c:\PROGRA
2\MICROS1.0\VC\bin\amd64\cl.exe' : return code '0x2'I use visual c++ 2008.
The code seems to be fixed into the master branch. But I would like to use a release version.
Regards,
Fabien
The text was updated successfully, but these errors were encountered: