[vtkusers] Compiling errors 'conio.h', cygwin
David Partyka
david.partyka at kitware.com
Tue Apr 5 16:13:47 EDT 2011
VTK_USE_BOOST is a cmake setting that you can set to enable building
features that use boost. I do have the cygwin boost package installed and
was able to successfully compile VTK from the git repository. To access it
see this wiki.
http://www.vtk.org/Wiki/VTK/Git
On Tue, Apr 5, 2011 at 4:07 PM, <JoBucher at web.de> wrote:
> I took the latest tar.gz-source from the homepage. So I have to set
> VTK_USE_BOOST as environment variable or as configure in the cmake-process?
> What is git? is that the repository for the latest developments? I will try
> that next. Do you also have the libboost in cygwin installed?
>
> ------------------------------
> *Von:* "David Partyka" <david.partyka at kitware.com>
> *Gesendet:* 05.04.2011 15:43:51
>
> *An:* JoBucher at web.de
> *Betreff:* Re: [vtkusers] Compiling errors 'conio.h', cygwin
>
> Hi Joe, which VTK source are you compiling? Are you using a release tar.gz
> or a clone from the git repo? I just did a build (with VTK_USE_BOOST ON) in
> cygwin and didn't experience any compile errors, using vtk master on git.
>
> On Tue, Apr 5, 2011 at 2:32 AM, <JoBucher at web.de> wrote:
>
>> Thanks for your answer.
>>
>> In Cygwin, I have libboost installed. Is that a problem? Why are the
>> errors caused?
>> With libmesh I have similar problems in the make-process. The
>> libmesh-people told me, that it is due to old c++-idioma, which they
>> corrected, but now the errors appear in the linking process. Maybe it is
>> similar here.
>>
>> I would prefer, using it on cygwin, because I want to use it together with
>> Petsc and libmesh. Do know if I can seperate this tools, for example, VTK
>> takes some data from Petsc/libmesh which is stored locally ond the disc,
>> then it should be possible to let VTK run on Win. If the connection to the
>> simulation software is very tight, then it would maybe be better to install
>> VTK on cygwin. Can you give me some advice in this question, please?
>>
>> Regards
>> Joe
>>
>> ------------------------------
>> *Von:* "David Partyka" <david.partyka at kitware.com>
>> *Gesendet:* 04.04.2011 21:27:30
>> *An:* JoBucher at web.de
>> *Betreff:* Re: [vtkusers] Compiling errors 'conio.h', cygwin
>>
>>
>>
>> Hi Joe, I'd recommend Visual Studio for building on Windows as it is much
>> more widely tested.
>>
>> If you must use cygwin, my first question would be; did you also install
>> Boost? If so, you could uninstall that and then VTK shouldn't try to build
>> the BSPTree functionality.
>>
>> On Mon, Apr 4, 2011 at 3:17 PM, <JoBucher at web.de> wrote:
>>
>>> No one here with an idea?
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: JoBucher at web.de
>>> Gesendet: 01.04.2011 16:36:38
>>> An: "Vtk User" <vtkusers at vtk.org>
>>> Betreff: [vtkusers] Compiling errors 'conio.h', cygwin
>>>
>>>
>>> >Dear all,
>>> >
>>> >I am trying to compile VTK on cygwin. In the make-process at 89% make
>>> stops with following error messages:
>>> >
>>> >/home/bucher/soft/VTK/Graphics/Testing/Cxx/TestBSPTree.cxx:51:21: error:
>>> conio.h
>>> >: No such file or directory
>>> >/home/bucher/soft/VTK/Graphics/Testing/Cxx/TestBSPTree.cxx: In function
>>> 'int Tes
>>> >tBSPTree(int, char**)':
>>> >/home/bucher/soft/VTK/Graphics/Testing/Cxx/TestBSPTree.cxx:149: error:
>>> 'kbhit' w
>>> >as not declared in this scope
>>> >/home/bucher/soft/VTK/Graphics/Testing/Cxx/TestBSPTree.cxx:150: error:
>>> 'getch' w
>>> >as not declared in this scope
>>> >make[2]: ***
>>> [Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/TestBSPTree.c
>>> >xx.o] Error 1
>>> >make[1]: *** [Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all]
>>> Error 2
>>> >make: *** [all] Error 2
>>> >
>>> >How can I fix this problem? Any help?
>>> >
>>> >(I have installed cygwin only recently on my Win64-system with all
>>> packages available.
>>> >Performed also a rebase-process due to PETSC-python-problems, which then
>>> worked fine)
>>> >
>>> >Regards
>>> >Joe
>>> >___________________________________________________________
>>> >Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir
>>> >belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.web.de
>>> >_______________________________________________
>>> >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
>>>
>>> ___________________________________________________________
>>> Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir
>>> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.web.de
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir
>> belohnen Sie mit bis zu 50,- Euro! *https://freundschaftswerbung.web.de*<https://freundschaftswerbung.web.de>
>>
>
>
> Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! *https://freundschaftswerbung.web.de*<https://freundschaftswerbung.web.de>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110405/d1db5994/attachment.htm>
More information about the vtkusers
mailing list