[vtkusers] updating
Renaud Isabelle
renauisa at yahoo.fr
Thu Sep 15 23:21:57 EDT 2005
Hi,
Still having some problems for updating VTK at work
via CVS or CVSGRAB (behing proxy and firewall), I
dowloaded VTK-5-0 via CVS at home. Now, I have all
the source code I need to go on with my project.
However, I have errors when building VTK with CMake
and MSVC.
First of all, I tought it was because I downloaded
from HEAD instead of VTK-5-0 branch (more stable). But
I have exactly the same error after cheking out with
VTK-5-0 tag:
-------------------Configuration: vtkMPEG2Encode -
Win32 Debug--------------------
Compiling...
conform.c
C:\VTK\Utilities\vtkmpeg2encode\conform.c(38) : error
C2375: 'MPEG2_range_checks' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(191)
: see declaration of 'MPEG2_range_checks'
C:\VTK\Utilities\vtkmpeg2encode\conform.c(190) : error
C2375: 'MPEG2_profile_and_level_checks' :
redefinition; different linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(192)
: see declaration of 'MPEG2_profile_and_level_checks'
motion.c
putbits.c
C:\VTK\Utilities\vtkmpeg2encode\putbits.c(41) : error
C2375: 'MPEG2_initbits' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(213)
: see declaration of 'MPEG2_initbits'
putpic.c
quantize.c
stats.c
fdctref.c
C:\VTK\Utilities\vtkmpeg2encode\fdctref.c(50) : error
C2375: 'MPEG2_init_fdct' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(195)
: see declaration of 'MPEG2_init_fdct'
puthdr.c
C:\VTK\Utilities\vtkmpeg2encode\puthdr.c(43) : error
C2375: 'MPEG2_putseqhdr' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(219)
: see declaration of 'MPEG2_putseqhdr'
C:\VTK\Utilities\vtkmpeg2encode\puthdr.c(71) : error
C2375: 'MPEG2_putseqext' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(220)
: see declaration of 'MPEG2_putseqext'
C:\VTK\Utilities\vtkmpeg2encode\puthdr.c(94) : error
C2375: 'MPEG2_putseqdispext' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(221)
: see declaration of 'MPEG2_putseqdispext'
C:\VTK\Utilities\vtkmpeg2encode\puthdr.c(114) : error
C2375: 'MPEG2_putuserdata' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(222)
: see declaration of 'MPEG2_putuserdata'
C:\VTK\Utilities\vtkmpeg2encode\puthdr.c(226) : error
C2375: 'MPEG2_putseqend' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(226)
: see declaration of 'MPEG2_putseqend'
putseq.c
C:\VTK\Utilities\vtkmpeg2encode\putseq.c(134) : error
C2375: 'MPEG2_putseq_one' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(237)
: see declaration of 'MPEG2_putseq_one'
ratectl.c
C:\VTK\Utilities\vtkmpeg2encode\ratectl.c(43) : error
C2375: 'MPEG2_rc_init_seq' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(261)
: see declaration of 'MPEG2_rc_init_seq'
transfrm.c
idct.c
C:\VTK\Utilities\vtkmpeg2encode\idct.c(206) : error
C2375: 'MPEG2_init_idct' : redefinition; different
linkage
C:\VTK\Utilities\vtkmpeg2encode\mpeg2enc_global.h(200)
: see declaration of 'MPEG2_init_idct'
predict.c
putmpg.c
putvlc.c
readpic.c
writepic.c
Generating Code...
Error executing cl.exe.
ALL_BUILD - 12 error(s), 0 warning(s)
- Maybe it is because my CMake parameters are not set
correctly. If so, does anyone know what I have to
enable and disable?
- Any other idea about the origin of the problem?
Thanks for help,
Isabelle
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
More information about the vtkusers
mailing list