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

I have issue while compiling in Ubuntu #2

Open
afuriza opened this issue Dec 25, 2016 · 3 comments
Open

I have issue while compiling in Ubuntu #2

afuriza opened this issue Dec 25, 2016 · 3 comments

Comments

@afuriza
Copy link

afuriza commented Dec 25, 2016

So, compiler tells cannot link to libraries because they're not found, then I change library names like the screenshot and became a new issue. How to fix this?

Screenshot:
image

Error messages:
Compile Project, Target: project1: Exit code 256, Errors: 1 /home/afuriza/Documents/cvcam/lib/x86_64-linux/OpenCV.o: In function OPENCV_$$CVCALCOPTICALFLOWLK$POINTER$POINTER$CVSIZE$POINTER$POINTER':
OpenCV.pas:(.text.n_opencv
$$cvcalcopticalflowlk$pointer$pointer$cvsize$pointer$pointer+0x1): undefined reference to cvCalcOpticalFlowLK' /home/afuriza/Documents/cvcam/lib/x86_64-linux/OpenCV.o: In function OPENCV$$CVCALCOPTICALFLOWBM$POINTER$POINTER$CVSIZE$CVSIZE$CVSIZE$LONGINT$POINTER$POINTER':
OpenCV.pas:(.text.n_opencv
$$cvcalcopticalflowbm$pointer$pointer$cvsize$cvsize$cvsize$longint$pointer$pointer+0x1): undefined reference to cvCalcOpticalFlowBM' /home/afuriza/Documents/cvcam/lib/x86_64-linux/OpenCV.o: In function OPENCV$$CVCALCOPTICALFLOWHS$POINTER$POINTER$LONGINT$POINTER$POINTER$DOUBLE$CVTERMCRITERIA':
OpenCV.pas:(.text.n_opencv
$$_cvcalcopticalflowhs$pointer$pointer$longint$pointer$pointer$double$cvtermcriteria+0x1): undefined reference to cvCalcOpticalFlowHS' [3.344] Executing "/usr/bin/ld" with command line "-b elf64-x86-64 -m elf_x86_64 --dynamic-linker=/lib64/ld-linux-x86-64.so.2 -L. -o project1 -T link.res -e _start" project1.lpr(20,1) Error: Error while linking �

@afuriza
Copy link
Author

afuriza commented Dec 25, 2016

O ya. I've changed CopyMemoy(rowin, dataByte, iplImg.WidthStep); procedure to Move(rowin, dataByte, iplImg.WidthStep); on line 2325, 2361, and 2449 is that correct?

@zbyna
Copy link
Owner

zbyna commented Dec 28, 2016

I suppose you install opencv at least 2.4.12 version.
I tried only windows version, so I am afraid I am not able to help.
Sorry.

@afuriza
Copy link
Author

afuriza commented Jan 6, 2017

Thanks, but I've already with 2.4.12.
I still find how to fix this problem and will reported if done.
Sorry for my bad english.

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

2 participants