Hi,

2010/11/4 Dan Halbert <halb...@halwitz.org>:
> I have been trying to do a Windows build of the git head of Pyside, but have
> been having trouble.
>
>
>
> 1. I am using full Visual Studio 2008 (not Express)
>

this is no problem, any version of Visual Studio 2008 is supported

> 2. I had to change create_package.py in pyside-pkgsetup-0.4.2 to use
> shell=True. Otherwise it could not find the git executable (which is in
> %PATH%). I am a little mystified why this worked for anyone else.
>

Can You send me your %PATH% environment variable value so I can check
why the git was not found ?

>
>
> def run_process(*args):
>
> p = subprocess.Popen(args, shell=True)   # was False
>
> ...
>
>
>
> 3. Now, with the latest git head as of a couple of hours ago, I get this
> error late in the build:

although the test failes, the build should complete, because the test
compiling error is just printed to console and build continues:

    print "Testing " + module[0] + "..."

    if run_process("ctest") != 0:

        print "Some " + module[0] + " tests failed!"


>
>
>
> [ 99%] Building CXX object
> tests/pysidetest/CMakeFiles/pysidetest.dir/moc_testobject.cxx.obj
> moc_testobject.cxx
> C:\Documents and
> Settings\dhalbert\Desktop\pyside-pkgsetup-0.4.2\modules\pyside\build\tests\pysidetest\moc_testobject.cxx(46)
> : warning C4273: 'staticMetaObject' : inconsistent dll linkage
> c:\documents and
> settings\dhalbert\desktop\pyside-pkgsetup-0.4.2\modules\pyside\build\tests\pysidetest\../../../tests/pysidetest/testobject.h(9)
> : see previous definition of 'public: static QMetaObject const
> TestObject::staticMetaObject'
> C:\Documents and
> Settings\dhalbert\Desktop\pyside-pkgsetup-0.4.2\modules\pyside\build\tests\pysidetest\moc_testobject.cxx(46)
> : error C2491: 'TestObject::staticMetaObject' : definition of dllimport
> static data member not allowed
>
>
>
> Any ideas why this is not working? I'm a bit stuck at the moment, as I'm
> hitting the 0.4.2 crash on termination that has many duplicate bugs in
> Bugzilla and need a later version. If 0.4.3 is imminent, I could wait for
> that. Does anyone publish nightly (or more often) Windows builds?
>
>
>
> Thanks,
>
> Dan
>
>
>
>
>
> _______________________________________________
> PySide mailing list
> PySide@lists.openbossa.org
> http://lists.openbossa.org/listinfo/pyside
>
>
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to