⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 一个利用SDL语言来实现svgalib函数的示例程序
💻
字号:
INSTALL - information about source, compilation etc.----------------------------------------------------zgv requires these libraries to be installed:- svgalib (or SDL, depending on the backend chosen in config.mk)- libjpeg- libpng- zlib- libtiff(If you decide to enable PCD_SUPPORT, you'll also need libpcd, fromthe xpcd package.)At least for Linux users these should all (except possibly libpcd?)come with your distribution, and are probably already installed if youuse anything remotely `graphicsy'. :-) Do be sure to install anyaccompanying `development' packages too, as these usually containheader files necessary for compilation.Any reasonably recent versions will do for all of these libraries, Iimagine. As ever though, I should note that you shouldn't use svgalibversion 1.2.10 or earlier due to a potential security risk.So, once you're sure those libraries are installed, you should have anoverall check through `config.mk', to see if it all looks ok. Mostpeople should find it ok as-is, but you may want to change PREFIXand/or uncomment SHARE_INFIX if you want the files to go somewhereother than /usr/local/bin, /usr/local/info, and /usr/local/man/man1.(As already mentioned, there's also an option to use an SDL backend;I'd recommend only using this if you have to, as if nothing else ittends to be slower due to the way zgv works. Note that if you doenable this, the zgv executable will be installed as `zgv-sdl'.)Then do `make', and (as root) `make install'. This compiles zgv, theninstalls it and its documentation (both info files and man page).FreeBSD users should note that zgv apparently requires GNU make -obviously not a problem on Linux, but on FreeBSD you'll need to allowfor that.Another note for (only) FreeBSD users - at the time of writing, thesvgalib 1.4.3 port for FreeBSD seems to always allocate a new consoleeven when it's currently running on one. This is harmless enough, butdoes mean that anything zgv puts on stdout (such as the output for`-h', `-s', and `-T') will end up on that console rather than on zgv'soriginal stdout, even if you redirect it. Hopefully this problem willbe fixed before long. One possible workaround in the meantime is touse the SDL backend instead.Good luck!-Rus.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -