Skip to content
Snippets Groups Projects

JPScore with VS2017 - Windows 2010

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Mohcine Chraibi

    This is a PoweShell history showing the results jpscore compilation using VS2017 (Windows 10). See also this tutorial.

    You can copy/paste the commands from the attached file.


    nStart der Windows PowerShell-Aufzeichnung
    Startzeit: 20181022111502
    Hostanwendung: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Prozess-ID: 1816
    PSVersion: 5.1.17134.228
    PSEdition: Desktop
    PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17134.228
    BuildVersion: 10.0.17134.228
    CLRVersion: 4.0.30319.42000
    WSManStackVersion: 3.0
    PSRemotingProtocolVersion: 2.3
    SerializationVersion: 1.1.0.1


    PS C:\Users\chraibi\JuPedSim> git clone --depth=5 https://gitlab.version.fz-juelich.de/jupedsim/jpscore.git

    Cloning into 'jpscore'...
    remote: Enumerating objects: 1126, done.
    remote: Counting objects: 100% (1126/1126), done.
    remote: Compressing objects: 100% (958/958), done.
    remote: Total 1126 (delta 363), reused 654 (delta 154)
    Receiving objects: 100% (1126/1126), 5.75 MiB | 3.49 MiB/s, done.
    Resolving deltas: 100% (363/363), done.
    Checking out files: 100% (919/919), done.

    PS C:\Users\chraibi\JuPedSim> cd jpscore PS C:\Users\chraibi\JuPedSim\jpscore> cmake .

    CMake Warning (dev) at CMakeLists.txt:183:
      Syntax Warning in cmake code at column 43
    
      Argument not separated from preceding token by whitespace.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- JPSCORE_VERSION: 0.8.3
    -- BUILD_TESTING: OFF
    -- BUILD_CPPUNIT_TEST: OFF
    -- PROCESSOR_COUNT: 2
    -- PROCESSOR_COUNT: 1
    -- CMAKE_BUILD_TYPE: Debug
    -- CMAKE_BINARY_DIR: C:/Users/chraibi/JuPedSim/jpscore
    -- CMAKE_SOURCE_DIR: C:/Users/chraibi/JuPedSim/jpscore
    -- CMAKE_TEST_DIR: C:/Users/chraibi/JuPedSim/jpscore/Utest
    --
    -- Platform:
    --     Host: Windows10.0.17134AMD64
    --     CMake: 3.11.3
    --     CMake generator: Visual Studio 15 2017
    --     CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuil
    d.exe
    --     MSVC: 1914
    --
    -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
    -- Found OpenMP_C: -openmp
    -- Found OpenMP_CXX: -openmp
    -- Found OpenMP: TRUE
    CMake Warning at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:587 (message):
      Imported targets and dependency information not available for Boost version
      (all versions older than 1.33)
    Call Stack (most recent call first):
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:266 (find_package)
    
    
    CMake Warning at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:587 (message):
      Imported targets and dependency information not available for Boost version
      (all versions older than 1.33)
    Call Stack (most recent call first):
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:266 (find_package)
    
    
    CMake Warning at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:587 (message):
      Imported targets and dependency information not available for Boost version
      (all versions older than 1.33)
    Call Stack (most recent call first):
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:266 (find_package)
    
    
    CMake Warning at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:587 (message):
      Imported targets and dependency information not available for Boost version
      (all versions older than 1.33)
    Call Stack (most recent call first):
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:266 (find_package)
    
    
    CMake Warning at C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:587 (message):
      Imported targets and dependency information not available for Boost version
      (all versions older than 1.33)
    Call Stack (most recent call first):
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES)
      C:/Program Files/CMake/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:266 (find_package)
    
    
    -- AIROUTER: false
    -- JPSFIRE: false
    -- set start project for VS
    -- MSVC: 1
    -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/H
    ostx86/x86/cl.exe
    -- Debug flags: /DWIN32 /D_WINDOWS /W3 /GR /EHsc /W4 /WX /EHsc -openmp -std=c++11 /MDd /Zi /Ob0 /Od /RTC1 /MTd
     /WX-
    -- Package generation - Windows
    --    + NSIS                                 YES
    -- System Dependencies: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Redist/MSVC/14.14.264
    05/x86/Microsoft.VC141.CRT/msvcp140.dllC:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Redist
    /MSVC/14.14.26405/x86/Microsoft.VC141.CRT/vcruntime140.dllC:/Program Files (x86)/Microsoft Visual Studio/2017/
    Community/VC/Redist/MSVC/14.14.26405/x86/Microsoft.VC141.CRT/concrt140.dll
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/Users/chraibi/JuPedSim/jpscore

    PS C:\Users\chraibi\JuPedSim\jpscore> ls *.sln

        Verzeichnis: C:\Users\chraibi\JuPedSim\jpscore
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----         22.10.18     11:21           6100 JPScore.sln
    Edited
    PowerShell.txt 257 B
    C:\Users\chraibi\JuPedSim> git clone --depth=5 https://gitlab.version.fz-juelich.de/jupedsim/jpscore.git
    cd jpscore
    cmake .
    ls *.sln
    
    # open with Visual Studio the sln-file and folloe the intructions here
    # http://www.jupedsim.org/jpscore/2018-10-21-windows
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment