>From the comments near VTK_USE_MPEG2_ENCODER in VTK/CMakeLists.txt :<br><br>#-----------------------------------------------------------------------------<br># MPEG2<br>#<br># Portions of the mpeg2 library are patented. VTK does not enable linking to
<br># this library by default so VTK can remain &quot;patent free&quot;. Users who wish to<br># link in mpeg2 functionality must build that library separately and then<br># turn on VTK_USE_MPEG2_ENCODER when configuring VTK. After turning on
<br># VTK_USE_MPEG2_ENCODER, you must also set the CMake variables<br># vtkMPEG2Encode_INCLUDE_PATH and vtkMPEG2Encode_LIBRARIES.<br>#<br># To use the patented mpeg2 library, first build it, then set the following<br># CMake variables during the VTK configure step:
<br>#&nbsp;&nbsp; VTK_USE_MPEG2_ENCODER = ON<br>#&nbsp;&nbsp; vtkMPEG2Encode_INCLUDE_PATH = /path/to/vtkmpeg2encode;/path/to/vtkmpeg2encode-bin<br>#&nbsp;&nbsp; vtkMPEG2Encode_LIBRARIES = /path/to/vtkmpeg2encode-bin/vtkMPEG2Encode.lib<br>#<br># Or using -D args on the cmake/ccmake command line:
<br>#&nbsp;&nbsp; -DVTK_USE_MPEG2_ENCODER:BOOL=ON<br>#&nbsp;&nbsp; &quot;-DvtkMPEG2Encode_INCLUDE_PATH:PATH=/path/to/vtkmpeg2encode;/path/to/vtkmpeg2encode-bin&quot;<br>#&nbsp;&nbsp; &quot;-DvtkMPEG2Encode_LIBRARIES:STRING=/path/to/vtkmpeg2encode-bin/vtkMPEG2Encode.lib&quot;
<br>#<br># You are solely responsible for any legal issues associated with using<br># patented code in your software.<br>#<br><br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">On 12/27/07, <b class="gmail_sendername">
wells</b> &lt;<a href="mailto:jake_wang1013@163.com">jake_wang1013@163.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<font size="5"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">HI <br>
&nbsp;&nbsp;&nbsp;&nbsp;I turn on VTK_USE_MPEG2_ENCODER , and how to configure vtkMPEG2Encode_INCLUDE_PATH and vtkMPEG2Encode_LIBRARIES. Thanks<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wells</span></font></font>
</div>


<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br>