Hello Qbix,
thank you for your help.
But i don't now what's wrong, it's still not possible for me to compile the cvs code.
With the orginal 0.63 code i do ./configure und then make and all works fine.
With the code from your link http://pcnwstage.phys.rug.nl/dosboxcvs.tgz ./configure runs and after make there are a lot oft errors.
Is there something wrong or missing in my compiling enviroment?
I thought it is the same to compile the 0.63 code or the cvs code.
What is with the zlib.h in the first line, i cannot find it.
the errors after make:
zmbv.cpp:19:18: zlib.h: No such file or directory
In file included from zmbv.cpp:25:
zmbv.h:85: error: `z_stream' does not name a type
zmbv.cpp: In member function `bool VideoCodec::SetupCompress(int, int)':
zmbv.cpp:239: error: `zstream' undeclared (first use this function)
zmbv.cpp:239: error: (Each undeclared identifier is reported only once for each function it appears in.)
zmbv.cpp:239: error: `deflateInit' undeclared (first use this function)
zmbv.cpp:239: error: `Z_OK' undeclared (first use this function)
zmbv.cpp: In member function `bool VideoCodec::SetupDecompress(int, int)':
zmbv.cpp:249: error: `zstream' undeclared (first use this function)
zmbv.cpp:249: error: `inflateInit' undeclared (first use this function)
zmbv.cpp:249: error: `Z_OK' undeclared (first use this function)
zmbv.cpp: In member function `bool VideoCodec::PrepareCompressFrame(int, zmbv_fo rmat_t, char*, void*, int)':
zmbv.cpp:302: error: `zstream' undeclared (first use this function)
zmbv.cpp:302: error: `deflateReset' undeclared (first use this function)
zmbv.cpp: In member function `int VideoCodec::FinishCompressFrame()':
zmbv.cpp:356: error: `zstream' undeclared (first use this function)
zmbv.cpp:356: error: `Bytef' undeclared (first use this function)
zmbv.cpp:356: error: expected primary-expression before ')' token
zmbv.cpp:356: error: expected `;' before "work"
zmbv.cpp:360: error: expected primary-expression before ')' token
zmbv.cpp:363: error: `Z_SYNC_FLUSH' undeclared (first use this function)
zmbv.cpp:363: error: `deflate' undeclared (first use this function)
zmbv.cpp: In member function `bool VideoCodec::DecompressFrame(void*, int)':
zmbv.cpp:424: error: `zstream' undeclared (first use this function)
zmbv.cpp:424: error: `inflateReset' undeclared (first use this function)
zmbv.cpp:426: error: `Bytef' undeclared (first use this function)
zmbv.cpp:426: error: expected primary-expression before ')' token
zmbv.cpp:426: error: expected `;' before "data"
zmbv.cpp:430: error: expected primary-expression before ')' token
zmbv.cpp:430: error: expected `;' before "work"
zmbv.cpp:433: error: `Z_FINISH' undeclared (first use this function)
zmbv.cpp:433: error: `inflate' undeclared (first use this function)
zmbv.cpp: In constructor `VideoCodec::VideoCodec()':
zmbv.cpp:548: error: `zstream' undeclared (first use this function)
make[4]: *** [zmbv.o] Error 1
make[4]: Leaving directory `/c/dosbox/dosbox/src/libs/zmbv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/dosbox/dosbox/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/dosbox/dosbox/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/dosbox/dosbox'
make: *** [all] Error 2
peter