[vtkusers] cannot build vtk snapshot with python SIP wrappers

David Gobbi david.gobbi at gmail.com
Thu Sep 23 11:39:42 EDT 2010


Right now on your system, there is this file:

/usr/include/python2.5/sip.h

Maybe you have python 2.6 installed, or python 2.4, but whichever, you
will find that sip file.  It comes from the sip 4.10.5 that is
installed on your system.  When you compile VTK, that is the sip
header file that is used.  So you cannot use sip 4.11.1 with your
project, because the 4.10.5 sip header file has been installed.  Cmake
cannot remove the existing header file.  You see the problem now?


On Thu, Sep 23, 2010 at 9:32 AM, Lic. José M. Rodriguez Bacallao
<jmrbcu at gmail.com> wrote:
> but if I specify in cmake to use SIP 4.11.1, what is the problem?
>
> On 9/23/10, David Gobbi <david.gobbi at gmail.com> wrote:
>> As long as you have sip 4.10.5 installed on your system, you cannot
>> use 4.11 in CMake, because when you compile VTK it will find the sip
>> 4.10.5 header files that are installed on your system.
>>
>> So don't use sip 4.11.1  Use sip 4.10.5.
>>
>>   David
>>
>>
>> On Thu, Sep 23, 2010 at 7:50 AM, Lic. José M. Rodriguez Bacallao
>> <jmrbcu at gmail.com> wrote:
>>> and how to select just one (4.11.1), in cmake I have selected 4.11.1
>>> but the error happend.
>>>
>>> On 9/23/10, David Gobbi <david.gobbi at gmail.com> wrote:
>>>> Nothing wrong with it, but It conflicts with the SIP 4.10.5 that you
>>>> have on your system.
>>>>
>>>> Different versions of SIP are incompatible with each other.
>>>>
>>>>    David
>>>>
>>>>
>>>> On Thu, Sep 23, 2010 at 7:35 AM, Lic. José M. Rodriguez Bacallao
>>>> <jmrbcu at gmail.com> wrote:
>>>>> and why not with SIP 4.11.1?, is there any problems with it?
>>>>>
>>>>> On 9/23/10, David Gobbi <david.gobbi at gmail.com> wrote:
>>>>>> On Thu, Sep 23, 2010 at 7:21 AM, Lic. José M. Rodriguez Bacallao
>>>>>> <jmrbcu at gmail.com> wrote:
>>>>>>> yes, I am using arch linux with theese packages versions:
>>>>>>>
>>>>>>> Qt: 4.6.3
>>>>>>> PyQt: 4.7.4
>>>>>>> SIP: 4.10.5
>>>>>>>
>>>>>>> but when I configure the build process I use version 4.11.1 of sip
>>>>>>
>>>>>> Then there's your problem.  Do everything with SIP 4.10.5.
>>>>>>
>>>>>>    David
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lic. José M. Rodriguez Bacallao
>>>>> Centro de Biofisica Medica
>>>>> -----------------------------------------------------------------
>>>>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>>>>> mismo.
>>>>>
>>>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>>>> por profesionales
>>>>> -----------------------------------------------------------------
>>>>>
>>>>
>>>
>>>
>>> --
>>> Lic. José M. Rodriguez Bacallao
>>> Centro de Biofisica Medica
>>> -----------------------------------------------------------------
>>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>>> mismo.
>>>
>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>> por profesionales
>>> -----------------------------------------------------------------
>>>
>>
>
>
> --
> Lic. José M. Rodriguez Bacallao
> Centro de Biofisica Medica
> -----------------------------------------------------------------
> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
>
> Recuerda: El arca de Noe fue construida por aficionados, el titanic
> por profesionales
> -----------------------------------------------------------------
>



More information about the vtkusers mailing list