Skip to content
New issue

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

Build Issue #28

Open
whoamibro opened this issue May 22, 2021 · 7 comments
Open

Build Issue #28

whoamibro opened this issue May 22, 2021 · 7 comments

Comments

@whoamibro
Copy link

Hello Barath, I'm facing build error issue.

I'm using ubuntu 18.04, OpenCV 3.4.14, gcc 10.3.0, g++ 10.3.0, libeigen3-dev 3.3.4

스크린샷 2021-05-22 오후 8 34 37

Could you please help me?

@JackFroster
Copy link

Hello, I also encountered a similar problem when building the project. How did you solve this problem?

@danini
Copy link
Owner

danini commented Dec 1, 2021

The problem with this image is that I do not see what the error is (only a warning is shown). Could you please copy the error?

@JackFroster
Copy link

I'm using windows11, VSCode, OpenCV 3.4.16, gcc 8.1.0, g++ 8.1.0, eigen 3.3.9,cmake 3.22.0

mingw32-make[2]: *** [CMakeFiles\pygcransac.dir\build.make:91: CMakeFiles/pygcransac.dir/src/pygcransac/src/gcransac_python.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:103: CMakeFiles/pygcransac.dir/all] Error 2
mingw32-make: *** [Makefile:90: all] Error 2

@danini
Copy link
Owner

danini commented Dec 1, 2021

Okay, but what is the error you get when trying to compile?
What you sent is not the error that you get, this only says that you got some error.

@JackFroster
Copy link

I encountered an error while executing C: Users\Masters\Desktop\graph-cut-ransac-master\build> mingw32-make.exe:
error

@whoamibro
Copy link
Author

whoamibro commented Dec 1, 2021

I think that error occurs due to the miss opencv version problem.
If you installed opencv4.X, you might see that error.
I solve that problem by degrade opencv version to 3.X

@danini
Copy link
Owner

danini commented Dec 2, 2021

This is not an OpenCV problem. You should include math.h
You can also replace M_SQRT2 with sqrt(2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants