Re: Trying to compile QT_Movie_Opener

Posted by Philip Ershler on
URL: http://imagej.273.s1.nabble.com/Trying-to-compile-QT-Movie-Opener-tp3682769p3682777.html

Robert,
        OK, two problems on my part. First, 32 bit Java is definitely required (it is stated right on the source code page!). I also had neglected to download the QTVirtualStack source. So switching to 32 bit and getting the QTVirtualStack source results in a bunch of warnings, but it still runs correctly.
        I appreciate all the help and I am sorry for the noise.

Thanks, Phil

On Oct 22, 2011, at 8:29 AM, Robert Dougherty wrote:

> Phillip,
>
> On Oct 21, 2011, at 7:45 PM, Johannes Schindelin wrote:
>
>> Hi Philip,
>>
>> On Fri, 21 Oct 2011, Philip Ershler wrote:
>>
>>> I have picked up the source code for the QT_Movie_Opener plugin. I
>>> am trying to make some minor changes so that I can call this plugin
>>> from another plugin to implement a batch mode plugin. However, when I
>>> try to compile and run the original QT_Movie_Opener.java file from
>>> ImageJ, I get a bunch of DEPRECATED errors like these
>>>
>>> /Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:18: warning: [deprecation] quicktime.std.image.GraphicsImporter in quicktime.std.image has been deprecated
>>> import quicktime.std.image.GraphicsImporter;
>>>                         ^
>>
>> Those are not errors, but only warnings. It means that these classes have
>> been deprecated, my guess is because Quicktime4Java in general has been a
>> little bit neglected lately by Apple, and furthermore, they want to
>> discourage using Java.
>
> One initiative has been to not include QT in the 64-bit version of Java.  Are you running 64-bit ImageJ?  You might try the 32-bit version.
>
> Bob
>
>
> Robert Dougherty, Ph.D.
> President, OptiNav, Inc.
> 1414 127th Place NE #106
> Bellevue, WA 98005
> Tel. (425)891-4883
> FAX (425)467-1119
> www.optinav.com
> [hidden email]

Philip R. Ershler Ph.D.
University of Utah
Cardiovascular Research and Training Institute
95 South 2000 East
Salt Lake City, UT 84112-5000