[Gofigure2-developers] vtk and FFMPEG

16 views
Skip to first unread message

Arnaud GELAS

unread,
Jul 29, 2010, 11:52:56 AM7/29/10
to gofigure2-...@lists.sourceforge.net
Hi all,

Just for the record...

When building vtk with FFMPEG, if you get the following error:
/usr/include/ffmpeg/libavutil/common.h:154: error: ‘UINT64_C’ was not
declared in this scope

you need to add -D__STDC_CONSTANT_MACROS to CMAKE_CXX_FLAGS (Tested on
Fedora 12 and 13). Then it works fine!

Best,
Arnaud


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Gofigure2-developers mailing list
Gofigure2-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gofigure2-developers

Kishore Mosaliganti

unread,
Mar 12, 2012, 12:56:58 PM3/12/12
to Arnaud Gelas, gofigure2-...@lists.sourceforge.net
Do you add this to the VTK CMakeLists.txt ?

Kishore

Arnaud Gelas

unread,
Mar 13, 2012, 7:22:04 PM3/13/12
to Kishore Mosaliganti, gofigure2-...@lists.sourceforge.net
Hi Kishore,

This bug is 2 years-old one and the fix has been integrated into VTK...

��� see c846376c2f9e141bb5a1d8eea42d89338e19bc4b for reference

Best,
Arnaud


On 03/12/2012 12:56 PM, Kishore Mosaliganti wrote:
Do you add this to the VTK CMakeLists.txt ?

Kishore

On Thu, Jul 29, 2010 at 11:52 AM, Arnaud GELAS <arnaud...@hms.harvard.edu> wrote:
�Hi all,


Just for the record...

When building vtk with FFMPEG, if you get the following error:
/usr/include/ffmpeg/libavutil/common.h:154: error: �UINT64_C� was not

Arnaud Gelas

unread,
Mar 15, 2012, 10:23:20 AM3/15/12
to Kishore Mosaliganti, gofigure2-...@lists.sourceforge.net
Hi Kishore,

Have you solved your problem?

Best,
Arnaud

Kishore Mosaliganti

unread,
Mar 15, 2012, 10:47:44 AM3/15/12
to Arnaud Gelas, gofigure2-...@lists.sourceforge.net
Yes Arnaud,

I compiled with a later VTK version and it was solved.

I think VTK 6.0 is now released and the API has changed significantly.

Thanks,
Kishore

On Thu, Mar 15, 2012 at 10:23 AM, Arnaud Gelas <arnau...@gmail.com> wrote:
Hi Kishore,

Have you solved your problem?

Best,
Arnaud


On 03/13/2012 07:22 PM, Arnaud Gelas wrote:
Hi Kishore,

This bug is 2 years-old one and the fix has been integrated into VTK...

    see c846376c2f9e141bb5a1d8eea42d89338e19bc4b for reference

Best,
Arnaud

On 03/12/2012 12:56 PM, Kishore Mosaliganti wrote:
Do you add this to the VTK CMakeLists.txt ?

Kishore

On Thu, Jul 29, 2010 at 11:52 AM, Arnaud GELAS <arnaud...@hms.harvard.edu> wrote:
 Hi all,

Just for the record...

When building vtk with FFMPEG, if you get the following error:
/usr/include/ffmpeg/libavutil/common.h:154: error: ‘UINT64_C’ was not

Arnaud Gelas

unread,
Mar 15, 2012, 10:53:05 AM3/15/12
to Kishore Mosaliganti, gofigure2-...@lists.sourceforge.net
cool :)!

I did not know VTK 6.0 was already released. Is it official?

FFMPEG support in VTK is quite poor...

If you are on linux (with a debian based distribution) you better use the provided package. It includes a patch (not applied upstream!!) which solve all issues with recent version of FFMPEG...

Best,
Arnaud


On 03/15/2012 10:47 AM, Kishore Mosaliganti wrote:
Yes Arnaud,

I compiled with a later VTK version and it was solved.

I think VTK 6.0 is now released and the API has changed significantly.

Thanks,
Kishore

On Thu, Mar 15, 2012 at 10:23 AM, Arnaud Gelas <arnau...@gmail.com> wrote:
Hi Kishore,

Have you solved your problem?

Best,
Arnaud


On 03/13/2012 07:22 PM, Arnaud Gelas wrote:
Hi Kishore,

This bug is 2 years-old one and the fix has been integrated into VTK...

��� see c846376c2f9e141bb5a1d8eea42d89338e19bc4b for reference


Best,
Arnaud

On 03/12/2012 12:56 PM, Kishore Mosaliganti wrote:
Do you add this to the VTK CMakeLists.txt ?

Kishore

On Thu, Jul 29, 2010 at 11:52 AM, Arnaud GELAS <arnaud...@hms.harvard.edu> wrote:
�Hi all,


Just for the record...

When building vtk with FFMPEG, if you get the following error:
/usr/include/ffmpeg/libavutil/common.h:154: error: �UINT64_C� was not
Reply all
Reply to author
Forward
0 new messages