HowToBuildGimias 1 4 2 InWindows Step 1
Before checking out and building GIMIAS, make sure that you have installed the following tools:
- A SVN client ([Smart SVN] or [Tortoise SVN])
- A compiler ([Microsoft Visual Studio 2008] is suggested)
- All Service packs available for the compiler
- [CMake 2.8]
- [Python 2.6 or 2.7]
- [CSnake ≥ 2.5.0]
- An advanced editor like [Notepad++] to edit Linux/Windows text files
| Note: Visual Studio compiler|
If you want to compile GIMIAS for 64 bits, you need to select this option on the [Visual Studio Setup].
If you don't have a commercial version of Visual Studio, you can use the free one [Microsoft Visual Studio 2008 Express].
Here you can find the service pack for VS2003 and VS2008:
Be sure that your Visual Studio has service pack installed. You can see it on menu Help->About:
GIMIAS source code
GIMIAS source code can be downloaded from:
- SVN repository: https://svn.gimias.org/svn/toolkit/gimias/stable/GIMIAS_1_4_2
- SVN repository: https://svn.gimias.org/svn/toolkit/gimias/extensions/branches/1_4_2
Download the source code into a folder of your local computer. The folder must meet the following requirements:
- Must not contain white spaces
- Path length less than 30 characters
A valid path is C:\Code\src\GIMIAS_1_4
Not valid paths are:
- C:\Documents and Settings\Administrador\Mis documentos\Gimias\: It's too long (63 chars)
- d:/scratch/thomas/projects/current/gimias: It's too long (42 chars)
- C:\My Code\src\GIMIAS: Has white spaces
| Note: SVN repository and zip file|
We recommend you to use the SVN approach because it has several advantages, like easily switch to a new GIMIAS version, sending patches about changes. Next section describes how to check out GIMIAS from the SVN repository.
Check out GIMIAS from SVN repository using SmartSVN
If you are using SmartSVN follow the instructions below to checkout gimias:
- Open SmartSVN
- Select “Checkout project from repository”
- In the “Repository” step, select “Quick checkout (less configuration)”
- Specify the URL: https://svn.gimias.org/svn/toolkit/gimias/stable/GIMIAS_1_4_2.
- Specify the Local Directory: beware to chose a directory path with no blank spaces and no more than 20 characters length (e.g. C:/Code/src/GIMIAS_1_4).
- click “Next”
- Click “Finish”
- SmartSVN will automatically do a checkout of the project
Follow the same steps to download source code of GIMIAS extensions from https://svn.gimias.org/svn/toolkit/gimias/extensions/branches/1_4_2 into the folder C:/Code/src/Extensions_1_4
| Note: SmartSVN configuration|
We recommend you to disable automatic refresh on windows activation because it takes a lot of hard disk resources. To disable this option you need to go to the menu Edit->Preferences->Actions->Refresh.
| Note: Proxy configuration|
If you receive an error when trying to check out the code from the SVN URL, but you can access it from your Internet browser, it's possible that you need to configure the proxy of your Internet access. To configure the proxy, you need to go to the menu Repository->Manage profiles. Under the Proxies page, you can add the proxy configuration of your local network. After this, you need to configure the proxy on the Profile page of GIMIAS URL.
| Note: Transactions|
To see all transactions, you need to build the log cache. You need to select this URL: https://svn.gimias.org/svn/toolkit/gimias/stable/GIMIAS_1_4_2
| Note: Server Timeout|
If you receive a time out error when connecting to the SVN server, we advise you to decrese the timeout parameter. The default value is 1 hour but you can set it to 60 seconds. You need to edit the file smartsvn.properties and add the line:
To find this file you need to check this web page: