We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
参照readme,在PC端进行编译。步骤如下: 1.下载源码并更新子模块 2.编译protobuf 通过 3. 编译ncnn cd ../3rdparty/src/ncnn mkdir build cd build cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%cd%/install -DProtobuf_INCLUDE_DIR=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\include -DProtobuf_LIBRARIES=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\lib\libprotobuf.lib -DProtobuf_PROTOC_EXECUTABLE=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\bin\protoc.exe
出错信息如下: E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\src\ncnn\build>cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%cd%/install -DProtobuf_INCLUDE_DIR=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\include -DProtobuf_LIBRARIES=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\lib\libprotobuf.lib -DProtobuf_PROTOC_EXECUTABLE=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\bin\protoc.exe -- CMAKE_INSTALL_PREFIX = E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\src\ncnn\build/install -- Target arch: x86 -- OpenCV library: C:/Users/Administrator/Downloads/opencv/build -- version: 3.4.10 -- libraries: opencv_world -- include path: C:/Users/Administrator/Downloads/opencv/build/include;C:/Users/Administrator/Downloads/opencv/build/include/opencv CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:469 (file): file STRINGS file "E:/hawk-skys/mtcnn_ncnn/mtcnn_ncnn/3rdparty/include/google/protobuf/stubs/common.h" cannot be read. Call Stack (most recent call first): tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:475 (math): math cannot parse the expression: " / 1000000": syntax error, unexpected exp_DIVIDE (2). Call Stack (most recent call first): tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:476 (math): math cannot parse the expression: " / 1000 % 1000": syntax error, unexpected exp_DIVIDE (2). Call Stack (most recent call first): tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:477 (math): math cannot parse the expression: " % 1000": syntax error, unexpected exp_MOD (2). Call Stack (most recent call first): tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:469 (file): file STRINGS file "E:/hawk-skys/mtcnn_ncnn/mtcnn_ncnn/3rdparty/include/google/protobuf/stubs/common.h" cannot be read. Call Stack (most recent call first): tools/onnx/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:475 (math): math cannot parse the expression: " / 1000000": syntax error, unexpected exp_DIVIDE (2). Call Stack (most recent call first): tools/onnx/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:476 (math): math cannot parse the expression: " / 1000 % 1000": syntax error, unexpected exp_DIVIDE (2). Call Stack (most recent call first): tools/onnx/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:477 (math): math cannot parse the expression: " % 1000": syntax error, unexpected exp_MOD (2). Call Stack (most recent call first): tools/onnx/CMakeLists.txt:2 (find_package)
CMake Warning at tools/quantize/CMakeLists.txt:26 (message): OpenCV not found, quantize tools won't be built
-- Configuring incomplete, errors occurred! See also "E:/hawk-skys/mtcnn_ncnn/mtcnn_ncnn/3rdparty/src/ncnn/build/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered:
3rdparty/include 下只有Openvc 文件夹,没有google文件夹
Sorry, something went wrong.
No branches or pull requests
参照readme,在PC端进行编译。步骤如下:
1.下载源码并更新子模块
2.编译protobuf 通过
3. 编译ncnn
cd ../3rdparty/src/ncnn
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%cd%/install -DProtobuf_INCLUDE_DIR=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\include -DProtobuf_LIBRARIES=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\lib\libprotobuf.lib -DProtobuf_PROTOC_EXECUTABLE=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\bin\protoc.exe
出错信息如下:
E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\src\ncnn\build>cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%cd%/install -DProtobuf_INCLUDE_DIR=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\include -DProtobuf_LIBRARIES=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\lib\libprotobuf.lib -DProtobuf_PROTOC_EXECUTABLE=E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\bin\protoc.exe
-- CMAKE_INSTALL_PREFIX = E:\hawk-skys\mtcnn_ncnn\mtcnn_ncnn\3rdparty\src\ncnn\build/install
-- Target arch: x86
-- OpenCV library: C:/Users/Administrator/Downloads/opencv/build
-- version: 3.4.10
-- libraries: opencv_world
-- include path: C:/Users/Administrator/Downloads/opencv/build/include;C:/Users/Administrator/Downloads/opencv/build/include/opencv
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:469 (file):
file STRINGS file
"E:/hawk-skys/mtcnn_ncnn/mtcnn_ncnn/3rdparty/include/google/protobuf/stubs/common.h"
cannot be read.
Call Stack (most recent call first):
tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:475 (math):
math cannot parse the expression: " / 1000000": syntax error, unexpected
exp_DIVIDE (2).
Call Stack (most recent call first):
tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:476 (math):
math cannot parse the expression: " / 1000 % 1000": syntax error,
unexpected exp_DIVIDE (2).
Call Stack (most recent call first):
tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:477 (math):
math cannot parse the expression: " % 1000": syntax error, unexpected
exp_MOD (2).
Call Stack (most recent call first):
tools/caffe/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:469 (file):
file STRINGS file
"E:/hawk-skys/mtcnn_ncnn/mtcnn_ncnn/3rdparty/include/google/protobuf/stubs/common.h"
cannot be read.
Call Stack (most recent call first):
tools/onnx/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:475 (math):
math cannot parse the expression: " / 1000000": syntax error, unexpected
exp_DIVIDE (2).
Call Stack (most recent call first):
tools/onnx/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:476 (math):
math cannot parse the expression: " / 1000 % 1000": syntax error,
unexpected exp_DIVIDE (2).
Call Stack (most recent call first):
tools/onnx/CMakeLists.txt:2 (find_package)
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindProtobuf.cmake:477 (math):
math cannot parse the expression: " % 1000": syntax error, unexpected
exp_MOD (2).
Call Stack (most recent call first):
tools/onnx/CMakeLists.txt:2 (find_package)
CMake Warning at tools/quantize/CMakeLists.txt:26 (message):
OpenCV not found, quantize tools won't be built
-- Configuring incomplete, errors occurred!
See also "E:/hawk-skys/mtcnn_ncnn/mtcnn_ncnn/3rdparty/src/ncnn/build/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered: