Mohammad,
I just tested the win32 version of the 2018.11.11 release with the default PV/Residential C code generation using mingw 32 bit version on Windows 10. The folder with the code generation has the sscapi.h and appropriate ssc.dll files to run. I matched the results in SAM using the commands in the attached image.
Looking at your command, you are missing the
from the build statement.
For reference, the generated Makefile for the C build is:
ifdef SystemRoot
RM = del /Q
EXT = .exe
CIFLAGS = -I.. -L.
LFLAGS = -lssc
#x64 SET PATH=c:\MinGW64\bin;%PATH%
#win32 SET PATH=c:\MinGW\bin;%PATH%
CCCOMP = gcc
else
PF = $(shell uname)
ifneq (,$(findstring Darwin, $(PF)))
VERS = $(shell sw_vers -productVersion)
CIFLAGS = -I..
EXT = .dylib
else
ifneq (,$findstring(Linux, $(PF)))
CIFLAGS = -I.. ./ssc.so
EXT = .o
endif
endif
RM = rm -f
CCCOMP = gcc
LFLAGS = -ldl
endif
PROJ_NAME = untitled
JFLAGS = -g
all :
$(CCCOMP) $(CIFLAGS) -o$(PROJ_NAME) $(PROJ_NAME).c $(LFLAGS)
clean :
$(RM) $(PROJ_NAME)$(EXT)
help:
@echo "Please check the settings for your system.Your system may not be supported.Please contact sam.support@nrel.gov"
Let us know if you still are running into issues with the C code.