Hi,

When I do make, I get:

aviplay2.cpp: In method `AviPlayer2::AviPlayer2(PlayerWidget *, Display *,
const char *, const char *)':
aviplay2.cpp:15: implicit declaration of function `int
GetPhysicalDepth(...)'aviplay2.cpp: In method
`AviPlayer2::AviPlayer2(PlayerWidget *, Display *, const char *, const
char *)':
aviplay2.cpp:15: implicit declaration of function `int
GetPhysicalDepth(...)'

My configure is as follows:

./configure --disable-sdl --enable-release --disable-qt  --disable-ffmpeg
--disable-mga --disable-oss --disable-xft  --disable-warnings
--enable-quite --disable-kde --without-x  --disable-sunaudio
--disable-x-code --disable-timing --disable-dpms --disable-lame-bin

As you can see, I just want libwin32.so and libaviplay.so, that's all I
ask =)  

Oh, it's the latest "snapshot" from august 3rd from 
avifile.sf.net

I appreciate any help (even if it means commenting stuff out)

The function GetPhysicalDepth is in renderer.cpp, and I don't
think I want it, because it looks X related.

I notice in the header file it's looking good

#ifndef WITHOUT_X
#include <X11/Xlib.h>

int GetPhysicalDepth(Display* dpy);


so I tried that in aviplay2.cpp (putting the ifndef around it)
and then I get this lovely error:

aviplay2.cpp: In method `AviPlayer2::AviPlayer2(PlayerWidget *, Display *,
const char *, const char *)':
aviplay2.cpp:15: implicit declaration of function `int
GetPhysicalDepth(...)'
aviplay2.cpp:16: class `AviPlayer2' does not have any field named `m_pDpy'


which leads me to aviplay2 class header file which has (ahem):

#ifndef WITHOUT_X
    Display* m_pDpy;
#endif
    int m_iResizeCount;
public:
    AviPlayer2(PlayerWidget*, Display*, const char* filename, const char*
subname) throw(FatalError);

So the constructor is looking for the argument, even though it's not going
to be defined =( I don't want to start changing a whole lot more.


I don't even think I want aviplay2.cpp in my project.  Help!




_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to