Re: Need help to solve an error in build systemC code in VC+
In VC++ IDE, go to tools/options menu and in the options dialog, select VC++ directories and add the directory where kernel32.lib is found. It can be a little different in different VC++ versions, but this is the basic idea.
Re: Need help to solve an error in build systemC code in VC+
OK, I guess you are on the right track. Now the problem is that the linker can't locate systemc.lib. Please add path to systemc.lib in options dialog as you did with kernel32.lib. This should help.
Unresolved external means the linker couldn't find the definition for a function that is declared/used in the code. When the compiler see a function used in a c file, it will assume that the function definition may be existing in some other C file or library and continues compilation as if nothing happened. When the linker tries to link individual object files, it will see that the particular function is used and will try to locate it in other object files or library files. If linker can not find the function definition, it will abort linking further with error "unresolved external".
here in you case you might have used some functions defined in systemc.lib, but since linker can't locate systemc.lib it cant figure out the function definition.