K2InformaticsGmbH / erloci

Erlang Oracle native driver - DEPRECATED, see https://github.com/K2InformaticsGmbH/oranif instead
Apache License 2.0
37 stars 11 forks source link

Updated VS C++ project files to work with Visual Studio 12 (2013 communi... #13

Closed zsoltm closed 7 years ago

zsoltm commented 9 years ago

...ty edition); replaced hardcoded paths with environment variables

c-bik commented 9 years ago

Thanks but it seems your changes are not backward compatible to VS 2010:

==> erloci (clean)

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        MSBuild c_src/erlocisln.sln /t:Clean /p:Configuration=Debug /p:Platform="x64" /m
Microsoft (R) Build Engine version 4.0.30319.34209
[Microsoft .NET Framework, version 4.0.30319.34209]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 27.04.2015 17:16:59.
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" on node 1 (Clean target(s)).
     1>ValidateSolutionConfiguration:
         Building solution configuration "Debug|x64".
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" (1) is building "c:\projects\git\erloci\c_src\er
loci_drv\erloci_drv.vcxproj" (2) on node 1 (Clean target(s)).
       Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you
may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been for
ced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". F
or more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
     2>_PrepareForClean:
         Deleting file "x64\Debug\erloci_drv.lastbuildstate".
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" (1) is building "c:\projects\git\erloci\c_src\er
loci_con\erloci_con.vcxproj" (3) on node 2 (Clean target(s)).
       Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you
may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been for
ced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". F
or more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
     3>_PrepareForClean:
         Deleting file "x64\Debug\erloci_con.lastbuildstate".
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" (1) is building "c:\projects\git\erloci\c_src\er
loci_lib\erloci_lib.vcxproj" (4) on node 3 (Clean target(s)).
       Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you
may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been for
ced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". F
or more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
     4>_PrepareForClean:
         Deleting file "x64\Debug\erloci_lib.lastbuildstate".
     3>Done Building Project "c:\projects\git\erloci\c_src\erloci_con\erloci_con.vcxproj" (Clean target(s)).

     4>Done Building Project "c:\projects\git\erloci\c_src\erloci_lib\erloci_lib.vcxproj" (Clean target(s)).

     2>Done Building Project "c:\projects\git\erloci\c_src\erloci_drv\erloci_drv.vcxproj" (Clean target(s)).

     1>Done Building Project "c:\projects\git\erloci\c_src\erlocisln.sln" (Clean target(s)).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.32
Clean Debug
==> erloci (compile)

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        MSBuild c_src/erlocisln.sln /t:Build /p:Configuration=Debug /p:Platform="x64" /m
Microsoft (R) Build Engine version 4.0.30319.34209
[Microsoft .NET Framework, version 4.0.30319.34209]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 27.04.2015 17:17:00.
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" on node 1 (Build target(s)).
     1>ValidateSolutionConfiguration:
         Building solution configuration "Debug|x64".
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" (1) is building "c:\projects\git\erloci\c_src\er
loci_con\erloci_con.vcxproj" (2) on node 1 (default targets).
       Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you
may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been for
ced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". F
or more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
     2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(514,5): err
or MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported
 PlatformToolset value is selected. [c:\projects\git\erloci\c_src\erloci_con\erloci_con.vcxproj]
     2>Done Building Project "c:\projects\git\erloci\c_src\erloci_con\erloci_con.vcxproj" (default targets)
-- FAILED.
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" (1) is building "c:\projects\git\erloci\c_src\er
loci_drv\erloci_drv.vcxproj" (3) on node 2 (default targets).
       Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you
may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been for
ced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". F
or more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
     1>Project "c:\projects\git\erloci\c_src\erlocisln.sln" (1) is building "c:\projects\git\erloci\c_src\er
loci_lib\erloci_lib.vcxproj" (4) on node 3 (default targets).
       Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you
may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been for
ced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". F
or more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
     4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(514,5): err
or MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported
 PlatformToolset value is selected. [c:\projects\git\erloci\c_src\erloci_lib\erloci_lib.vcxproj]
     4>Done Building Project "c:\projects\git\erloci\c_src\erloci_lib\erloci_lib.vcxproj" (default targets)
-- FAILED.
     3>Done Building Project "c:\projects\git\erloci\c_src\erloci_drv\erloci_drv.vcxproj" (default targets)
-- FAILED.
     1>Done Building Project "c:\projects\git\erloci\c_src\erlocisln.sln" (Build target(s)) -- FAILED.

Build FAILED.

       "c:\projects\git\erloci\c_src\erlocisln.sln" (Build target) (1) ->
       "c:\projects\git\erloci\c_src\erloci_con\erloci_con.vcxproj" (default target) (2) ->
       (PlatformPrepareForBuild target) ->
         C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(514,5): e
rror MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a support
ed PlatformToolset value is selected. [c:\projects\git\erloci\c_src\erloci_con\erloci_con.vcxproj]

       "c:\projects\git\erloci\c_src\erlocisln.sln" (Build target) (1) ->
       "c:\projects\git\erloci\c_src\erloci_lib\erloci_lib.vcxproj" (default target) (4) ->
         C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets(514,5): e
rror MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a support
ed PlatformToolset value is selected. [c:\projects\git\erloci\c_src\erloci_lib\erloci_lib.vcxproj]

    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:00.27
NMAKE : fatal error U1077: 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.EXE' : return code '0x1'

Stop.
ERROR: Command [compile] failed!
c-bik commented 7 years ago

No relevant anymore!