From a17a4f5f15f041e8da07a1a8d2b67ca5a2e1ea41 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 9 Nov 2010 13:26:31 +0000 Subject: *** empty log message *** --- html/en/guide.html | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'html') diff --git a/html/en/guide.html b/html/en/guide.html index 93cd1df..d1aad3e 100644 --- a/html/en/guide.html +++ b/html/en/guide.html @@ -63,27 +63,34 @@

Building the Library

-

In the Downloads you will ne able to find pre-compiled binaries for many +

In the Downloads you will be able to find pre-compiled binaries for many platforms, all those binaries were built using Tecmake. Tecmake is a command line multi compiler build tool based on GNU make, available at http://www.tecgraf.puc-rio.br/tecmake. Tecmake is used by all the Tecgraf libraries and many applications.

-

In UNIX, you do not need to install Tecmake, a compact version of Tecmake for -UNIX is already included in the source code package. Just type "make" in the -command line on the "src" folder and all libraries and executables will be -build. -Set the TECTOOLS_HOME environment variable to the folder were the IM and Lua -libraries are installed, by default it will assume "TECTOOLS_HOME=../..".

+

In UNIX, you do not need to install Tecmake, a version for Posix systems is +already included in the source code package. Just type "make" in the command +line on the "src" folder and all libraries will be build. Set the TECTOOLS_HOME +environment variable to the folder were the IM and Lua libraries are installed, +by default it will assume "TECTOOLS_HOME=../..".

In Linux, check the "Building Lua, IM, CD and IUP in Linux" guide.

In Windows, the easiest way to build everything is to install the Tecmake tool into your system. It is easy and helps a lot. The Tecmake configuration files (*.mak) available at the "src" folder are very easy to understand also. -Also there are files named +There are files named make_uname.bat that build the libraries using Tecmake. To build for Windows using - Visual C 7.0 (2005) for example, just execute "make_uname vc7" , or the -DLLs with Visual C++ 9 (2008) type "make_uname dll9". The Visual + Visual C 9.0 (2008) for example, just execute "make_uname vc9" , or +for the +DLLs type "make_uname dll9". The Visual Studio workspaces with the respective projects available in the source package is for debugging purposes only.

+

If you don't want to install Tecmake you can use the version for Windows +systems that is included in the source code package. BUt is is more complicated +that its Posix counterpart. First the GNU make must be installed and in the PATH +before other makes. In the command line you must specify the compiler path and +the TEC_UNAME variable. For example:

+
make -f tecmakewin.mak TEC_UNAME=mingw4 MINGW4=c:/mingw 
+make -f tecmakewin.mak TEC_UNAME=gcc4 GCC4=c:/cygwin           (Cygwin building for Win32)

Make sure you have all the dependencies for the library you want installed, see the documentation bellow.

If you are going to build all the libraries, @@ -126,7 +133,7 @@ cdluagl51 -> cdlua51

As a general rule (excluding system dependencies and included third party libraries): CD has NO external dependencies, and CDLua depends on Lua and IMLua. Just notice that not all CDLua libraries depend on IMLua.

-

The Lua bindings for IUP, CD and IM (Makfiles and Pre-compiled binaries) +

The Lua bindings for IUP, CD and IM (Makefiles and Pre-compiled binaries) depend on the LuaBinaries distribution. So if you are going to build all use the LuaBinaries source package also, not the Lua.org original source package. -- cgit v1.2.3