[Mp4-tech] Problems compiling MPEG-J Reference
Wesley De Neve
Wesley.DeNeve ugent.be
Wed Aug 27 19:13:40 EDT 2003
Hi Stefan, all,
Stefan A. Goor wrote:
> Hi Wesley,
> Thanks so much for your reply, I think it's pointed me in the right
> direction.
> You were right about the JNI header not being found and I think I
> know why it couldn't find it. If you look at the compiler messages
> (http://delboy.ucd.ie/M4IF_Technotes/VB6_MPEGJ_Rebuild_All_Messages.txt),
> there are a load of Command line warnings and I think these are due
> to the fact that my CLASSPATH and MPEGJ_HOME variable contain
> directories with spaces in them.
> The JNI.h file is in the Java SDK includes directory which on my
> computer is in the directory "C:\Program Files\Java
> Tools\j2sdk1.4.2\include\".
> The command line warnings complain about problems like:
> "Command line warning D4024 : unrecognized source file type
> 'Files\Java', object file assumed"
> but if you look at this it suggests that the compiler did use the full
> directory, but rather took it to be "C:\Program" and then found
> "Files\Java" because of the spaces.
> Now that I know the problem I'm sure I can resolve it by moving the
> files to a directory without spaces, however I am reluctant to do
> this because of the way I maintain my harddisk. So if anyone has any
> suggestions how to resolve the problems with the spaces, I'd be very
> grateful.
> Also I realise that this is now more a programming issue rathar than
> an M4IF topic but I thought I'd still post it because others trying
> to compile the MPEG-J software may encounter similar problems,
your problem may possibly be solved by putting the relevant paths to your
libraries and header files between "" in your project settings. I now
remember I had once a similar problem with another multimedia API...
Hope this helps,
Wesley
More information about the Mp4-tech
mailing list