[Insight-users] GLX Support
Luis Ibanez
luis . ibanez at kitware . com
Sat, 06 Sep 2003 15:19:01 -0400
Hi Alejandro,
This is a display issue totally unrelated to ITK.
GLX support should be offered by the X-Server
in your local machine.
Under linux this has been included in XFree86
since version 4.0.
http://www . xfree86 . org/4 . 0 . 1/RELNOTES3 . html#16
Take a look at the following links
http://www . xfree86 . org/
http://www . xfree86 . org/4 . 3 . 0/Status23 . html#23
http://xfree86 . linuxwiki . org/GLX
You may have an old Linux installation, or an old
XFree86 or an incorrect configuration of it.
Also, if you have a GeForce4 card, you may want to
make sure that you install the closed-source NVidia
drivers.
http://www . nvidia . com/page/products . html
The ones for GeForce4 Ti are here:
http://www . nvidia . com/page/geforce4ti . html
Otherwise you will be doing rendering with the
OpenGL support built-in software on the X-server
and be wasting all the money you spent in that
graphics card.
Looks like you will have a fun weekend ahead
playing with your Linux configuration.
Regards,
Luis
---------------------------
Alejandro Frangi wrote:
> Luis,
>
> Actually I did all you said. Something was probably messed up as I
> simply remade it and things work now. BTW, I had again a problem which
> has occured to me several times (e.g. with VTK) and do not know how to
> solve. I am working agaist a linux cluster but displaying in my PC with
> XP. In some applications and also depending on the particular Linux
> machine I get the following message
>
> [root at her002 InsightApplications]# /extra/local/bin/ImageViewer
> Loading File: /home/cv/afrangi/epicardio.vtk
> ...Done Loading File
> For directions on interacting with the window,
> type 'h' within the window
> Xlib: extension "GLX" missing on display "localhost:14.0".
> Insufficient GL support
>
> The windonw of the Viewer opens but it does not display anything. Do
> you have any idea on where to get the required GLX libs? My PC has a
> Geforce4 Ti graphics card so I do not believe it is really a hardware
> limitation.
>
> Thanks,
>
> Alex
>
> -----Mensaje original-----
> De: Luis Ibanez [mailto:luis . ibanez at kitware . com]
> Enviado el: sábado, 06 de septiembre de 2003 19:16
> Para: Alejandro Frangi
> CC: Insight-users at public . kitware . com
> Asunto: Re: [Insight-users] Build errors during ImageViewer application
>
>
>
> Hi Alejandro,
>
> This errors mean that you haven't configured FLTK.
>
> Please do the following:
>
> Run ccmake again (you seem to be working on Unix)
> pass to the advanced mode (by typing "t" )
>
> Then configure the FLTK related entries as
> was explained in Step 10 of the message:
> http://www . itk . org/pipermail/insight-users/2003-September/004803 . html
>
> If you miss to configure FTLK, none of the applications
> reguiring FLTK will be built. (ImageViewer among them).
>
>
> Please *DO NOT* run ccmake on the subdirectories.
>
> The applications have been arranged to be configured
> from the top directory "InsightApplications". The reason
> for arranging the applications this way is that there are many
> of them and for testing purposes it is more consistent to have
> a top configurarion.
>
> Also, note that in Unix you *MUST* install FLTK. That is, after
> building it, you must do the "make install" process. You can
> choose any directory for installing it, but make sure you perform
> the installation since a number of Header files are renamed during
> this process. [ This is only if you are building FLTK by yourself
> instead of using one already installed in your system ]
>
>
>
> Regards,
>
>
> Luis
>
>
> ------------------------
> Alejandro Frangi wrote:
>
>>Luis,
>>
>> I still get the following Cmake problem when trying to compile the
>>viewer. Any idea?
>> Also, why so many applications do not compile by themselves? The
>
> error
>
>>below comes when trying to ccmake from the ImageViewer directory as
>>starting from the application directory does not build this and many
>>other application.
>>
>> Alex
>>
>> CMake Error: Error in cmake code at
>> /extra/local/src/InsightApplications/ImageViewer/CMakeLists.txt:22:
>> Unknown CMake command "ADD_GUI_EXECUTABLE".
>>
>> CMake Error: Error in cmake code at
>> /extra/local/src/InsightApplications/ImageViewer/CMakeLists.txt:28:
>> FLTK_WRAP_UI called with FLTK_WRAP_UI undefined
>>
>> CMake Error: Error in cmake code at
>> /extra/local/src/InsightApplications/ImageViewer/CMakeLists.txt:29:
>> Unknown CMake command "ITK_DISABLE_FLTK_GENERATED_WARNINGS".
>>
>>
>>
>>-----Mensaje original-----
>>De: Luis Ibanez [mailto:luis . ibanez at kitware . com]
>>Enviado el: sábado, 06 de septiembre de 2003 12:54
>>Para: Alejandro Frangi
>>CC: insight-users at public . kitware . com
>>Asunto: Re: [Insight-users] Build errors during ImageViewer
>
> application
>
>>
>>HI Alejandro,
>>
>>It seems that you are using version 1.2.
>>
>>We are about to release version 1.4, most
>>of these third-party library dependencies
>>have been solved since version 1.2. The VXL
>>libraries have also been renamed.
>>
>>You may want to give it a try to the CVS
>>version, which is pretty much what you will
>>see in ITK 1.4.
>>
>>You can get a tarball from WinCVS at
>>
>
> http://www . itk . org/cgi-bin/viewcvs . cgi/cvs_root . tar . gz?tarball=1&cvsroot
>
>>=Insight
>>
>>You may want to look at the previous message
>>concerning the typical procedure for building the applications
>>http://www . itk . org/pipermail/insight-users/2003-September/004803 . html
>>
>>
>>Please let us know if you find any problems.
>>
>>
>>Thanks
>>
>>
>> Luis
>>
>>
>>
>>----------------------
>>Alejandro Frangi wrote:
>>
>>
>>>Luis,
>>>
>>>One thing. I also had some problems in building the applications. In
>>
>>my
>>
>>
>>>opinion you do not easily compile all of them. For instance, in Cmake
>>
>>i
>>
>>
>>>could noy see any way to say where do you have the GLUT libs. On the
>>>other hand, the compilation of ImageViewer depends on having them in
>>>your system. I do have them but somehow they are not recognized by the
>>>cmake, and ImageViewer does not get compiled. Any idea?
>>>
>>>Another point is that some of the applications want to link to
>>>libVXLNumerics. But I do not know how to get this lib from the Insight
>>>installation. I do get a libITKNumerics from the vxl subdir. So, what
>>>happens? Are there two versions of the same lib? Why the applications
>>
>>do
>>
>>
>>>not link to libITKNumerics ?
>>>
>>>Thanks for any clue.
>>>
>>>Alex
>>>
>>>-----Mensaje original-----
>>>De: insight-users-admin at itk . org [mailto:insight-users-admin at itk . org]
>>
>>En
>>
>>
>>>nombre de Luis Ibanez
>>>Enviado el: jueves, 04 de septiembre de 2003 15:40
>>>Para: Sandy April
>>>CC: 'insight-users at itk . org'
>>>Asunto: Re: [Insight-users] Build errors during ImageViewer
>>
>>application
>>
>>
>>>Hi Sandy,
>>>
>>>It is better to keep InsightApplications in a separate folder from
>>>Insight. CMake allow you to select any directory. Simply create a
>>>binary directory for building InsightApplications, and when you
>>>configure with CMake, provide both the Source and Binary directories
>>
>>for
>>
>>
>>>InsightApplications.
>>>
>>>You will be prompted for the ITK_DIR directory (where you built ITK),
>>>and then you will have options for selecting FLTK and VTK.
>>>
>>>Please let us know if you find any problem,
>>>
>>>
>>>Thanks
>>>
>>>
>>> Luis.
>>>
>>>
>>>----------------------
>>>Sandy April wrote:
>>>
>>>
>>>
>>>
>>>>Hi Luis,
>>>>Sorry I needed to confirm again.I have downloaded Insight toolkit,
>>>>cmake in a folder called itk.I have created a folder BITK in that as
>>>
> a
>
>>>
>>>>binary folder.I did setup cmake for Insight toolkit and BITK. I was
>>>>able to run itk. Now I was trying to run insight applications.should
>>>
> I
>
>>>
>>>>include this insight application folder in Insight toolkit folder or
>>>>should I be having the application as a seperate folder in itk
>>>>directory and setup cmake for the application. Please guide me
>>>
> through
>
>>>>*/Luis Ibanez <luis . ibanez at kitware . com>/* wrote:
>>>>
>>>>
>>>> Hi Sandy,
>>>>
>>>>
>>>> Your configuration is missing to link with ITK libraries.
>>>>
>>>> Did you configure InsightApplications using CMake ?
>>>>
>>>> Did you run CMake at the top level of the InsightApplication
>>>> directory ? (not in one of the subdirectories).
>>>>
>>>> Did you provide the binary directory where you built ITK ?
>>>>
>>>>
>>>>
>>>> Luis
>>>>
>>>>
>>>>
>>>> --------------------
>>>> Sandy Gowda wrote:
>>>> > Hi,
>>>> > I have tried to run ImageViewer application. There were no
>>>> compilation
>>>> > error when I try to execute it gave me following errors. It gave
>>>
>>>90
>>>
>>>
>>>
>>>> > errors but I am attaching some errors. Please let me know what I
>>>> should do.
>>>> >
>>>> > --------------------Configuration: itkImageViewer - Win32
>>>> > Debug--------------------
>>>> > Linking...
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> "public:
>>>> > static void ! __cdecl itk::LightObject::operator delete(void *)"
>>>> > (??3LightObject at itk@@SAXPAX at Z )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> "public:
>>>> > static void * __cdecl itk::LightObject::operator new(unsigned
>>>
>>>int)"
>>>
>>>
>>>
>>>> > (??2LightObject at itk@@SAPAXI at Z )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> "public:
>>>> > static class itk::SmartPointer __cdecl
>>>> > itk::ObjectFactoryBase::CreateInstance(char const *)"
>>>> > (?CreateInstance at ObjectFactoryBase@itk@@SA?AV?$SmartPointer
>>>> >
>>>> > @VLightObject at itk@@@2 at PBD@Z)
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: class itk::DataObject * __thiscall
>>>> > itk::ProcessObject::GetOutput(unsigned int)"
>>>> > (?GetOutput at ProcessObject@itk@@IAEPAVDataObj! ect at 2@I at Z
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> > itk::ProcessObject::PropagateResetPipeline(void)"
>>>> > (?PropagateResetPipeline at ProcessObject@itk@@MAEXXZ
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> > itk::ProcessObject::RemoveOutput(class itk::DataObject *)"
>>>> > (?RemoveOutput at ProcessObject@itk@@MAEXPAVDataObject at 2@@Z
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> itk::ProcessObject::AddOutput(class
>>>> > itk::DataObject *)"
>>>> > (?AddOutput at ProcessObject@itk@@MAEXPAVDataObject at 2@@Z
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> > itk::ProcessObject::SetNthOutput(unsigned int,class
>>>> itk::DataObject *)"
>>>> > (?SetNthOutput at ProcessObject@itk@@MAEXIPAVDataObject at 2@@Z
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> > itk::ProcessObject::GenerateOutputRequestedRegion(class
>>>> itk::DataObject
>>>> > *)"
>>>> >
>>>>
>>>>(?GenerateOutputRequestedRegion at ProcessObject@itk@@MAEXPAVDataObject@
>>>
> 2
>
>>>>@@Z
>>>>
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> > itk::ProcessObject::GenerateInputRequestedRegion(void)"
>>>> > (?GenerateInputRequestedRegion at ProcessObject@itk@@MAEXXZ
>>>> > )
>>>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>>>> > "protected: virtual void __thiscall
>>>> > itk::ProcessObject::RemoveInput(class itk::DataObject *)"
>>>> > (?RemoveInput at ProcessObject@itk@@MAEXPAVDataObject at 2@@Z
>>>> > )
>>>> > Can anybody help me. I dont know whether I am doing anything
>>>> wrong if
>>>> > anybody can let me know how to go by using insight application
>>>> it would
>>>> > really help.If i have to use fltk should I download in the same
>>>> folder
>>>> > as insight toolkit and should I use cmake for that. Please let
>>>> me know.
>>>> > Thank you
>>>> >
>>>> >
>>>>
> ------------------------------------------------------------------------
>
>>>> > Do you Yahoo!?
>>>> > Yahoo! SiteBuilder
>>>> > - Free,
>>>> > easy-to-use web site design software
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>
> -
>
>>>>--
>>>>Do you Yahoo!?
>>>>Yahoo! SiteBuilder
>>>><http://us . rd . yahoo . com/evt=10469/*http://sitebuilder . yahoo . com> -
>>>>Free, easy-to-use web site design software
>>>
>>>
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk . org
>>
>>http://www . itk . org/mailman/listinfo/insight-users
>>
>>
>>
>>
>>
>>
>
>
>
>
>