Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

ktechlab/ktechlab-0.3

 
 

Repository files navigation

KTechLab 0.3
=============

KTechLab is an IDE for microcontrollers and electronics.
It supports circuit simulation,
program development for microcontrollers and
simulating the programmed microcontroller together with its application circuit.

Introduction
-------------

Resources
-------------
- KTechLab on github:
    https://github.com/ktechlab

    https://github.com/ktechlab/ktechlab-0.3
    https://github.com/ktechlab/ktechlab

- KTechLab on sourceforge
    - wiki:
        http://ktechlab.sourceforge.net
    - project page:
        http://sourceforge.net/projects/ktechlab
    - project page for developers:
        http://sourceforge.net/projects/ktechlab/develop

- the official communucation channel is hosted on sourceforge,
        it is called ktechlab-devel
    - link to archives of the list:
        http://sourceforge.net/mailarchive/forum.php?forum_name=ktechlab-devel

- on IRC, KTechLab developers regularly join the channel
        `#ktechlab`, on FreeNode

- source code repositories: see Getting the source section, below


Getting the source
------------------

KTechLab's source code is located in GIT repositories.

The official repositories are located on github:

- https://github.com/ktechlab/ktechlab-0.3
    - the port-0.3.8-kde4-v1 branch contains currently the latest code

- https://github.com/ktechlab/ktechlab
    - the master branch contains the latest tested development code,
        while other branches might contain untested/unstable code

Other notable GIT repositories are located on sourceforge:

- main KTechLab repository:
    - `git://ktechlab.git.sourceforge.net/gitroot/ktechlab/ktechlab`
    - contains the contents of the previously used SVN repository

- developers' own repositories:
    - `git://ktechlab.git.sourceforge.net/gitroot/ktechlab/ktl-alonzotg`
    - `git://ktechlab.git.sourceforge.net/gitroot/ktechlab/ktl-j_ohny_b`
    - `git://ktechlab.git.sourceforge.net/gitroot/ktechlab/ktl-zoltan_p`
        - the master branch should have the same content as the
            official master branch from github
    - these repositories contain work-in-progress code,
        which is supposed to be merged in the master branch on github

Checking out from GIT can be performed with the following commands:

    git clone git://github.com/ktechlab/ktechlab-0.3.git
    cd ktechlab
    git checkout -b port-0.3.8-kde4-v1 --track origin/port-0.3.8-kde4-v1


Building and Running
--------------------

Required dependencies

- Qt4 -dev
- cmake
- glib -dev
- KDE4 libraries -dev

Optional dependencies

- GPSim -dev, for microcontroller support



Since KDE4, all Makefiles in KDE projects are generated using CMake.
After checking out the source (see Getting the source),
here is how to compile and install KTechLab.
CMkake is not a run-time dependency of KTechLab.


1. By using a terminal, navigate to the top-level source-directory

2. Run the shell script `simple-setup.sh`.
    This command compiles KTechLab into the directory `simple-build`,
    installs it into the directory `simple-install` and
    sets up the user-specific settings (syscoca, mime database) for the
    current user.

         sh simple-setup.sh

3. Launch KTechLab by running the script `simple-launch.sh`

         sh simple-launch.sh

KTechLab should start running at this point.
If this simple method of launching KTechLab does not work,
please contact the developers, because you have found a bug.

## Running by multiple users with same build/install directory

It is possible to run an already compiled and installed version of KTechLab
by multiple users. In order to do this, run the script
`ktechlab-user-setup.sh` from the `simple-install/bin/` directory

         sh simple/install/bin/ktechlab-user-setup.sh

Then you can launch KTechLab as usual

        sh simple-launch.sh

## Running a build when the source/build/install directory has been moved

It the source directory has been moved, then the setup procedure has
to be rerun. This is due to the fact that in the launch scripts of
KTechLab, absolute directory paths are generated.
The compilation step should be a lot faster than previously, because
the source files have not been changed, so the existing build is
just verified, not recreated.

         sh simple-setup.sh
         sh simple-launch.sh

Developing with KDevelop 4
--------------------------

Just open/import the CMakeLists.txt project file.


Have fun with KTechLab!

About

MERGED INTO MAIN CODE REPOSITORY! Consider it Read-only. KTechLab 0.3 series source code import from SVN on sourceforge: http://ktechlab.svn.sourceforge.net/viewvc/ktechlab/

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING.icons-kde3

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 98.1%
  • CMake 1.7%
  • Other 0.2%