Ever since probably version 1.7.3 or 1.7.4 I have not been able to compile GMIC any longer. I get the following in both my Debian Jessie and Ubuntu 14.04 installations. Both are 64 OS’s:
g++: error: gmic_libc.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
Makefile:462: recipe for target 'libcgmic.o' failed
make[2]: *** [libcgmic.o] Error 4
make[2]: Leaving directory '/home/joe/Desktop/gmic-1.7.5/src'
Makefile:427: recipe for target 'libc' failed
make[1]: *** [libc] Error 2
make[1]: Leaving directory '/home/joe/Desktop/gmic-1.7.5/src'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2
Actually, since 1.7.5, the file gmic_libc.cpp is not provided anymore in the gmic/src folder, but in the gmic-community repository. It seems the Makefile has not been modified according to these changes.
Quick fix : for the entry all:, remove the libc and zart dependencies.
I’ll do it for the next release 1.7.6 (planed soon).
Hey Morgan! Thanks, I didn’t give your solution a go, David just posted what might be a fix, but I’ll for sure remember your solution if I ever encounter a similar problem again.
Ah yes, probably my fault again I’ll try to fix that as well.
ZArt is also a part of the gmic-community repository. To be able to compile it you should have something like this :
$ mkdir foo && cd foo/
$ git clone https://github.com/dtschump/gmic.git
$ git clone https://github.com/dtschump/gmic-community.git
$ cd gmic/src/
$ make zart
Hey! Thanks David! Sorry I didn’t get back sooner, my internet has been terribly bad since last night and made even downloading a 2 MB tar.gz file very painful! I will test soon and let you know how all is.
Just an update so we can close this thread. I just downloaded sources for 1.7.6 and all compilation and installation went fine, all working good. I did have to delete my ~/.config/gmic folder because I was getting “not found” executions from my favorite list (mostly for dream smoothing), deleting that folder and just keeping the file “gimp_faves” reset-ed everything back to normal and dream smoothing works fine.