We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 suggest to use pkg-config to get CFLAGS and LIBS parameters for opencv. It seems your current version is not working with opencv 3.0.0
gcc -O3 -I . -fno-builtin-strlen admesh/*.c simarrange.c -o ./sa -lm `pkg-config --cflags --libs opencv` -largtable2 -fopenmp -DPARALLEL
Additionally, I would suggest use of Makefile and not bundling of other libraries
all: simarrange CFLAGS=-O3 -I . -fno-builtin-strlen `pkg-config opencv --cflags` -DPARALLEL LDFLAGS=-lm `pkg-config opencv --libs` -largtable2 -ladmesh -fopenmp CC=gcc simarrange: simarrange.o simarrange.o: simarrange.c utlist.h clean: rm -f simarrange simarrange.o prefix=/usr/local install: simarrange simarrange.1 install -m 0755 simarrange $(prefix)/bin install -m 0644 simarrange.1 $(prefix)/share/man/man1 .PHONY: install
The text was updated successfully, but these errors were encountered:
Those are good suggestions. Can you make that a pull request?
On 07/02/2015 04:12 PM, Jozef Mlich wrote:
I suggest to use pkg-config to get CFLAGS and LIBS parameters for opencv. It seems your current version is not working with opencv 3.0.0 gcc -O3 -I . -fno-builtin-strlen admesh/*.c simarrange.c -o ./sa -lm `pkg-config --cflags --libs opencv` -largtable2 -fopenmp -DPARALLEL Additionally, I would suggest use of Makefile and not bundling of other libraries all: simarrange CFLAGS=-O3 -I . -fno-builtin-strlen `pkg-config opencv --cflags` -DPARALLEL LDFLAGS=-lm `pkg-config opencv --libs` -largtable2 -ladmesh -fopenmp CC=gcc simarrange: simarrange.o simarrange.o: simarrange.c utlist.h clean: rm -f simarrange simarrange.o prefix=/usr/local install: simarrange simarrange.1 install -m 0755 simarrange $(prefix)/bin install -m 0644 simarrange.1 $(prefix)/share/man/man1 .PHONY: install Reply to this email directly or view it on GitHub: #9
Reply to this email directly or view it on GitHub: #9
Sorry, something went wrong.
315be26
No branches or pull requests
I suggest to use pkg-config to get CFLAGS and LIBS parameters for opencv. It seems your current version is not working with opencv 3.0.0
Additionally, I would suggest use of Makefile and not bundling of other libraries
The text was updated successfully, but these errors were encountered: