[Insight-users] intmax_t typedef issue with SOViewer

Sylvain SCI gouttard at sci.utah.edu
Fri Feb 5 15:54:59 EST 2010


Luis,

It compiled !!
I had to comment out couple more lines.

Here is the list of the lines i ended up commenting out:
typedef ::int64_t  int64_t; (l.90)
typedef ::uint64_t uint64_t; (l.91)
typedef ::int_fast16_t  int_fast16_t; (l.110)
typedef ::intmax_t  intmax_t; (l.117)
typedef ::uintmax_t uintmax_t; (l.118)

Let me know if you need help to investigate this problem further.
Thanks a lot for your help.

Sylvain



On 02/05/2010 12:21 PM, Luis Ibanez wrote:
> Hi Sylvain,
>
> I would continue commenting out lines....   :-)
>
> I don't think we use any of these types in ITK...
>
> I agree with you, however, in that the real
> problem is somewhere else...
>
> It will be very helpful to reduce this to a
> minimal case that still fails.
>
>
>
>       Luis
>
>
> ------------------------------------------------------------
> On Fri, Feb 5, 2010 at 2:17 PM, Sylvain SCI<gouttard at sci.utah.edu>  wrote:
>    
>> Luis,
>>
>> I tried with commenting out the line 117, but then it gave me an error with
>> the line 118 which is:
>> typedef ::uintmax_t uintmax_t;
>>
>> So as i test, i tried to comment this one out as well. Now it gives me an
>> error for line 90:
>> typedef ::int64_t  int64_t;
>>
>> Should i keep commenting out lines? It seems to me that the problem might
>> come from somewhere else.
>> Thanks for your help
>>
>> Sylvain
>>
>> On 02/05/2010 12:03 PM, Luis Ibanez wrote:
>>      
>>> Hi Sylvain,
>>>
>>> Since you managed to build ITK without problem,
>>> it seem safe to assume that we are witnessing
>>> an interaction between ITK headers (and configuration)
>>> and the SOViewers headers (and configuration).
>>>
>>>
>>> I don't think we actually use intmax_t in ITK....
>>>
>>> so, please give it a try again with your project,
>>> by commenting out line 117 of itkIntTypes.h
>>>
>>> and let's see what comes up...
>>>
>>>
>>>      Thanks
>>>
>>>
>>>             Luis
>>>
>>>
>>> ----------------------------------
>>> On Fri, Feb 5, 2010 at 1:50 PM, Sylvain SCI<gouttard at sci.utah.edu>    wrote:
>>>
>>>        
>>>> Luis,
>>>>
>>>> I did build ITK without any issues.
>>>>
>>>> I added the few lines to my basic main. Now it looks like: (just to make
>>>> sure we're at the same page)
>>>>
>>>> #include<stdint.h>
>>>> #include "inttypes.h"
>>>> #include "stdint.h"
>>>>
>>>> int main()
>>>> {
>>>>   typedef ::intmax_t  intmax_t;
>>>>   typedef     intmax_t    MyType;
>>>>
>>>>   MyType  it;
>>>>
>>>>   return 0;
>>>> }
>>>>
>>>> But i still don't have any error when compiling.
>>>>
>>>> Sylvain
>>>>
>>>>
>>>> On 02/05/2010 11:32 AM, Luis Ibanez wrote:
>>>>
>>>>          
>>>>> Hi Sylvain,
>>>>>
>>>>>
>>>>> Thanks for trying the code and for reporting back.
>>>>>
>>>>> in order to track this problem, we will now have to
>>>>> start taking pieces from
>>>>>
>>>>>       Insight/Code/Common/itkIntTypes.h
>>>>>
>>>>> and progressively adding them to the minimal
>>>>> example, until we manage to replicate the error
>>>>> message.
>>>>>
>>>>> One way of forcing it earlier is to include:
>>>>>
>>>>>            #include "inttypes.h"
>>>>>            #include "stdint.h"
>>>>>
>>>>> in your minimal "main" example.
>>>>>
>>>>> add
>>>>>
>>>>>      typedef ::intmax_t  intmax_t;
>>>>>
>>>>> before the current
>>>>>
>>>>>     typedef     intmax_t    MyType;
>>>>>
>>>>>
>>>>> That sould replicate the context of itkIntTypes.h
>>>>> line 117, where your compilation is reporting the
>>>>> error.
>>>>>
>>>>>
>>>>> Please let us know if that triggers the error.
>>>>>
>>>>>
>>>>> BTW: I presume that you managed to build ITK
>>>>> itself without any errors....     Is that correct ?
>>>>>
>>>>>
>>>>>       Thanks
>>>>>
>>>>>
>>>>>             Luis
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> On Fri, Feb 5, 2010 at 1:18 PM, Sylvain Gouttard<gouttard at sci.utah.edu>
>>>>>   wrote:
>>>>>
>>>>>
>>>>>            
>>>>>> Luis,
>>>>>>
>>>>>> I didn't get any compilation error. I made sure i used the same
>>>>>> compiler.
>>>>>>
>>>>>> Sylvain
>>>>>>
>>>>>> Luis Ibanez wrote:
>>>>>>
>>>>>>
>>>>>>              
>>>>>>> Hi Sylvain,
>>>>>>>
>>>>>>> Please try the following simple program outside of your
>>>>>>> ITK + SOViewer project, and let us know if you get any
>>>>>>> compilation errors ?
>>>>>>>
>>>>>>>
>>>>>>> #include<stdint.h>
>>>>>>> int main()
>>>>>>> {
>>>>>>>     typedef     intmax_t    MyType;
>>>>>>>
>>>>>>>     MyType  it;
>>>>>>>
>>>>>>>     return 0;
>>>>>>> }
>>>>>>>
>>>>>>>
>>>>>>> Please make sure that you use exactly the same compiler
>>>>>>> that you are using for building your ITK+SOViewer project.
>>>>>>>
>>>>>>>
>>>>>>>    Thanks
>>>>>>>
>>>>>>>
>>>>>>>        Luis
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------
>>>>>>> On Fri, Feb 5, 2010 at 12:53 PM, Sylvain SCI<gouttard at sci.utah.edu>
>>>>>>>   wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>                
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I recently updated my linux distribution to Fedora 12, and i'm having
>>>>>>>> issues
>>>>>>>> with the compilation of SOViewer. I feel like it might be due to the
>>>>>>>> compiler (gcc 4.4.2), but i have no idea how i could fix this
>>>>>>>> problem.
>>>>>>>>
>>>>>>>> I use the HEAD versions for ITK and for SOViewer.
>>>>>>>>
>>>>>>>> I copy below my error (pretty long). Any help would be much
>>>>>>>> appreciated
>>>>>>>> !
>>>>>>>> Thanks,
>>>>>>>> Sylvain
>>>>>>>>
>>>>>>>>
>>>>>>>> [ 65%] Building CXX object
>>>>>>>> CMakeFiles/SOViewer.dir/Interactor/sovGlSlicerKeyboardInteractor.o
>>>>>>>> In file included from /usr/include/GL/glext.h:4385,
>>>>>>>> from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/inttypes.h:298: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:298: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:298: error: ‘intmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:301: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:301: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:301: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:301: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:302: error: expected ‘,’ or ‘;’ before
>>>>>>>> ‘throw’
>>>>>>>> /usr/include/inttypes.h:305: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:305: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:305: error: ‘intmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:309: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:309: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:309: error: ‘uintmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:313: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:313: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:313: error: ‘intmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:318: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:318: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:318: error: ‘uintmax_t’ does not name a type
>>>>>>>> In file included from /usr/include/GL/glext.h:4385,
>>>>>>>> from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/inttypes.h:385: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:385: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:385: error: ‘intmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:401: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:401: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:401: error: ‘uintmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:415: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:415: error: reference to ‘intmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:139: error: candidates are: typedef long long
>>>>>>>> int
>>>>>>>> intmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:117:
>>>>>>>> error:
>>>>>>>> typedef intmax_t itk::intmax_t
>>>>>>>> /usr/include/inttypes.h:415: error: ‘intmax_t’ does not name a type
>>>>>>>> /usr/include/inttypes.h:432: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:432: error: reference to ‘uintmax_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:141: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uintmax_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:118:
>>>>>>>> error:
>>>>>>>> typedef uintmax_t itk::uintmax_t
>>>>>>>> /usr/include/inttypes.h:432: error: ‘uintmax_t’ does not name a type
>>>>>>>> In file included from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/GL/glext.h:4389: error: reference to ‘int64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/sys/types.h:198: error: candidates are: typedef long
>>>>>>>> long
>>>>>>>> int
>>>>>>>> int64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:90:
>>>>>>>> error:
>>>>>>>> typedef int64_t itk::int64_t
>>>>>>>> /usr/include/GL/glext.h:4389: error: reference to ‘int64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/sys/types.h:198: error: candidates are: typedef long
>>>>>>>> long
>>>>>>>> int
>>>>>>>> int64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:90:
>>>>>>>> error:
>>>>>>>> typedef int64_t itk::int64_t
>>>>>>>> /usr/include/GL/glext.h:4389: error: ‘int64_t’ does not name a type
>>>>>>>> /usr/include/GL/glext.h:4390: error: reference to ‘uint64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:59: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uint64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:91:
>>>>>>>> error:
>>>>>>>> typedef uint64_t itk::uint64_t
>>>>>>>> /usr/include/GL/glext.h:4390: error: reference to ‘uint64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:59: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uint64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:91:
>>>>>>>> error:
>>>>>>>> typedef uint64_t itk::uint64_t
>>>>>>>> /usr/include/GL/glext.h:4390: error: ‘uint64_t’ does not name a type
>>>>>>>> /usr/include/GL/glext.h:4394: error: reference to ‘int64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/sys/types.h:198: error: candidates are: typedef long
>>>>>>>> long
>>>>>>>> int
>>>>>>>> int64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:90:
>>>>>>>> error:
>>>>>>>> typedef int64_t itk::int64_t
>>>>>>>> /usr/include/GL/glext.h:4394: error: reference to ‘int64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/sys/types.h:198: error: candidates are: typedef long
>>>>>>>> long
>>>>>>>> int
>>>>>>>> int64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:90:
>>>>>>>> error:
>>>>>>>> typedef int64_t itk::int64_t
>>>>>>>> /usr/include/GL/glext.h:4394: error: ‘int64_t’ does not name a type
>>>>>>>> /usr/include/GL/glext.h:4395: error: reference to ‘uint64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:59: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uint64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:91:
>>>>>>>> error:
>>>>>>>> typedef uint64_t itk::uint64_t
>>>>>>>> /usr/include/GL/glext.h:4395: error: reference to ‘uint64_t’ is
>>>>>>>> ambiguous
>>>>>>>> /usr/include/stdint.h:59: error: candidates are: typedef long long
>>>>>>>> unsigned
>>>>>>>> int uint64_t
>>>>>>>> /scratch/gouttard/software/Insight/Code/Common/itkIntTypes.h:91:
>>>>>>>> error:
>>>>>>>> typedef uint64_t itk::uint64_t
>>>>>>>> /usr/include/GL/glext.h:4395: error: ‘uint64_t’ does not name a type
>>>>>>>> In file included from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/GL/glext.h:5104: error: ‘GLint64’ has not been declared
>>>>>>>> /usr/include/GL/glext.h:5105: error: ‘GLint64’ has not been declared
>>>>>>>> In file included from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/GL/glext.h:5904: error: ‘GLuint64’ has not been declared
>>>>>>>> /usr/include/GL/glext.h:5905: error: ‘GLuint64’ has not been declared
>>>>>>>> /usr/include/GL/glext.h:5906: error: ‘GLint64’ has not been declared
>>>>>>>> In file included from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/GL/glext.h:8326: error: ‘GLint64EXT’ has not been
>>>>>>>> declared
>>>>>>>> /usr/include/GL/glext.h:8327: error: ‘GLuint64EXT’ has not been
>>>>>>>> declared
>>>>>>>> In file included from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/GL/glext.h:8676: error: ‘GLuint64EXT’ has not been
>>>>>>>> declared
>>>>>>>> /usr/include/GL/glext.h:8677: error: ‘GLuint64EXT’ has not been
>>>>>>>> declared
>>>>>>>> In file included from /usr/include/GL/gl.h:2090,
>>>>>>>> from /scratch/gouttard/software/SOViewer/Renderer/sovOpenGL.h:25,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/OpenGLSliceTexture.h:22,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicer.h:26,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.txx:23,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/OpenGL/Slicer/sovImageGlRenderMethodSlicerFactory.h:92,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.txx:30,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/RenderMethod/sovGlRenderMethodFactory.h:82,
>>>>>>>> from
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Renderer/sovGlRendererSlicer.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.h:24,
>>>>>>>> from
>>>>>>>>
>>>>>>>>
>>>>>>>> /scratch/gouttard/software/SOViewer/Interactor/sovGlSlicerKeyboardInteractor.cxx:2:
>>>>>>>> /usr/include/GL/glext.h:8680: error: ‘GLint64EXT’ has not been
>>>>>>>> declared
>>>>>>>> /usr/include/GL/glext.h:8681: error: ‘GLuint64EXT’ has not been
>>>>>>>> declared
>>>>>>>> make[2]: ***
>>>>>>>> [CMakeFiles/SOViewer.dir/Interactor/sovGlSlicerKeyboardInteractor.o]
>>>>>>>> Error 1
>>>>>>>> make[1]: *** [CMakeFiles/SOViewer.dir/all] Error 2
>>>>>>>> make: *** [all] Error 2
>>>>>>>>
>>>>>>>>
>>>>>>>> _____________________________________
>>>>>>>> Powered by www.kitware.com
>>>>>>>>
>>>>>>>> Visit other Kitware open-source projects at
>>>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>>>
>>>>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>>>>> http://www.kitware.com/products/protraining.html
>>>>>>>>
>>>>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>>>>
>>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                  
>>>>>>
>>>>>>              
>>>>
>>>>          
>>
>>      


More information about the Insight-users mailing list