[vtkusers] error when building vtk snapshot

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Tue Nov 23 12:52:26 EST 2010


I gorgot to mention that I am using my own compiled version of Qt, PyQt and Sip.

Qt: v4.7.1
Sip: v4.11.2
PyQt: v4.8.1


On Tue, Nov 23, 2010 at 12:50 PM, Lic. José M. Rodriguez Bacallao
<jmrbcu at gmail.com> wrote:
> well, PYTHON_INCLUDE_DIR is pointing to: /usr/include/python2.6,
> that's the path where python.h live.
>
> this is the complete error:
>
> Building CXX object
> GUISupport/Qt/CMakeFiles/QVTKPython.dir/sipQVTKPythonQVTKWidget.cpp.o
> In file included from
> /home/jmrbcu/installs/development/imagis/vtk/build/GUISupport/Qt/sipAPIQVTKPython.h:11,
>                 from
> /home/jmrbcu/installs/development/imagis/vtk/build/GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp:7:
> /home/jmrbcu/bin/imagis/third_party/sip/include/python2.6/sip.h:32:
> fatal error: Python.h: No such file or directory
> compilation terminated.
> make[2]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/sipQVTKPythonQVTKWidget.cpp.o]
> Error 1
> make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Error 2
> make: *** [all] Error 2
>
>
> On Tue, Nov 23, 2010 at 12:44 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
>> hmm... How about PYTHON_INCLUDE_DIR, is that set?
>>
>> What is being built when you get the error? Maybe that will help someone more knowledgeable diagnose the problem...
>>
>> -Eric
>>
>> On Nov 23, 2010, at 12:25 PM, Lic. José M. Rodriguez Bacallao wrote:
>>
>>> no, SIP_INCLUDE_DIR is pointing to where sip.h live.
>>>
>>> On Tue, Nov 23, 2010 at 11:44 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:
>>>> Is your SIP_INCLUDE_DIR set to that directory?
>>>>
>>>> -Eric
>>>>
>>>> ------------------------------------------------------
>>>> Eric E Monson
>>>> Duke Visualization Technology Group
>>>>
>>>>
>>>> On Nov 23, 2010, at 11:25 AM, Lic. José M. Rodriguez Bacallao wrote:
>>>>
>>>>> hi folks, yesterday I downloaded a vtk snapshot and when I try to
>>>>> build it with the python bindings using sip I get the following error:
>>>>>
>>>>> "fatal error: Python.h: No such file or directory"
>>>>>
>>>>> and yes, I have Python.h in my system (ubuntu 10.10), it's located in
>>>>> /usr/include/python2.6/
>>>>>
>>>>> any suggestions?
>>>>>
>>>>> --
>>>>> 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
>>>>> -----------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Powered by www.kitware.com
>>>>>
>>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>>>
>>>>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> 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