Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5df3f5b

Browse files
committed
编译失败
1 parent 4d694fe commit 5df3f5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎my07-GPU-CUDA/使用CUDA进行GPU加速.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ print(cv2.getBuildInformation())
1616
#include <iostream>
1717
#include "opencv2/opencv.hpp"
1818
#include "opencv2/gpu/gpu.hpp"
19+
using namespace std;
20+
using namespace cv;
1921
2022
int main (int argc, char* argv[])
2123
{
@@ -41,4 +43,4 @@ int main (int argc, char* argv[])
4143
}
4244
```
4345
- 编译
44-
- 失败:g++ `pkg-config --cflags --libs opencv` -lopencv_gpu cuda_test.cpp -o cuda_test
46+
- 失败:g++ `pkg-config --cflags --libs opencv` -lopencv_gpu cuda_test.cpp -o cuda_test

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /