rana Posted September 2, 2019 Report Share Posted September 2, 2019 i'm trying to install a network-on-chip simulator on windows (noxim, noctweak) ....i installed systemc ang GCC and now i'm trying to complie the source code of the simulator in systemc but it always gives me that error <<systemc.h: No such file or directory>> when i build Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted September 2, 2019 Report Share Posted September 2, 2019 Check GCC documentation, likely you need to specify include directories using -I flag https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options Quote Link to comment Share on other sites More sharing options...
AmeyaVS Posted September 2, 2019 Report Share Posted September 2, 2019 Hello @rana, Here (http://karibe.co.ke/2014/02/setting-up-systemc-and-eclipse-for-c-hardware-simulation/) is a very detailed resource for setting up the Eclipse CDT IDE for SystemC related development. Though it is mentioned using Linux but you can find the steps 6 through 10 necessary for setting the project configurations which are anyway platform agnostic. Hope it helps. Regards, Ameya Vikram Singh Quote Link to comment Share on other sites More sharing options...
Eyck Posted September 2, 2019 Report Share Posted September 2, 2019 Another option is to use https://github.com/Minres/SystemC-Quickstart as a starting point. This gives you a cmake based project using conan to manage your libraries incl. SystemC (see README.md). Then you have 2 options (I call them 'Eclipse first' and 'CMake first'): either you install the cmake4eclipse Plugin (https://github.com/15knots/cmake4eclipse) via the Marketplace (https://marketplace.eclipse.org/content/cmake4eclipse) or you use cmake to generate your Eclipse project files via cmake -G"Eclipse CDT4 - Unix Makefiles" . I personally prefer the first approach since the latter has one drawback: if you add directory or files you have to add them in CMakeLists.txt, run the generator again and the have an updated Eclipse project. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.