Skip to content

dlib install error #2678

@HossamAbdelraof

Description

@HossamAbdelraof

Discussed in #2677

Originally posted by HossamAbdelraof October 29, 2022
iam trying to install dlib in win10 using python pip and each time this error pop

      -- Building for: Visual Studio 17 2022
      -- Selecting Windows SDK version  to target Windows 10.0.19044.
      -- The C compiler identification is unknown
      -- The CXX compiler identification is unknown
      CMake Error at CMakeLists.txt:14 (project):
        No CMAKE_C_COMPILER could be found.



      CMake Error at CMakeLists.txt:14 (project):
        No CMAKE_CXX_COMPILER could be found.

tried to clone and build using cmake

git clone https://github.com/davisking/dlib.git cd dlib mkdir build; cd build; cmake ..; cmake --build . 

#until here it worked fine but when run this 
cd .. 
python3 setup.py install

it return the same error

i have vs 17 2022, re downloaded it many times and nothing happen
any one can help ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions