Revision [1040]
Last edited on 2010-04-06 07:28:50 by MartinFischer [Reverting last edit by NewComer [1032] to previous version [778]]Deletions:
Revision [1032]
Edited on 2010-03-30 09:58:50 by NewComerAdditions:
-Write a [[http://custom-essay-writing-service.org/order.php/ custom essay]] to have important advantage in new configuration.
Additions:
=====Building XTrackCAD on GNU/Linux=====
Deletions:
Revision [777]
Edited on 2009-07-13 05:44:39 by MartinFischerAdditions:
- Compile XTrackCad using your new build:
=====Building XTrackCAD on Mac OSX=====
- Remember that to run XTrackCAD on OSX, you need to have X11 running with your DISPLAY set.
=====Building XTrackCAD on Windows=====
- Compile XTrackCad using the new project files. For example, start MSVC and open the "XTrkCAD.sln" solution file which is located in your build directory.
- Run XTrackCAD by double-clicking its icon located in the install directory - for example: c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
=====Building XTrackCAD on Mac OSX=====
- Remember that to run XTrackCAD on OSX, you need to have X11 running with your DISPLAY set.
=====Building XTrackCAD on Windows=====
- Compile XTrackCad using the new project files. For example, start MSVC and open the "XTrkCAD.sln" solution file which is located in your build directory.
- Run XTrackCAD by double-clicking its icon located in the install directory - for example: c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
Deletions:
=====Building XTrkCAD on Mac OSX=====
- Remember that to run XTrkCAD on OSX, you need to have X11 running with your DISPLAY set.
=====Building XTrkCAD on Windows=====
- Compile XTrkCad using the new project files. For example, start MSVC and open the "XTrkCAD.sln" solution file which is located in your build directory.
- Run XTrkCAD by double-clicking its icon located in the install directory - for example: c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
Additions:
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refer to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refer to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refer to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
Deletions:
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refre to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
Revision [716]
Edited on 2008-10-19 16:29:21 by MartinFischerAdditions:
- gtkhtml (might also be called libgtkhtml)
Deletions:
Revision [715]
Edited on 2008-10-19 16:28:47 by MartinFischerAdditions:
- gtkhtml / libgtkhtml
Deletions:
Revision [710]
Edited on 2008-07-08 19:38:08 by TimSheadAdditions:
- You will need to install the following dependencies - I recommend using http://www.macports.org to obtain them:
- GTK2
- gtkhtml
- gnome-icon-theme
- GTK2
- gtkhtml
- gnome-icon-theme
Deletions:
Revision [653]
Edited on 2008-02-11 16:40:36 by BobBlackwell [Addedd reference to XTRKCAD_USE_GETTEXT]Additions:
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refre to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refre to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
- Use XTRKCAD_USE_GETTEXT to add new locales (language translations). Choose "OFF" to use XTrackCAD's default language (English). Refre to http://www.xtrkcad.org/Wikka/Internationalization for additional information.
Revision [633]
Edited on 2008-01-17 21:26:28 by TimSheadAdditions:
CategoryDevel
Revision [609]
Edited on 2008-01-11 20:27:45 by TimSheadAdditions:
- Run XTrkCAD by double-clicking its icon located in the install directory - for example: c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
Deletions:
- Run XTrkCAD from the install directory - for example, c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
Revision [551]
Edited on 2008-01-06 08:00:52 by BobBlackwell [Change the bullet reading ....press the "Generate" button... to read ....press the "OK" button...]Additions:
- Once everything is configured to your satisfaction, press the "OK" button to generate project files for your build.
Deletions:
Revision [541]
Edited on 2008-01-03 23:22:48 by TimSheadAdditions:
$ ~/install/xtrkcad/bin/xtrkcad
- Run XTrkCAD from the install directory - for example, c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
- Run XTrkCAD from the install directory - for example, c:/Program Files/XTrkCAD/bin/xtrkcad.exe.
Deletions:
- Run XTrkCAD from the install directory - for example, c:/Program Files/XTrkCAD/bin/xtrackcad.exe.
Revision [540]
Edited on 2008-01-03 22:29:51 by TimSheadAdditions:
- Note: currently, the Windows binary does not search in the correct location for parameter files, you will have to move the contents of /xtrkcad/share to bin to run the program. This will not be necessary in the near future.
- With some minor changes to the GTK back-end (there are a few places where the code is X11-specific), GTK / Cairo could be used on Windows for high-quality rendering (which is why the XTRKCAD_USE_GTK and XTRKCAD_USE_GTK_CAIRO options are available on Windows).
- With some minor changes to the GTK back-end (there are a few places where the code is X11-specific), GTK / Cairo could be used on Windows for high-quality rendering (which is why the XTRKCAD_USE_GTK and XTRKCAD_USE_GTK_CAIRO options are available on Windows).
Deletions:
- With some minor changes to the GTK back-end (there are a few places where the code is X11-specific), GTK / Cairo could be used on Windows for high-quality rendering.
Revision [539]
Edited on 2008-01-03 22:26:01 by TimSheadAdditions:
- Run the installed binary:
$ ~/install/xtrkcad/bin/xtrackcad
$ ~/install/xtrkcad/bin/xtrackcad
Deletions:
$ XTRKCADLIB=~/install/xtrkcad/share ~/install/xtrkcad/bin/xtrackcad
Revision [538]
Edited on 2008-01-03 21:42:54 by TimSheadAdditions:
- Run XTrkCAD from the install directory - for example, c:/Program Files/XTrkCAD/bin/xtrackcad.exe.
Deletions:
Revision [537]
Edited on 2008-01-03 21:42:27 by TimSheadAdditions:
- Specify the source and build directories in the CMake window. You must provide a build directory outside the source tree - I use "c:/build/xtrkcad".
- Press the "Configure" button to configure the build. You will be prompted for the type of build to generate. Choose your desired tool - I used "Visual Studio 7 .Net 2003". After a few moments you will see three options to configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO.
- Use CMAKE_INSTALL_PREFIX to control where the software will be installed. The default "c:/Program Files/XTrkCAD" is a good choice.
- Compile XTrkCad using the new project files. For example, start MSVC and open the "XTrkCAD.sln" solution file which is located in your build directory.
- Press the "Configure" button to configure the build. You will be prompted for the type of build to generate. Choose your desired tool - I used "Visual Studio 7 .Net 2003". After a few moments you will see three options to configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO.
- Use CMAKE_INSTALL_PREFIX to control where the software will be installed. The default "c:/Program Files/XTrkCAD" is a good choice.
- Compile XTrkCad using the new project files. For example, start MSVC and open the "XTrkCAD.sln" solution file which is located in your build directory.
Deletions:
- Press the "Configure" button to configure the build. You will be prompted for the type of build to generate. I assume "MSVC .Net 2003". After a few moments you will see three options to configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO.
- Use CMAKE_INSTALL_PREFIX to control where the software will be installed. For this example, I assume "c:/program files/xtrkcad".
- Compile XTrkCad using the new project files. For example, start MSVC and open the new solution file which is located in your build directory.
Revision [536]
Edited on 2008-01-03 20:41:18 by TimSheadAdditions:
- Obtain the current sources from CVS; I assume that they are located at "~/src/xtrkcad".
- Create a separate build directory; for these instructions I assume that your build directory is "~/build/xtrkcad".
- Obtain the current sources from CVS; I assume that they are located at "c:/src/xtrkcad".
- Use the Windows Start menu to run CMake.
- Specify the source and build directories in the CMake window. I assume that the build directory is located at "c:/build/xtrkcad".
- Press the "Configure" button to configure the build. You will be prompted for the type of build to generate. I assume "MSVC .Net 2003". After a few moments you will see three options to configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO.
- Use CMAKE_INSTALL_PREFIX to control where the software will be installed. For this example, I assume "c:/program files/xtrkcad".
- If you made any changes, press the "Configure" button again to update your new configuration.
- Once everything is configured to your satisfaction, press the "Generate" button to generate project files for your build.
- Compile XTrkCad using the new project files. For example, start MSVC and open the new solution file which is located in your build directory.
- Build the "BUILD_ALL" project to build the software.
- Build the "INSTALL" project to install the software.
- Run XTrkCAD from the install directory - for example, c:/program files/xtrkcad/bin/xtrackcad.exe.
- Create a separate build directory; for these instructions I assume that your build directory is "~/build/xtrkcad".
- Obtain the current sources from CVS; I assume that they are located at "c:/src/xtrkcad".
- Use the Windows Start menu to run CMake.
- Specify the source and build directories in the CMake window. I assume that the build directory is located at "c:/build/xtrkcad".
- Press the "Configure" button to configure the build. You will be prompted for the type of build to generate. I assume "MSVC .Net 2003". After a few moments you will see three options to configure: CMAKE_INSTALL_PREFIX, XTRKCAD_USE_GTK, and XTRKCAD_USE_GTK_CAIRO.
- Use CMAKE_INSTALL_PREFIX to control where the software will be installed. For this example, I assume "c:/program files/xtrkcad".
- If you made any changes, press the "Configure" button again to update your new configuration.
- Once everything is configured to your satisfaction, press the "Generate" button to generate project files for your build.
- Compile XTrkCad using the new project files. For example, start MSVC and open the new solution file which is located in your build directory.
- Build the "BUILD_ALL" project to build the software.
- Build the "INSTALL" project to install the software.
- Run XTrkCAD from the install directory - for example, c:/program files/xtrkcad/bin/xtrackcad.exe.
Deletions:
- Create a separate build directory; for these instructions I assume that your build directory is "~/build/xtrkcad"
Revision [535]
Edited on 2008-01-03 20:32:05 by TimSheadAdditions:
=====Overview=====
The following instructions detail building XTrackCAD using CMake. CMake is a cross-platform build system, available at http://www.cmake.org, that can be used to generate builds for a variety of build tools ranging from "make" to Visual Studio and XCode. Using CMake you can build XTrackCAD on Windows, GNU/Linux, and Mac OSX using the build tool(s) of your choice.
=====Building XTrkCAD on GNU/Linux=====
=====Building XTrkCAD on Mac OSX=====
- You will need to install GTK2 and gtkhtml ... I recommend using http://www.macports.org to obtain these packages.
- Once the prerequisites are installed the build instructions are the same as for the GNU/Linux build, above.
=====Building XTrkCAD on Windows=====
=====Notes=====
- We need to make some minor changes on all platforms so that the share directory is set through configuration instead of hard-coded.
- With some minor changes to the GTK back-end (there are a few places where the code is X11-specific), GTK / Cairo could be used on Windows for high-quality rendering.
The following instructions detail building XTrackCAD using CMake. CMake is a cross-platform build system, available at http://www.cmake.org, that can be used to generate builds for a variety of build tools ranging from "make" to Visual Studio and XCode. Using CMake you can build XTrackCAD on Windows, GNU/Linux, and Mac OSX using the build tool(s) of your choice.
=====Building XTrkCAD on GNU/Linux=====
=====Building XTrkCAD on Mac OSX=====
- You will need to install GTK2 and gtkhtml ... I recommend using http://www.macports.org to obtain these packages.
- Once the prerequisites are installed the build instructions are the same as for the GNU/Linux build, above.
=====Building XTrkCAD on Windows=====
=====Notes=====
- We need to make some minor changes on all platforms so that the share directory is set through configuration instead of hard-coded.
- With some minor changes to the GTK back-end (there are a few places where the code is X11-specific), GTK / Cairo could be used on Windows for high-quality rendering.
Deletions:
Note: as of this writing the CMake build works on GNU/Linux and MacOSX. With minor work it should be usable on Windows as-well.
Notes:
- We need to make some minor changes so that the share directory can be adjusted through configuration instead of hard-coded.
- Ideally, CMake should be used for the build on Windows, too. This shouldn't require very much work.
- With some minor changes to the GTK back-end (there are a few places where the code is X11-specific), GTK / Cairo can be used on Windows for high-quality rendering.
- To build XTrkCAD on OSX, you will need to install GTK+ ... I recommend using http://www.macports.org to obtain an up-to-date GTK.