[Insight-developers] vxl build options for itk video
Xiaoxiao Liu
xiaoxiao.liu at kitware.com
Fri Nov 4 10:20:21 EDT 2011
Hmm, the following cmake configuration seems to be working for me to
build vxl-1.14.0:
CMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS
(according to http://code.google.com/p/ffmpegsource/issues/detail?id=11)
On Fri, Nov 4, 2011 at 9:47 AM, Xiaoxiao Liu <xiaoxiao.liu at kitware.com>wrote:
> Hi Bill,
>
> Super build would be nice.One downside though is that you would end up with
> multiple copies of the vxl/opencv/vtk in your local machine if you
> "happen" to have
> multiple build trees of ITK(e.g. dashboard machines usually run
> multiple builds with
> different configurations).
>
>
> I am building vxl 1.14 locally. It seems that I have ffmpeg issues
> with vxl version 1.140:
>
> In file included from /usr/include/libavutil/avutil.h:82,
> from /usr/include/libavcodec/avcodec.h:31,
> from
> /home/xiaoxiao/work/src/vxl-1.14.0/core/vidl/vidl_ffmpeg_convert.h:22,
> from
> /home/xiaoxiao/work/src/vxl-1.14.0/core/vidl/vidl_ffmpeg_convert.cxx:13:
> /usr/include/libavutil/common.h: In function ‘int32_t
> av_clipl_int32(int64_t)’:
> /usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not
> declared in this scope
> make[2]: *** [core/vidl/CMakeFiles/vidl.dir/vidl_ffmpeg_convert.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [core/vidl/CMakeFiles/vidl.dir/all] Error 2
> make: *** [all] Error 2
>
>
> Any idea how to fix this?
>
> Thanks.
>
>
>
>
>
>
> On Thu, Nov 3, 2011 at 3:17 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > Perhaps, eventually, we can have a superbuild for OpenCV, VTK, vxl and
> other
> > bridge software.
> >
> > On Thu, Nov 3, 2011 at 3:14 PM, Xiaoxiao Liu <xiaoxiao.liu at kitware.com>
> > wrote:
> >>
> >> On Thu, Nov 3, 2011 at 3:11 PM, Xiaoxiao Liu <xiaoxiao.liu at kitware.com>
> >> wrote:
> >> > Hi Bill,
> >> > We (Luis and I) were actually testing against a fresh checkout from
> >> > SVN repo of VXL trunck
> >> > The revision number is: r33230 , so the version is at least.
> >>
> >> >>> (missing numbers here) is at least 1.16 ...
> >>
> >> > Let me test against release version 1.14 and get back to you.
> >> >
> >> > You bring up the point that we need to specify the vxl version number
> >> > in the cmake file
> >> > for testing the video module.
> >> >
> >> > -Xiaoxiao
> >> >
> >> >
> >> >
> >> >
> >> > On Thu, Nov 3, 2011 at 2:45 PM, Bill Lorensen <
> bill.lorensen at gmail.com>
> >> > wrote:
> >> >> What version are you building? I tried vxl 1.14.0
> >> >>
> >> >> and I get this error:
> >> >> In file included from /usr/include/ffmpeg/libavutil/avutil.h:82,
> >> >> from /usr/include/ffmpeg/libavcodec/avcodec.h:31,
> >> >> from
> >> >>
> /home/lorensen/Projects/vxl-1.14.0/core/vidl/vidl_ffmpeg_convert.h:22,
> >> >> from
> >> >>
> >> >>
> /home/lorensen/Projects/vxl-1.14.0/core/vidl/vidl_ffmpeg_convert.cxx:13:
> >> >> /usr/include/ffmpeg/libavutil/common.h: In function ‘int32_t
> >> >> av_clipl_int32(int64_t)’:
> >> >> /usr/include/ffmpeg/libavutil/common.h:154: error: ‘UINT64_C’ was not
> >> >> declared in this scope
> >> >> make[2]: *** [core/vidl/CMakeFiles/vidl.dir/vidl_ffmpeg_convert.o]
> >> >> Error 1
> >> >> make[1]: *** [core/vidl/CMakeFiles/vidl.dir/all] Error 2
> >> >>
> >> >>
> >> >> On Thu, Nov 3, 2011 at 2:40 PM, Xiaoxiao Liu <
> xiaoxiao.liu at kitware.com>
> >> >> wrote:
> >> >>>
> >> >>> Only the following VXL CMake variable needs to be ON for building
> >> >>> ITKVideoBridgeVXL:
> >> >>> BUILD_CORE_VIDEO
> >> >>> BUILD_CORE_UTILITIES (contains vil)
> >> >>> BUILD_CORE_IMAGING (contains vul)
> >> >>>
> >> >>>
> >> >>> Also make sure you have FFMPEG installed :
> >> >>> FFMPEG_avcodec_LIBRARY
> >> >>> FFMPEG_avformat_LIBRARY
> >> >>> FFMPEG_avutil_LIBRARY
> >> >>> FFMPEG_swscale_LIBRARY
> >> >>>
> >> >>>
> >> >>> -Xiaoxiao
> >> >>>
> >> >>>
> >> >>> On Thu, Nov 3, 2011 at 12:36 PM, Bill Lorensen
> >> >>> <bill.lorensen at gmail.com>
> >> >>> wrote:
> >> >>> >
> >> >>> > Xiaoxiao,
> >> >>> >
> >> >>> > What build minimal build options do I need for the itk video lib?
> >> >>> >
> >> >>> > For example, other than BUILD_CORE_VIDEO?
> >> >>> >
> >> >>> > Bill
> >> >>> >
> >> >>> > --
> >> >>> > Unpaid intern in BillsBasement at noware dot com
> >> >>> >
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>>
> >> >>>
> >> >>> ---------------------------------------------
> >> >>> Xiaoxiao Liu, Ph.D.
> >> >>> R & D Engineer
> >> >>> Kitware Inc.
> >> >>> Clifton Park, NY
> >> >>> Phone: (518) 881-4924 or (518) 371-3971 x124
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Unpaid intern in BillsBasement at noware dot com
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> >
> >> >
> >> > ---------------------------------------------
> >> > Xiaoxiao Liu, Ph.D.
> >> > R & D Engineer
> >> > Kitware Inc.
> >> > Clifton Park, NY
> >> > Phone: (518) 881-4924 or (518) 371-3971 x124
> >> >
> >>
> >>
> >>
> >> --
> >>
> >>
> >> ---------------------------------------------
> >> Xiaoxiao Liu, Ph.D.
> >> R & D Engineer
> >> Kitware Inc.
> >> Clifton Park, NY
> >> Phone: (518) 881-4924 or (518) 371-3971 x124
> >
> >
> >
> > --
> > Unpaid intern in BillsBasement at noware dot com
> >
> >
>
>
>
> --
>
>
> ---------------------------------------------
> Xiaoxiao Liu, Ph.D.
> R & D Engineer
> Kitware Inc.
> Clifton Park, NY
> Phone: (518) 881-4924 or (518) 371-3971 x124
>
--
---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924 or (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20111104/3d7e5af9/attachment.htm>
More information about the Insight-developers
mailing list