Friday, 23 October 2015

How to configure SystemC 2.3 libraries in Eclipse IDE

Eclipse IDE I'm using is Mars.1 Release.

To configure SystemC libraries in Eclipse IDE and getting started with SystemC follow these steps.

- After successfully installing SystemC libraries with cygwin, you'll have two new directories in systemc-2.3 directory.

systemc-2.3/include
systemc-2.3/lib-cygwin

- Open Eclipse IDE.
- Create C++ Project. Select Cygwin GCC in Toolchain.
- Then open Project -> Properties.

- Under C/C++ General you'll see 'Paths and Symbols' option as shown in screenshot below,
Copy your systemc-2.3/include directory path and paste it.



- Now go under 'Libraries' Tab and enter 'systemc' and 'm'. See below screenshot.



- Under 'Library Paths' add systemc-2.3/lib-cygwin path.



- Click Apply and you are done!

Enjoy SystemC. Comment below for any difficulties.