Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

How to install iSense Shawn

Marv Cool edited this page May 29, 2013 · 2 revisions

How to compile and integrate libshawnlib into iSense

Please Note: If you are using the libshawnlib from the isense svn, this section is not of interest for you. This section only concerns users that are compiling their own shawn sources and need to integrate their own shawn-library into iSense.

TOC

Prequisites

If you haven't installed cygwin, java or a svn client, please refer to the guide provided in this section [Shawn Introduction](Shawn Introduction). Checkout Shawn and iSense from the svn repositories.

Generate Shawn makefile for iSense Shawn

  • Go to Shawn/buildfiles in cygwin shell (e.g.: cd /cygdrive/c/Dokumente und Einstellungen/Peter/Eigene Dateien/iSense/shawn/buildfiles)
  • Call “ccmake ../src”
  • Press “c” to configure
  • Go down to line “BUILD_LIB_WITH_MAIN” and press “enter” to turn it to “ON”.
  • Go down to line “CMAKE_BUILD_TYPE” and set it to “RelWithDebInfo” or “Release” (smaller file).
  • Go down to line “CONFIGURE_APPS” and press “enter” to turn it to “ON”.
  • Go down to line “MODULE_APPS_ISENSE” and press “enter” to turn it to “ON”.
  • The remaining settings should be set according to your needs.
  • Press “c” again afterwards.
  • To generate press “g” now.

compile shawn by typing make in cywin shell in folder /shawn/buildfiles

Integrate iSense and Shawn

Open the file "developer\iSense\Makefile.properties" in an editor and search for the following entries and change their values to the position of your shawn directory

SHAWN_EXTERNAL_LIB = /cygdrive/c/iSense/shawn/lib/libshawnlib.a

SHAWN_EXTERNAL_INCLUDE = /cygdrive/c/iSense/shawn/src

Compile iSense with make-target shawn from eclipse/cygwin.