Hi-
Trying to compile my model to speed it up some. Win7 Pro, and Visual Studio 13.
Configured FlexSim to see Visual Studio.
Saved, closed, and opened FlexSim. Then I tried to build it:
Build-> Make All Code C++ and then saved
Opened compiler console
Build->Compile model
I got more than 100 errors. What else do I need to do?
Here are the first few errors:
building...
------------------------------ compiling functions ------------------------------
execute(cl /W0 /MT /EHa /c /nologo /Zi /I "C:\Projects\QVC\Simulation_Solution\Milestone 2 Pick Module Only\Model" /I "C:\Program Files\FlexSim 2016 Update 2\program\system\include" all.cpp);
all.cpp
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2237) : error C2008: ',' : unexpected in macro definition
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2297) : error C2008: '&' : unexpected in macro definition
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2298) : error C2143: syntax error : missing ';' before '&'
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2298) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2357) : error C2008: '/' : unexpected in macro definition
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2358) : error C2143: syntax error : missing ';' before '/'
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2372) : error C2008: '/' : unexpected in macro definition
c:\users\craig dickson\appdata\roaming\flexsim\flexsim16.2\compile\all.h(2373) : error C2143: syntax error : missing ';' before '/'