[cosmic-users] Build on Windows using Visual Studio 2012

Marianne Rieckmann marianne.rieckmann at adelaide.edu.au
Mon Aug 3 00:04:44 CDT 2015


    CoSMIC VERSION: 0.8.4

    HOST MACHINE and OPERATING SYSTEM: Windows 7 Enterprise

    TOOL/AREA/CLASS/EXAMPLE AFFECTED: Multiple projects failed to build

    DOES THE PROBLEM AFFECT: COMPILATION / LINKING for Visual Studio 2012

    SYNOPSIS:  Many projects in the CoSMIC_GAME.sln give the following error.
    Microsoft.CppCommon.targets(611,5): error : Element <SubSystem> has an invalid value of "2".

    DESCRIPTION: This problem relates to the project properties Linker/System/SubSystem where a value of 2 is invalid.

    REPEAT BY: Following BUILDING instructions for GAME and CoSMIC
    %ACE_ROOT%\bin\mwc.pl -type vc11 CoSMIC_GAME.mwc
    devenv /useenv CoSMIC_GAME.sln

    SAMPLE FIX/WORKAROUND: To fix each project, change the properties Linker/System/SubSystem to a valid value for example
    Windows (/SUBSYSTEM:WINDOWS)

    Is this the correct value to use?

    A better fix for this problem would be to create the solution (ie with MPC) with the correct SubSystem value.

    RELATED FILES:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/cosmic-users/attachments/20150803/a92085ec/attachment.html>


More information about the cosmic-users mailing list