No support for Visual Studio C++ 2008 and 2010

Timotei's Avatar

Timotei

22 Jun, 2014 08:21 PM

Hi,

I just tried your awesome infrastructure and it looks brilliant! :D I have some couple of open-source projects written in C++ that I'd like to build. The compilation with VS2013 works very well. However, I don't see any support for VC2008, 2010 or 2012 (compiling via cmake).

I am wondering, could you please install MSVC 2008 and 2010 C++ EXPRESS editions? (They're each under 1 GiB of space) and express versions are free for all. Having support for them would be really awesome.

Thanks a lot!

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Jun, 2014 03:26 AM

    Feodor Fitsner's Avatar

    There is no 2008, but C++ Express 2010, 2012 and 2013 are obviously installed. What error are you getting when compiling against 2010?

    We tried deploying 2008 few times but there is always some sort of blocking issues with that. Don't know maybe it should have been installed before 2010.

  2. 2 Posted by Timotei on 23 Jun, 2014 05:42 PM

    Timotei's Avatar

    This is weird. I get this on my job:

    cmake -G "Visual Studio 10" ..
    CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
    execute_process given COMMAND argument with no value.
    Call Stack (most recent call first):
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR) C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:17 (project)

    -- The C compiler identification is unknown

    I am wondering, in what command prompt is the script run? Cause in a local VM I've tried, if I start with the VS2013 developer tools command prompt, then it will work out well that command above, given that MSVC 2010 C++ Express is installed. Or maybe I have to call the VS2013/2010 developer tools command line bat to be able to use that? - I'll try this.

  3. 3 Posted by Timotei on 23 Jun, 2014 06:04 PM

    Timotei's Avatar

    So, I've tried calling VC10 setup env dir before( call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat") but to no avail, I still get that error.

  4. 4 Posted by olivler.grisel on 11 Jul, 2014 10:15 PM

    olivler.grisel's Avatar

    MSVC 2008 and 2010 C++ Express are now installed and work as expected, both for 32 and 64 bit builds (via the Windows SDKs). Here is an example to build a Python project with a compiled extension:

    https://ci.appveyor.com/project/ogrisel/python-appveyor-demo/

  5. 5 Posted by arkady.shapkin on 26 Nov, 2015 06:48 PM

    arkady.shapkin's Avatar
  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Jul, 2019 04:51 AM
15 Jul, 2019 06:33 PM
15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM
15 Jul, 2019 05:46 PM