顯示具有 Freebasic 標籤的文章。 顯示所有文章
顯示具有 Freebasic 標籤的文章。 顯示所有文章

2011年2月15日 星期二

安裝gtk

 再來安裝GTK開發套件libgtk2.0-dev:
sudo apt-get install libgtk2.0-dev

apt-get install libgnome2-dev
才不會出現以下錯誤
gtk-x11-2.0
ld: cannot find -lgdk-x11-2.0
ld: cannot find -lglib-2.0
ld: cannot find -lpango-1.0
ld: cannot find -lpangox-1.0
ld: cannot find -lgobject-2.0
ld: cannot find -lgdk_pixbuf-2.0
ld: cannot find -lgmodule-2.0
ld: cannot find -latk-1.0

compiler

fbc 1.bas

setup freebasic

  o Linux version:

    - Unpack the tar gzip archive to any folder.

    - Run "sudo ./install.sh -i" from that directory to install the binaries,
      libraries and include files into the system as root, at the default
      location of /usr/local.

    - Note: to uninstall FreeBASIC, you can run "install.sh -u"
     
  o Linux (standalone) version:

    - Unpack the tar gzip archive to any folder.

    - Run "sudo ./install-standalone.sh -i" from that directory to install
      the binaries, libraries and include files into the system as root, at
      the default location /usr/share/freebasic. A link to the compiler
      binary will be created at /usr/bin/fbc. If you don't have root
      privileges, you can also install into a custom directory; run the
      install-standalone.sh script with no arguments for more info. Be warned
      though that installing with no root privileges will prevent the script
      from installing a link to the binary into /usr/bin/fbc.

    - Note: to uninstall FreeBASIC, you can run "install-standalone.sh -u"

2010年12月21日 星期二

2010年12月16日 星期四

Ubuntu 10.04

Based on a clean Ubuntu 10.04, I could get FreeBASIC 0.21 to work with these packages:

32bit Ubuntu:
Quote:
libncurses5-dev
libx11-dev
libxext-dev
libxpm-dev
libxrandr-dev
libxrender-dev
libstdc++6-4.4-dev (only needed with the normal non-standalone FreeBASIC)