我有一个使用Lazarus构建的程序。
我想在没有Lazarus的机器上运行它。这可能吗?如果是这样,我如何确定要放在新计算机上的依赖项?
注意:我并不热衷于制作安装程序或此类任何东西。我只想在没有Lazarus的第二台机器上运行我的程序。
注意:我现在需要在Ubuntu上工作(即开发和部署在Ubuntu上),但它也可能是Windows。
谢谢!
答案 0 :(得分:1)
您可能不热衷于创建安装程序,但至少您可能需要考虑为目标平台创建程序包。
该文档描述了几个目标平台的这个过程:
不幸的是,即使是跨平台技术(如Java)也有部署它们所用平台的先决条件。众所周知,有一个适用于Linux和Windows的解决方案也很困难。这就是为什么有些技术有自己的包管理器,一旦基本语言安装(平台特定部分)完成就可以使用。
答案 1 :(得分:0)
sudo apt-get build-dep lazarus-ide
或
sudo apt-get install gir1.2-gtk-2.0 imagemagick imagemagick-common liba52-0.7.4-dev libasound2-dev libatk1.0-dev libavahi-client-dev libavahi-common-dev libcaca-dev libcairo-script -interpreter2 libcairo2-dev libdbus-1-dev libdca-dev libdrm-dev libdts-dev libexpat1-dev libflac-dev libfontconfig1-dev libfreetype6-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libglib2.0-dev libglu1- mesa-dev libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev liblqr-1-0 libmad0-dev libmagickcore5 libmagickwand5 libmikmod2 libmikmod2-dev libmodplug-dev libogg-dev libpango1.0-dev libpcre3-dev libpcrecpp0 libpixman-1- dev libpng12-dev libpthread-stubs0-dev libpulse-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl1.2-dev libslang2-dev libsm-dev libvorbis-dev libx11-dev libx11-xcb-dev libxau-dev libxcb -dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-xfixes0- dev libxcb1-dev libxcomposite-dev libxcurso r-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-utils libxrandr-dev libxrender-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev po-debconf quilt x11proto- composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto- xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev