Home | Download | Help | Contribute | Plug-ins | About | Contact | Search
Compiling Qt-TeXmacs under Windows
General | Sources | Binaries | RPM | Knoppix | MacOS | Windows | SVN | Fonts | Requirements

1.Download and install the build environment

In order to compile TeXmacs under Windows, you need Qt, MinGW and a certain number of libraries. We have simplified the installation procedure for these dependencies by creating a single zip-file which contains all necessary stuff. Thus, you first have to download (462 Mb)

ftp://ftp.texmacs.org/pub/TeXmacs/windows/qt/TmBuildEnv.zip

This file must be uncompressed in the directory C:\. Uncompression in other directories is not supported. Copy the file C:\TmBuildEnv\MSYS\MSYS.lnk to your desktop.

2.Download TeXmacs

Click on the MSYS icon on your desktop in order to launch a Unix terminal and fetch the latest Svn version of TeXmacs as follows:

mkdir ~/texmacs
cd ~/texmacs
svn co svn://svn.savannah.gnu.org/texmacs/trunk/src
svn co svn://svn.savannah.gnu.org/texmacs/trunk/doc

You will also need to download the TeXmacs Windows fonts and uncompress them in the directory ~/texmacs/src/TeXmacs:

cd ~/texmacs/src/TeXmacs
wget http://ftp.texmacs.org/TeXmacs/fonts/TeXmacs-windows-fonts-1.0-noarch.tar.gz
tar -zxvf TeXmacs-windows-fonts-1.0-noarch.tar.gz

3.Compile TeXmacs

Go to the directory with the TeXmacs sources

cd ~/texmacs/src

Configure using

./configure --enable-qt \
  CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib"

Build TeXmacs

make WIN_BUNDLE

Run

~/texmacs/distr/TeXmacs-Windows/bin/texmacs.exe

The first time you run TeXmacs, the program will crash. Subsequent runs should work fine.

4.Creation of an installer

After building TeXmacs, you can create an installer using

cd ~/texmacs/src/misc/windows
iscc TeXmacs.iss

The installer can be found at ~/texmacs/distr/texmacs-installer.exe.

This webpage is part of GNU TeXmacs and the larger GNU project. Verbatim copying and distribution of it is permitted in any medium, provided this notice is preserved. For more information or questions, please contact Joris van der Hoeven.

Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA