Comments (5)
ENABLE_XXX
are obsolete, see
opencv/cmake/OpenCVCompilerOptimizations.cmake
Lines 76 to 109 in 9691a2d
Use CPU_BASELINE / CPU_DISPATCH
instead to disable optimizations. Example: -DCV_DISABLE_OPTIMIZATION=ON
from opencv.
//ok i fixed after add -DCV_ENABLE_INTRINSICS=OFF \
mkdir -p build
cd build
cmake .. -G "Unix Makefiles"
-DCMAKE_INSTALL_PREFIX=/opt/opencv/x64/debug
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_FLAGS_DEBUG="-O0 -g"
-DCMAKE_CXX_FLAGS_DEBUG="-O0 -g"
-DBUILD_PERF_TESTS=OFF
-DBUILD_TESTS=OFF
-DBUILD_EXAMPLES=OFF
-DBUILD_opencv_apps=OFF
-DBUILD_opencv_java=OFF
-DWITH_GSTREAMER=OFF
-DWITH_CUDA=OFF
-DCV_ENABLE_INTRINSICS=OFF
-DENABLE_SSE=OFF
-DENABLE_SSE2=OFF
-DENABLE_SSE3=OFF
-DENABLE_SSSE3=OFF
-DENABLE_SSE41=OFF
-DENABLE_SSE42=OFF
-DENABLE_POPCNT=OFF
-DENABLE_AVX=OFF
-DENABLE_AVX2=OFF
-DENABLE_AVX512F=OFF
-DENABLE_FMA3=OFF
-DENABLE_NEON=OFF
-DENABLE_VFPV3=OFF
-DENABLE_FAST_MATH=OFF
cmake --build . --config Debug --target install -- -j$CPU_NUM VERBOSE=1
from opencv.
@fengyuentau Could you take a look?
from opencv.
@fatalfeel Could you explain briefly why you want to build OpenCV in this way? Basically you are turning off every optimization in your cmake command.
from opencv.
in Eclipse I need in debug mode to see every variables content and set it when in debug mode
from opencv.
Related Issues (20)
- TrackerNano lacks cuda support. HOT 1
- Drop old OpenVINO support
- Renaming `cv::float16_t` and `cv::bfloat16_t` on 5.x to avoid redefinition HOT 3
- CMake Error at cuda_compile_1_generated_gpu_mat.cu.o.RELEASE.cmake:222 (message): HOT 2
- Improve FileStorage documentation HOT 5
- in Android 11 & 12, it is showing black screen and no callback is listening or showing any logs for CvCameraViewListener2 HOT 2
- Caught an exception trying to run inference: HOT 1
- global cap_gstreamer.cpp:1164 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
- RISC-V: instructions executed count increases linearly with VLEN size HOT 11
- OpenCV(4.7.0) :- not read caffe model
- When creating a framework for VisionOS, specifying "--dynamic" argument causes a build error. HOT 1
- terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.4) ./modules/dnn/src/onnx/onnx_importer.cpp:739: error: (-2:Unspecified error) in function 'handleNode' > Node [Identity]:(onnx::Reshape_395) parse error: OpenCV(4.5.4) ./modules/dnn/src/dnn.cpp:5653: error: (-215:Assertion failed) inputs.size() in function 'getMemoryShapes' HOT 4
- Failed to load module gail and atk-bridge while compiling a simple C++ program HOT 2
- When binding APIs in opencv.js, corresponding structs/enums should be bound HOT 1
- cv2.CAP_ANY (MSMF) not support high resolution webcam HOT 2
- Possible bug / precision issue in normalize() HOT 2
- Buildroot cross compile on Debian12 + ccache: fatal error: stdlib.h: No such file or directory
- imwrite() to TIFF does not use COMPRESSION_SGILOG for 32FC1 (only 32FC3) HOT 6
- Lens distortion documentation unclear HOT 2
- OpenCV conflict problem for Window popup HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv.