I'm trying to build ACE 6.4.6 on VS2107 (v15.7.3) by using mwc.pl to generate the solution file.
perl ..\bin\mwc.pl -type vs2017 -static -relative ACE_ROOT=e:\develop\ace_wrappers
When I open the solution file in e:\develop\ace_wrappers\ace\ace.sln the ACE project won't load.
Message: E:\Develop\ACE_wrappers\ace\ACE.vcxproj : error : Cannot load project with duplicated project items: ..\VERSION is included as 'CustomBuild' and as 'None' item types.
..\VERSION in is the project file twice.
<None Include="..\VERSION">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</None>
<CustomBuild Include="..\VERSION">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</CustomBuild>
When removing the change ..\VERSION to VERSION from the CustomBuild. I get: E:\Develop\ACE_wrappers\ace\ACE.vcxproj : error : Cannot load project with duplicated project items: ace_wchar.inl is included as 'ClInclude' and as 'None' item types.
This appears to be related to the VS2017. In the VS2015 (-type vc14) will work just fine.
Hi,
We have released today ACE 6.5.0, maybe you can try this release? Also see https://github.com/DOCGroup/MPC/issues/50 for the background details of this issue.
Best regards,
Johnny Willemsen
Remedy IT
http://www.remedy.nl
On Tuesday, June 5, 2018 at 10:43:16 AM UTC+2, fka...@delftdi.com wrote:
I'm trying to build ACE 6.4.6 on VS2107 (v15.7.3) by using mwc.pl to generate the solution file.
perl ..\bin\mwc.pl -type vs2017 -static -relative ACE_ROOT=e:\develop\ace_wrappers
When I open the solution file in e:\develop\ace_wrappers\ace\ace.sln the ACE project won't load.
Message: E:\Develop\ACE_wrappers\ace\ACE.vcxproj : error : Cannot load project with duplicated project items: ..\VERSION is included as 'CustomBuild' and as 'None' item types.
..\VERSION in is the project file twice.
<None Include="..\VERSION">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</None>
<CustomBuild Include="..\VERSION">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
</CustomBuild>
When removing the change ..\VERSION to VERSION from the CustomBuild. I get: E:\Develop\ACE_wrappers\ace\ACE.vcxproj : error : Cannot load project with duplicated project items: ace_wchar.inl is included as 'ClInclude' and as 'None' item types.
This appears to be related to the VS2017. In the VS2015 (-type vc14) will work just fine.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 12:28:30 |
Calls: | 6,645 |
Calls today: | 5 |
Files: | 12,190 |
Messages: | 5,326,718 |