Closed ivanjx closed 3 years ago
I followed this but it produces x86 dll instead of x64. Here is my command:
cmake -G"NMake Makefiles" ` -D CMAKE_BUILD_TYPE=Release ` -D CMAKE_INSTALL_PREFIX=install ` -D Protobuf_INCLUDE_DIR=$protoinclude ` -D Protobuf_LIBRARIES=$protolib ` -D Protobuf_PROTOC_EXECUTABLE=$protoc ` -D NCNN_SHARED_LIB=ON ` -D NCNN_ENABLE_LTO=ON ` -D NCNN_SIMPLEOCV=ON ` .. set CL=/MP nmake nmake install
It seems that I forgot to run it wit the x64 shell. Also needs to turn off the tools and examples build because they give errors.
I followed this but it produces x86 dll instead of x64. Here is my command: