[Mp4-tech] Problems compiling MPEG-J Reference
Stefan A. Goor
stefan.goor ucd.ie
Wed Aug 27 17:07:26 EDT 2003
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,
Thanks again for help,
Stefan
-----Original Message-----
From: mp4-tech-bounces lists.mpegif.org
[mailto:mp4-tech-bounces lists.mpegif.org]On Behalf Of Wesley De Neve
Sent: 27 August 2023 14:32
To: Stefan A. Goor; M4IF
Subject: Re: [Mp4-tech] Problems compiling MPEG-J Reference
Hi Stefan, all,
Stefan A. Goor wrote:
[...]
> I loaded the .dsw file into Visual Studio 6 and it kept prompting me
> about some Visual Source Safe Login(see
> http://delboy.ucd.ie/M4IF_Technotes/MPEG-J_problem.jpg to see exactly
> what I'm talking about). I have used VB6 in the past and had few
> problems with it but my knowledge of it is limited and so I was a bit
> baffled by what was happening.
> Anyway, after pressing cancel numerous times the project opened and I
> tried to 'rebuild all' but it failed with one error (the messages
> from the compiler can be seen at
> http://delboy.ucd.ie/M4IF_Technotes/VB6_MPEGJ_Rebuild_All_Messages.txt).
> I would apreciate any help I can get to resolve these problems,
I think you're missing a header file related to Sun's Java Native Interface
(JNI) technology. The other messages appear rather innocent to me (at first
sight), and you can normally disable source control (you probably have to
look in the project settings).
Kind regards,
Wesley
_______________________________________________
Mp4-tech mailing list
Mp4-tech lists.mpegif.org
http://lists.mpegif.org/mailman/listinfo/mp4-tech
More information about the Mp4-tech
mailing list