Error while building solution for FlexSimPy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to implement FlexSimPy in FlexSim version 24.0. I followed all the steps shared on GitHub, but at step #5, when I build the solution, the following error pops up.
I have tried to solve it but still appears... Do you have any ideas on how to solve this?
Build started at 10:59...
1>------ Build started: Project: FlexSimPy, Configuration: Rel_3_12 x64 ------
2>------ Build started: Project: PyConnector, Configuration: Rel_3_12 x64 ------
1>Copy the latest headers from the flexsim build
1>..\..\..\program\system\include\allobjects.h
1>..\..\..\program\system\include\Attributes.h
1>..\..\..\program\system\include\BasicClasses.h
2>Copy the latest headers from the flexsim build
1>..\..\..\program\system\include\BasicMacros.h
1>..\..\..\program\system\include\ByteBlock.h
1>..\..\..\program\system\include\CalculatedTable.h
1>..\..\..\program\system\include\ChartTemplate.h
2>..\..\..\program\system\include\allobjects.h
1>..\..\..\program\system\include\ColorPalette.h
1>..\..\..\program\system\include\Coroutine.h
2>..\..\..\program\system\include\Attributes.h
2>..\..\..\program\system\include\BasicClasses.h
2>..\..\..\program\system\include\BasicMacros.h
2>..\..\..\program\system\include\ByteBlock.h
2>..\..\..\program\system\include\CalculatedTable.h
2>..\..\..\program\system\include\ChartTemplate.h
2>..\..\..\program\system\include\ColorPalette.h
2>..\..\..\program\system\include\Coroutine.h
2>..\..\..\program\system\include\CouplingDataType.h
1>..\..\..\program\system\include\CouplingDataType.h
1>..\..\..\program\system\include\CppLambdaCommands.h
1>..\..\..\program\system\include\DatabaseConnection.h
2>..\..\..\program\system\include\CppLambdaCommands.h
2>..\..\..\program\system\include\DatabaseConnection.h
1>..\..\..\program\system\include\DataTypes.h
1>..\..\..\program\system\include\declaration.h
1>..\..\..\program\system\include\definition.h
2>..\..\..\program\system\include\DataTypes.h
2>..\..\..\program\system\include\declaration.h
2>..\..\..\program\system\include\definition.h
2>..\..\..\program\system\include\Experimenter.h
2>..\..\..\program\system\include\FlexsimDefs.h
1>..\..\..\program\system\include\Experimenter.h
1>..\..\..\program\system\include\FlexsimDefs.h
2>..\..\..\program\system\include\FlexSimEvent.h
2>..\..\..\program\system\include\FlexsimFuncs.h
1>..\..\..\program\system\include\FlexSimEvent.h
1>..\..\..\program\system\include\FlexsimFuncs.h
2>..\..\..\program\system\include\glew.h
2>..\..\..\program\system\include\Group.h
2>..\..\..\program\system\include\Light.h
1>..\..\..\program\system\include\glew.h
1>..\..\..\program\system\include\Group.h
1>..\..\..\program\system\include\Light.h
1>..\..\..\program\system\include\List.h
2>..\..\..\program\system\include\List.h
2>..\..\..\program\system\include\Mesh.h
2>..\..\..\program\system\include\ObjectDataType.h
2>..\..\..\program\system\include\ParameterTable.h
2>..\..\..\program\system\include\PerformanceMeasureTable.h
1>..\..\..\program\system\include\Mesh.h
1>..\..\..\program\system\include\ObjectDataType.h
1>..\..\..\program\system\include\ParameterTable.h
1>..\..\..\program\system\include\PerformanceMeasureTable.h
1>..\..\..\program\system\include\Platform.h
1>..\..\..\program\system\include\SimpleDataType.h
1>..\..\..\program\system\include\StatisticsCollector.h
2>..\..\..\program\system\include\Platform.h
2>..\..\..\program\system\include\SimpleDataType.h
2>..\..\..\program\system\include\StatisticsCollector.h
2>..\..\..\program\system\include\stdafx.h
2>..\..\..\program\system\include\TableViewDataSource.h
1>..\..\..\program\system\include\stdafx.h
1>..\..\..\program\system\include\TableViewDataSource.h
2>..\..\..\program\system\include\TextMesh.h
2>..\..\..\program\system\include\TreeNode.h
2>..\..\..\program\system\include\wglew.h
1>..\..\..\program\system\include\TextMesh.h
1>..\..\..\program\system\include\TreeNode.h
1>..\..\..\program\system\include\wglew.h
1> 35 file(s) copied.
1>..\..\..\program\system\include\DLLMain.cpp
1> 1 file(s) copied.
1> 1 file(s) copied.
2> 35 file(s) copied.
2>..\..\..\program\system\include\DLLMain.cpp
2> 1 file(s) copied.
2> 1 file(s) copied.
2> 1 file(s) copied.
1> 1 file(s) copied.
2>PyConverter.cpp
1>FlexSimPy.cpp
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winuser.h(16246,10): error C2059: syntax error: 'string'
1>(compiling source file 'FlexSimPy.cpp')
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winuser.h(16246,17): error C2238: unexpected token(s) preceding ';'
1>(compiling source file 'FlexSimPy.cpp')
1>PyConverter.cpp
2>PyConnector.cpp
2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winuser.h(16246,10): error C2059: syntax error: 'string'
2>(compiling source file 'PyConnector.cpp')
2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winuser.h(16246,17): error C2238: unexpected token(s) preceding ';'
2>(compiling source file 'PyConnector.cpp')
2>Done building project "PyConnector.vcxproj" -- FAILED.
1>PyPlatform.cpp
1>Generating Code...
1>Done building project "FlexSimPy.vcxproj" -- FAILED.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 10:59 and took 18,832 seconds ==========