19 Jan 00:10
MCSIM installation
Rudy Gunawan <rudy.gunawan <at> pnl.gov>
2010-01-18 23:10:05 GMT
2010-01-18 23:10:05 GMT
Hi,
I have been trying to install MCSim on Windows XP. I have already had C
compilers, both gcc and lcc. 'Mod' has already worked properly (I guess). When
I did 'mod perc.model', it gives me 'model.c' as expected. Nevertheless, the
problem arises when I attempt to compile 'model.c', it gave me there errors:
"... undefined reference to _vbModelReinitd"
"... undefined reference to CalcInputs"
"... undefined WinMain <at> 16"
While the last error can be fixed by adding
int main(int argc, char *argv[]) {
return 0;
}
into model.c, I have no clue for the first two errors. I have followed the
aforementioned steps. I put 'mod.exe' into the 'sim' folder. Moreover, I
move 'perc.model' into the 'sim' folder in order to link it with the other sim
files.
So if anybody has some suggestions, please share. Thank you very much.
RSS Feed