2010/11/5 Dan Halbert <halb...@halwitz.org>:
> Hi. My PATH is shown below. I see that git is really git.cmd, so it's 
> probably messing up inside that script.
>
> 'C:\\Qt\\4.7.0\\bin;C:\\Python26\\Lib\\site-packages\\PyQt4\\bin;C:\\Program 
> Files\\CollabNet\\Subversion 
> Client;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program
>  Files\\SecureCRT\\;C:\\Program Files\\MATLAB\\R2010a\\bin;C:\\Program 
> Files\\GtkSharp\\2.12\\bin;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0;C:\\Program
>  Files\\Common Files\\Roxio Shared\\DLLShared\\;C:\\Program Files\\Common 
> Files\\Roxio Shared\\9.0\\DLLShared\\;C:\\Program Files\\Windows 
> Imaging\\;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program 
> Files\\MATLAB\\MATLAB Compiler 
> Runtime\\v710\\runtime\\win32;C:\\Python26;C:\\Program 
> Files\\TortoiseSVN\\bin;C:\\Program Files\\TortoiseHg\\;C:\\Program 
> Files\\CMake 2.8\\bin;C:\\Program Files\\Git\\cmd'

The PATH was set by git installer or manually by You ?
Please change the path to C:\\Program Files\\Git\\bin in PATH.

>
> This seems to be a build of a test, not the test itself. The build stops 
> after this error. Here is a more complete transcript. I have shortened the 
> paths to make it easier to read:
>
> [ 99%] Building CXX object 
> tests/pysidetest/CMakeFiles/pysidetest.dir/moc_testobject.cxx.obj
> moc_testobject.cxx
> ...\pysidetest\moc_testobject.cxx(46) : warning C4273: 'staticMetaObject' : 
> inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'public: static QMetaObject const TestObject::staticMetaObject'
> ...\pysidetest\moc_testobject.cxx(46) : error C2491: 
> 'TestObject::staticMetaObject' : definition of dllimport static data member 
> not allowed
> ...\pysidetest\moc_testobject.cxx(56) : warning C4273: 
> 'TestObject::metaObject' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'metaObject'
> ...\pysidetest\moc_testobject.cxx(61) : warning C4273: 
> 'TestObject::qt_metacast' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'qt_metacast'
> ...\pysidetest\moc_testobject.cxx(69) : warning C4273: 
> 'TestObject::qt_metacall' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(9) : see previous 
> definition of 'qt_metacall'
> ...\pysidetest\moc_testobject.cxx(87) : warning C4273: 'TestObject::idValue' 
> : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(19) : see previous 
> definition of 'idValue'
> ...\pysidetest\moc_testobject.cxx(94) : warning C4273: 
> 'TestObject::justASignal' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(20) : see previous 
> definition of 'justASignal'
> ...\pysidetest\moc_testobject.cxx(100) : warning C4273: 
> 'TestObject::staticMethodDouble' : inconsistent dll linkage
> ...\pysidetest\../../../tests/pysidetest/testobject.h(21) : see previous 
> definition of 'staticMethodDouble'
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return 
> code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 
> 9.0\vc\bin\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 
> 9.0\vc\bin\nmake.exe"' : return code '0x2'
> Stop.
> Traceback (most recent call last):
>  File "create_package.py", line 360, in main
>  compile_module(module)
>  File "create_package.py", line 175, in compile_module
>  raise Exception("Error compiling " + module[0])
> Exception: Error compiling pyside
> None
>

I don't understand why the tests are building because i set the
-DBUILD_TESTS=False in create_script.py at line 160.

Regards
-Roman
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to