SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

ThSim - Thermal Simulator

Please read the program user documentation under doc/html (doc/thsim.chm under windows).

You can also create the source documentation in the 'doxygen' directory by calling 'doxygen setup'.

Build Instructions:

General

You need wxWindows, version 2.4.0 or higher, with wxUSE_OPENGL = 1 set in setup.h

On Linux, the OpenGL libraries need to be installed on your system. If not, you can still compile the program with wxUSE_OPENGL = 0, but then the OpenGL mode will not be available.

(for Linux, use the configure switch to activate OpenGL in wxWindows).

Build the wxWindows library first.

You also need to compile the wxWindows XRC resource system, found under $(WXDIR)/contrib/src/xrc

Borland Free Command Line Tools (BCC 5.5.1):

Enter 'make -f Makefile.b32' for debug build in the root directory.

Enter 'make -f Makefile.b32 FINAL=1' for final build in the root directory to build the program.

Run the program by typing 'thsim'.

MinGW (2.95.2 or higher):

Enter 'make -f Makefile.g95' in the root directory

Enter 'make -f Makefile.g95 FINAL=1' for final build in the root directory to build the program.

Run the program by typing 'thsim'.

Linux (Mandrake 9.0 or equivalent):

Edit Makefile.240 and set up top_srcdir and top_builddir for your wxWindows installation.

Enter 'make -f Makefile.240 in the root directory to build the program.

Run the program by typing './thsim'.

Update translations (using poEdit):

Under windows, run txtxrc.bat to create thstrs.cpp (holds translatable string used in XRC resources) You may need to edit the file to adjust the path to WXRC.EXE (needs to be built first).

TODO

  • Create install target in the Makefile
  • Somehow make internationalisation work automatically (currently, renaming the 'de' directory gets you the english GUI, otherwise the german language GUI)
  • Create more language translations using poEdit
  • Allow grouping of elements so that they can be moved, also written and loaded from file


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.