It is currently Thu Jun 04, 2026 7:09 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Gimp 2.9.5 gmic_gimp_gtk compile
PostPosted: Mon Apr 10, 2017 4:28 am  (#1) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2599
@ David

What is the correct procedure to compile gmic_gimp_gtk since cmake was introduced? This was never really answered in a previous post.

To set the scene, this is using an ubuntu 16.04 VM and the Gimp 2.9.5 libs from the 'buntu ppa

Having downloaded a brand-new-up-to-date copy of the code - Is this correct?
$ git clone https://github.com/dtschump/gmic.git


I then seem to have a choice
$ cd gmic
$ cmake CMakeLists.txt
$ make


This gets me an executable and as of today the size is 6,819,120 bytes

This works fine in my homespun Gimp 2.9.5 appimage.

example: 2 filters applied one after the other. http://i.imgur.com/hUKv4gI.jpg

or I can compile it using a provided makefile.

$ cd gmic/src
$ make


This executable is a bit smaller 6,547,048 bytes

It works, but for this version if I apply another filter to the new layer (or new image) in the same image, it brings up an error. http://i.imgur.com/ic9BNv5.jpg

I can drag the new layer to a new image and apply another filter there and that works.

Being a I-can-compile-but-only-just user, some advice please and a suggestion, how about an 'install.txt' file in with the code giving advice.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Gimp 2.9.5 gmic_gimp_gtk compile
PostPosted: Mon Apr 10, 2017 7:27 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Hello James,

Actually, both methods should theoretically gives the same plug-in, so there is something strange there.
I don't use the CMakefile myself, to be honest.
I'll investigate when I have time ( :( ).


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


cron

* Login  



Powered by phpBB3 © phpBB Group