Looktxt Installation
Unix/MacOS
Requirements: Linux/Unix system, C compiler
if you have super user permissions
# ./configure; make; sudo make install
this will install looktxt executable in e.g. /usr/local/bin
if you do NOT have super user permissions
# ./configure --prefix=$HOME; make; make install
this will install looktxt executable in e.g. $HOME/bin
Windows
Requirements: Windows system, C compiler, administrator permissions
we recommend Dec-Cpp as C compiler
(MinGW/GCC)
Execute the install.bat script
this will install looktxt executable
in e.g. C:\looktxt
you may manually compile looktxt with e.g.
c:\dev-cpp\bin\gcc.exe -O2 -o looktxt.exe looktxt.c
Matlab
Requirements: Executable must have been installed
>> addpath('C:\looktxt') % Windows systems
or
>> addpath('/usr/local/lib/looktxt') % Linux/MacOSX systems
(super user install)
or
>> addpath([ getenv('HOME') '/lib/looktxt' ]) % Linux/MacOSX
systems (user install)
Manual compilation:
cc -O2 looktxt.c -o looktxt
Pre-built binaries
Executables in directory 'binaries'
are given for
- Windows: looktxt.exe
- MacOS X (x86)
looktxt.x86_osx
- Linux x86 looktxt.x86
- Linux x86_64
looktxt.x86_64
These executables may be put manually in your /usr/local/bin or
MATLABROOT/bin directory.
Thanks for using Looktxt