|
From: Nicholas H. <nj...@ec...> - 2003-04-07 10:09:31
|
Hi, Sorry I didn't reply about your previous emails - I have very very little knowledge about Windows. I can however tell you the problem with a couple of the problems. The 'PACKAGE' macro needs to be defined in winconfig.h Try bunging in the following stuff I took from my config.h. And the 'zlib.h' header file is part of zlib - and probably needs install on your system? http://www.gzip.org/zlib/ Cheers, nick. /* The name of the host system OpenQuicktime is running on. */ #define OQT_HOST "some-windows-machine" /* Increment when the Plugin interface API changes. */ #define OQT_INTERFACE_AGE 1 /* Name of package */ #define PACKAGE "openquicktime" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "ope...@li..." /* Define to the full name of this package. */ #define PACKAGE_NAME "OpenQuicktime" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "OpenQuicktime 2.0.0b1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "openquicktime" /* Define to the version of this package. */ #define PACKAGE_VERSION "2.0.0b1" >Oops right I was not using the CVS version buty the old 1.0 >I tried the latest CVS version and it has 2 .dsp 's in the WIN32 >folder. Still got 2 problems: >1) On opening it complains that "OQTDemux.dsp" is unavailable. >2) When trying to compile OpenQuicktimeLib the compiler gives these errors: >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2065: >'PACKAGE' : undeclared identifier >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): warning C4047: >'function' : 'char *' differs in levels of indirection from 'int' >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2143: >syntax error : missing ')' before 'string' >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2059: >syntax error : ')' >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\moov.c(24): fatal error >C1083: Cannot open include file: 'zlib.h': No such file or directory > >(tried both VC++ 6 & VC++.NET). I guess I can fix the last error >about the missing zlib.h but the other erros are less clear to me. >(at least why they appear as you were able to build it) > > >----- Original Message ----- >From: <mailto:ya...@3i...>Yann >To: ><mailto:ope...@li...>ope...@li... >Sent: Sunday, April 06, 2003 11:46 PM >Subject: Re: [Openquicktime-users] Who compiled this OpenQT dll? > >Yeah, you're right the dll uses cdecl and not stdcall. So, either, >there is a way to call a cdecl function from visualbasic or you have >to recompile the dll. >The current OpenQuicktimeLib.dsp works nicely in my dev env ... I >cannot help you more without other precisions :( >Be sure to use the sources from the cvs and not the old 1.0 Release ... |