私はそれは私にエラーを与えるDLIBインストールするときに、私はCMakeのとブースト-pythonのをインストールしたがしているPython用DLIBモジュールをインストールしたい:CMakeにBOOST_ROOTとBOOST_LIBRARYを渡すには?
例えばWe couldn't find the right version of boost python. If you installed boost and you are still getting this error then you might have installed a version of boost that was compiled with a different version of visual studio than the one you are using. So you have to make sure that the version of visual studio is the same version that was used to compile the copy of boost you are using. -- Set the BOOST_ROOT and BOOST_LIBRARYDIR environment variables before running cmake.
このような何か:
set BOOST_ROOT=C:\local\boost_1_57_0
set BOOST_LIBRARYDIR=C:\local\boost_1_57_0\stage\lib
私はBOOST_ROOT
とBOOST_LIBRARYDIR
パスを設定する方法を見つけ出すことはできません。 CMakeのを実行する前に、あなたはコンソールでこれらのコマンドを入力することができ、一時的なセットの環境変数への
"pip install dlib"をコマンドラインで実行すると、ソリューションに応じて変数を設定した後、同じエラーが表示されるi-e "BOOST_ROOTとBOOST_LIBRARYDIRを設定"が成功しました。 –