How to install and use IUP library in Linux

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
Post Reply
rnbas
Posts: 35
Joined: Jul 22, 2019 18:54

How to install and use IUP library in Linux

Post by rnbas »

I am working on Debian Stable Linux with "FreeBASIC Compiler - Version 1.06.0 (02-17-2019), built for linux-x86 (32bit)"
I want to use IUP gui library with Freebasic.
I have downloaded and unzipped https://sourceforge.net/projects/iup/fi ... z/download file. It contains following folders and files:

Code: Select all

.
├── ./config_lua_module
├── ./COPYRIGHT
├── ./ftgl
│   └── ./ftgl/lib
│       └── ./ftgl/lib/Linux415_64
│           ├── ./ftgl/lib/Linux415_64/libftgl.a
│           └── ./ftgl/lib/Linux415_64/libftgl.so
├── ./include
│   ├── ./include/iupcbs.h
│   ├── ./include/iup_class_cbs.hpp
│   ├── ./include/iup_config.h
│   ├── ./include/iupcontrols.h
│   ├── ./include/iupdef.h
│   ├── ./include/iupdraw_cd.h
│   ├── ./include/iupdraw.h
│   ├── ./include/iupfiledlg.h
│   ├── ./include/iupglcontrols.h
│   ├── ./include/iupgl.h
│   ├── ./include/iup.h
│   ├── ./include/iupim.h
│   ├── ./include/iupkey.h
│   ├── ./include/iupluacontrols.h
│   ├── ./include/iupluafiledlg.h
│   ├── ./include/iupluaglcontrols.h
│   ├── ./include/iupluagl.h
│   ├── ./include/iuplua.h
│   ├── ./include/iupluaim.h
│   ├── ./include/iuplua_mglplot.h
│   ├── ./include/iupluaole.h
│   ├── ./include/iuplua_plot.h
│   ├── ./include/iuplua_scintilla.h
│   ├── ./include/iupluascripterdlg.h
│   ├── ./include/iupluatuio.h
│   ├── ./include/iupluaweb.h
│   ├── ./include/iup_mglplot.h
│   ├── ./include/iupole.h
│   ├── ./include/iup_plot.h
│   ├── ./include/iup_plus.h
│   ├── ./include/iup_scintilla.h
│   ├── ./include/iuptuio.h
│   ├── ./include/iup_varg.h
│   └── ./include/iupweb.h
├── ./install
├── ./install_dev
├── ./iup_tree.txt
├── ./libiup.a
├── ./libiupcd.a
├── ./libiupcd.so
├── ./libiupcontrols.a
├── ./libiupcontrols.so
├── ./libiupgl.a
├── ./libiupglcontrols.a
├── ./libiupglcontrols.so
├── ./libiupgl.so
├── ./libiupim.a
├── ./libiupimglib.a
├── ./libiupimglib.so
├── ./libiupim.so
├── ./libiup_mglplot.a
├── ./libiup_mglplot.so
├── ./libiup_plot.a
├── ./libiup_plot.so
├── ./libiup_scintilla.a
├── ./libiup_scintilla.so
├── ./libiup.so
├── ./libiuptuio.a
├── ./libiuptuio.so
├── ./libiupweb.a
├── ./libiupweb.so
├── ./LINSTALL
├── ./Lua51
├── ./Lua52
├── ./Lua53
├── ./README
├── ./tec_uname
├── ./uninstall
└── ./VERSION

7 directories, 70 files
How do I proceed to use above library? Should I install it with install script file provided.
Thanks for your help.
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: How to install and use IUP library in Linux

Post by D.J.Peters »

Loock's like
./install
is a script to install the IUP runtime needed if you run programs that are linked to IUP. (FB Poseidon)

./install-dev
is a script to install the IUP developer files needed if you compile programs that used IUP.

Does your Linux distro comes without with ready to use IUP install packages ?

Joshy
rnbas
Posts: 35
Joined: Jul 22, 2019 18:54

Re: How to install and use IUP library in Linux

Post by rnbas »

IUP is not there in Stable Debian repository.

After I run ./install and ./install-dev , do I need to write any "#include " statement in my source files?
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: How to install and use IUP library in Linux

Post by VANYA »

Hi rnbas!

You're running a 32-bit version of Linux, but put yourself in the system is a 64-bit version IUP. The latest version of IUP for x86 was 3.21.
Post Reply