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

no member named permute_axes #372

Open
Pro-pra opened this issue Jan 11, 2023 · 1 comment
Open

no member named permute_axes #372

Pro-pra opened this issue Jan 11, 2023 · 1 comment

Comments

@Pro-pra
Copy link

Pro-pra commented Jan 11, 2023

Hi all,
I compile gmic-3.1.6, and build fail with error:

DEBUG: g++ -o libcgmic.o -c gmic_libc.cpp -fPIC -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -m64 -mtune=generic -Dcimg_date=\"\" -Dcimg_time=\"\" -Dcimg_use_zlib -I.  -Dgmic_prerelease=\"230111\"  -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3  -Dcimg_use_curl  -Dcimg_use_png -I/usr/include/libpng16  -Dcimg_use_jpeg  -Dcimg_use_tiff  -fopenmp -Dcimg_use_openmp -Dcimg_display=1   -Dcimg_use_openexr -I/usr/include/OpenEXR -pthread -I/usr/include/Imath  -O2 -fomit-frame-pointer -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 -m64 -mtune=generic
DEBUG: gmic_libc.cpp: In function 'int gmic_call(const char*, unsigned int*, gmic_interface_image*, gmic_interface_options*)':
DEBUG: gmic_libc.cpp:70:17: error: 'struct cimg_library::CImg<unsigned char>' has no member named 'permute_axes'
DEBUG:    70 |         img_tmp.permute_axes("YZCX");
DEBUG:       |                 ^~~~~~~~~~~~
DEBUG: compilation terminated due to -Wfatal-errors.

permute_axes missung?

@Pro-pra
Copy link
Author

Pro-pra commented Jan 11, 2023

hmmm may be GreycLab/gmic-community@312e1d2
not needed?
yes revert this patch help me, and i add symlink to CImg.h

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

1 participant