mmustafa88 Posted November 25, 2014 Report Posted November 25, 2014 Hi Everyone - I had been trying to install and run a simple helloworld program using systemc 2.3.1, windows 8 and Visual Studio 2013. The library itself compiles fine. However, When i write a simple hello world program and builds it, it gives error "sprintf is unsafe. use sprintf_s. To disable deprecation, use _CRT_SECURE_NO_WARNINGS". After disabling it in the options. It started giving me 100's of link errors. I checked with the INSTALL guide of systemc 2.3.1, it only says supported on windows 7. Could this be the problem? Regards, Mustafa Quote
ralph.goergen Posted November 25, 2014 Report Posted November 25, 2014 Hi, I did not try SystemC in Windows 8 but I think it should work. The linker errors are often caused by the use of different versions of the runtime library used by SystemC and the user project. Please check in the project options that both projects use the same version of the runtime library (as far as I remember Multithreaded-Debug is default in SystemC): Project properties -> Configuration -> C/C++ -> Code generation -> Runtime library And ensure that you added the /vmg option. Greetings Ralph maehne 1 Quote
KARTHIKEYAN Posted December 10, 2014 Report Posted December 10, 2014 hai ... i had been trying to install systemc 2.0 in red hat linux in my pc ... i downloaded system c 2.0 file from accellera. i found that it works with GNU compiler ,so i downloaded GNU c++ compiler 2.95.2 and run in linux...i found these message while approaching (error meniond as image below) I followed these steps for installing GCC compiler...i creatd test file and run it in linux mentiond in(8&9)...but i found missing something in first four points... i didnt figure out these points(1 to 4)....can anyone help me regarding these installation and my error in it????????? insatallation steps found in (http://www.tldp.org/LDP/LG/issue49/misc/beekmans/LFS-HOWTO-7.html) Reboot the computer into the LFS system Remount the LFS partition in read-write mode Mount the partition that contains the gcc-2.95.2 and gcc-install directories Create a symlink that links /usr/src/gcc-2.95.2 to the usr/src/gcc-2.95.2 directory that contains the gcc source files. Go to the gcc-install directory Install the package by running make install Go to the /root directory Compile+link test.c by running gcc test.c -o test Compile+link test2.c by running g++ test2.c -o test2 Run both programs If both programs run without errors or crashing than the compilers and linkers seem to be working Remove the /usr/src/gcc-2.95.2 symlink thanks and regards R.KARTHIKEYAN Quote
KARTHIKEYAN Posted December 10, 2014 Report Posted December 10, 2014 hai can anyone help me in installing systemc 2.0 in windows 8.1 by steps to follow..????? thanks and regards R.KARTHIKEYAN Quote
ralph.goergen Posted December 10, 2014 Report Posted December 10, 2014 If there is no really good reason, you should use SystemC 2.3.1. Earlier versions have several issues. Detailed installation instructions for Linux and Windows systems can be found in the README delivered with SystemC package. Greetings Ralph maehne 1 Quote
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.