Menu

VCS2017 compiling issue

flaviu
2020-08-18
2020-08-21
  • flaviu

    flaviu - 2020-08-18

    I generated with CMake a VS2017 solution for dlib example: D:\Project\dlib-19.21\examples\dlib_build

    I have generated the solution with following settings:

    Visual Studio 2017 (v141), Windows SDK Version 10.0.17134.0 See attached image.

    Generated solution file, with a note, I didn't installed OpenCV.

    And when I compiled the examples.sln file, I got two errors:

    1>------ Build started: Project: dnn_imagenet_train_ex, Configuration: Debug x64 ------
    2>------ Build started: Project: dnn_semantic_segmentation_train_ex, Configuration: Debug x64 ------
    1>dnn_imagenet_train_ex.cpp
    2>dnn_semantic_segmentation_train_ex.cpp
    2>d:\project\dlib-19.21\dlib\dnn\core.h(2694): fatal error C1060: compiler is out of heap space
    1>D:\Project\dlib-19.21\examples\dnn_imagenet_train_ex.cpp(369): fatal error C1060: compiler is out of heap space
    2>Done building project "dnn_semantic_segmentation_train_ex.vcxproj" -- FAILED.
    1>Done building project "dnn_imagenet_train_ex.vcxproj" -- FAILED.
    3>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------
    3>Project not selected to build for this solution configuration 
    ========== Build: 0 succeeded, 2 failed, 103 up-to-date, 1 skipped ==========
    

    My hardware is:

    OS Name Microsoft Windows 10 Pro
    Version 10.0.18363 Build 18363

    System Type x64-based PC
    Processor Intel(R) Pentium(R) CPU G640 @ 2.80GHz, 2800 Mhz, 2 Core(s), 2 Logical Processor(s)
    Installed Physical Memory (RAM) 8.00 GB
    Total Physical Memory 7.94 GB
    Available Physical Memory 4.88 GB
    Total Virtual Memory 14.0 GB
    Available Virtual Memory 9.14 GB
    Page File Space 6.01 GB

    Do I need to buy another PC ? :)

    Can you help me a little bit ? I have not worked with dlib anymore.
    Thank you.
    Flaviu.

     

    Last edit: flaviu 2020-08-18
  • flaviu

    flaviu - 2020-08-21

    I have solved, if anyone has the same problem, just write me here.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.