Hello Malcolm,
Thursday, August 16, 2001, 8:08:14 AM, you wrote:
MR> Hi,
MR> When I do make, I get:
MR> aviplay2.cpp: In method `AviPlayer2::AviPlayer2(PlayerWidget *, Display *,
MR> const char *, const char *)':
MR> aviplay2.cpp:15: implicit declaration of function `int
MR> GetPhysicalDepth(...)'aviplay2.cpp: In method
MR> `AviPlayer2::AviPlayer2(PlayerWidget *, Display *, const char *, const
MR> char *)':
MR> aviplay2.cpp:15: implicit declaration of function `int
MR> GetPhysicalDepth(...)'
MR> My configure is as follows:
MR> ./configure --disable-sdl --enable-release --disable-qt --disable-ffmpeg
MR> --disable-mga --disable-oss --disable-xft --disable-warnings
MR> --enable-quite --disable-kde --without-x --disable-sunaudio
MR> --disable-x-code --disable-timing --disable-dpms --disable-lame-bin
MR> As you can see, I just want libwin32.so and libaviplay.so, that's all I
MR> ask =)
MR> Oh, it's the latest "snapshot" from august 3rd from
MR> avifile.sf.net
MR> I appreciate any help (even if it means commenting stuff out)
MR> The function GetPhysicalDepth is in renderer.cpp, and I don't
MR> think I want it, because it looks X related.
MR> I notice in the header file it's looking good
MR> #ifndef WITHOUT_X
MR> #include <X11/Xlib.h>
MR> int GetPhysicalDepth(Display* dpy);
MR> so I tried that in aviplay2.cpp (putting the ifndef around it)
MR> and then I get this lovely error:
MR> aviplay2.cpp: In method `AviPlayer2::AviPlayer2(PlayerWidget *, Display *,
MR> const char *, const char *)':
MR> aviplay2.cpp:15: implicit declaration of function `int
MR> GetPhysicalDepth(...)'
MR> aviplay2.cpp:16: class `AviPlayer2' does not have any field named `m_pDpy'
MR> which leads me to aviplay2 class header file which has (ahem):
MR> #ifndef WITHOUT_X
MR> Display* m_pDpy;
MR> #endif
MR> int m_iResizeCount;
MR> public:
MR> AviPlayer2(PlayerWidget*, Display*, const char* filename, const char*
MR> subname) throw(FatalError);
MR> So the constructor is looking for the argument, even though it's not going
MR> to be defined =( I don't want to start changing a whole lot more.
MR> I don't even think I want aviplay2.cpp in my project. Help!
I'll try to fix it somehow if I don't forget :) WITHOUT_X option was added
about half a year ago and it hasn't been tested ever since.
--
Best regards,
Eugene mailto:[EMAIL PROTECTED]
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile