Hello,
I installed the last version of Simile Enterprise 6.6 32 bit on my computer under Windows 7 and I cannot run any model anymore. An error occurs systematically when compiling the model. It seems there is a problem with the installation of mingw.
Here is an example of the reported error (your example forest.sml):
The compiler raised a problem with the code generated for this model.
It may help to try the 'Debug' option.
The error was:
U:\Users\fgillet\AppData\Local\Temp\sim8516\Desktop1>set PATH=C:\Program Files (x86)\Simile6.6\System\bin
U:\Users\fgillet\AppData\Local\Temp\sim8516\Desktop1>g++ -Wno-trigraphs -c -o objtmp.o -I"C:\PROGRA~2\Simile6.6\Run" model.cpp
U:\Users\fgillet\AppData\Local\Temp\sim8516\Desktop1>g++ -shared -o model1.dll objtmp.o
In file included from C:\PROGRA~2\Simile6.6\Run/dllcalls.h:10:0,
from C:\PROGRA~2\Simile6.6\Run/support1.cpp:5,
from model.cpp:1:
c:\program files (x86)\simile6.6\system\mingw32\include\stdint.h:28:21: fatal error: crtdefs.h: No such file or directory
#include <crtdefs.h>
^
compilation terminated.
g++: error: objtmp.o: No such file or directory
g++: fatal error: no input files
compilation terminated..
Press "Help" to display a relevant page from Simile's documentation.
I had to reinstall the previous version...
Any hint to fix this bug?
Thanks,
François
Comments
#1
Found this! Will release a patch to fix it very soon.
In the mean time, can you use the 64-bit version?
--Jasper
#2
#3
I have fixed this problem and uploaded a new patched release, Simile v6.6p2. Please repeat the download and installation procedure.
The problem only occurred with the 32-bit Windows version, but I have made a full set of patched versions since there were a few bugs with discrete-event simulation that I had fixed since the release.