It is currently Thu Apr 28, 2016 4:49 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:14 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
Post any of your progressions here.

Thanks!

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


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: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:18 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
Had to update
BABL - GIT
GLIB - http://ftp.gnome.org/pub/GNOME/sources/glib/
Harfbuzz - http://www.freedesktop.org/software/harfbuzz/release/
Little CMS - http://sourceforge.net/projects/lcms/files/lcms/2.7/

I am getting this error though on make ; make install
make[2]: Leaving directory `/env/gimp-multi-stroke/menus'
Making all in libgimpbase
make[2]: Entering directory `/env/gimp-multi-stroke/libgimpbase'
  CC     gimpbasetypes.lo
  CC     gimpbase-private.lo
  CC     gimpchecks.lo
  CC     gimpcpuaccel.lo
  CC     gimpdatafiles.lo
gimpdatafiles.c: In function 'is_script':
gimpdatafiles.c:204:15: warning: assignment discards 'const' qualifier from poin
ter target type [enabled by default]
  CC     gimpenv.lo
  CC     gimpmemsize.lo
  CC     gimpmetadata.lo
  CC     gimpparasite.lo
  CC     gimpparasiteio.lo
  CC     gimpprotocol.lo
  CC     gimprectangle.lo
  CC     gimpreloc.lo
  CC     gimpsignal.lo
  CC     gimpunit.lo
  CC     gimputils.lo
  CC     gimpvaluearray.lo
  CC     gimpwire.lo
  CC     gimpbaseenums.lo
  CCLD   libgimpbase-2.0.la

*** Warning: linker path does not have real file for library -lgexiv2.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgexiv2 and none of the candidates passed a file format test
*** using a file magic. Last file checked: c:/petit-msys-mingw-64bits-gimp28/bas
e/c/lib/libgexiv2.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
make[2]: Leaving directory `/env/gimp-multi-stroke/libgimpbase'
Making all in tools
make[2]: Entering directory `/env/gimp-multi-stroke/tools'
Making all in pdbgen
make[3]: Entering directory `/env/gimp-multi-stroke/tools/pdbgen'


Seems the libgimpbase-2.0.dll.a isn't being created.
Any help is appreciated.

Thanks.

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:19 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
I tried copying the file from the base/c/libs directory to the .libs directory and vuala! :)

Success!

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:19 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
Ok now i am truly stuck.

Making install in core
make[3]: Entering directory `/env/gimp-multi-stroke/app/core'
  CC     gimpdrawable-blend.o
gimpdrawable-blend.c: In function 'gradient_fill_region':
gimpdrawable-blend.c:915:40: error: 'GEGL_ACCESS_WRITE' undeclared (first use in
this function)
gimpdrawable-blend.c:915:40: note: each undeclared identifier is reported only o
nce for each function it appears in
make[3]: *** [gimpdrawable-blend.o] Error 1
make[3]: Leaving directory `/env/gimp-multi-stroke/app/core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/env/gimp-multi-stroke/app'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/env/gimp-multi-stroke/app'
make: *** [install-recursive] Error 1

Rod@Rods /env/gimp-multi-stroke
$


So at the top of app/core/gimpdrawable-blend.c file i added
typedef enum
{
  GEGL_ACCESS_READ      = 1 << 0,
  GEGL_ACCESS_WRITE     = 1 << 1,
  GEGL_ACCESS_READWRITE = (GEGL_ACCESS_READ | GEGL_ACCESS_WRITE)
}

And that seems to work.

I had forgotten how much fun it was to compile this program for Windows. :lol

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:20 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
jontait2 wrote:
https://github.com/GNOME/gegl/blob/master/gegl/gegl-enums.h


https://github.com/GNOME/gegl/blob/mast ... gl-enums.h

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:20 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
jontait2 wrote:
https://github.com/GNOME/gegl/blob/master/gegl/gegl-enums.h

Thank you for the link but placing this header in the core folder didn't seem to work so i am trying
#include "gegl/gimp-gegl-enums.h"

As the name of the header file seems to have been changed in this version of GIMP.
Still getting a GEGL_ACCESS_WRITE error.
Making install in core
make[3]: Entering directory `/env/gimp-multi-stroke/app/core'
  CC     gimpdrawable-blend.o
gimpdrawable-blend.c: In function 'gradient_fill_region':
gimpdrawable-blend.c:914:40: error: 'GEGL_ACCESS_WRITE' undeclared (first use in
this function)
gimpdrawable-blend.c:914:40: note: each undeclared identifier is reported only o
nce for each function it appears in
make[3]: *** [gimpdrawable-blend.o] Error 1
make[3]: Leaving directory `/env/gimp-multi-stroke/app/core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/env/gimp-multi-stroke/app'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/env/gimp-multi-stroke/app'
make: *** [install-recursive] Error 1

Rod@Rods /env/gimp-multi-stroke
$


Tea time :lol

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 12:51 pm  (#7) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
I think you need the file I pointed to for this (gegl-enums.h)
The file gimp-gegl-enum.h was just for 2.8.14 and the state of GEGL at that time ..it does not include definitions of GEGL_ACCESS_xxx which were added later

See https://mail.gnome.org/archives/commits ... 00293.html
and https://mail.gnome.org/archives/commits ... 00295.html

What did it say in the source file you git-cloned? There must have been some include in there, though probably indirect (the source of gimpdrawable-blend.c will probably include something like gegl/gegl.h which then includes a whole heap of other .h files).


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Fri Apr 03, 2015 4:06 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
jontait2 wrote:
I think you need the file I pointed to for this (gegl-enums.h)
The file gimp-gegl-enum.h was just for 2.8.14 and the state of GEGL at that time ..it does not include definitions of GEGL_ACCESS_xxx which were added later

See https://mail.gnome.org/archives/commits ... 00293.html
and https://mail.gnome.org/archives/commits ... 00295.html

What did it say in the source file you git-cloned? There must have been some include in there, though probably indirect (the source of gimpdrawable-blend.c will probably include something like gegl/gegl.h which then includes a whole heap of other .h files).

Actually it is #include <gegl.h>
Yes the src clone contains a gegl folder with many needed header files. But when i added the gegl-enums.h file you linked into that folder (gegl/gegl-enums.h) and then added #include gegl/gegl-enums.h to the c file it didn't work. Then i placed the gegl-enums.h file in the core folder (where the c file resides) and tried #include "gegl-enums.h" . That didn't work. Hence the reason i tried gimp-gegl-enums.h. Still didn't work though.
You are probably right about the need of the newer gegl-enums.h file i just need to somehow link to it.
Heck i even tried copying the entire gegl folder from my env include directory into the core folder (which already contained the gegl-enums.h file) and added #include "gegl/gegl-enums.h" to the c file and still no go.
I wasn't asked to update GEGL so i don't think that is the problem either.
I also tried #include <gegl-enums.h>

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Sat Apr 04, 2015 10:02 am  (#9) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
Ok stupid me was trying to link to the enums header through the c file. After i re placed the gegl-enums.h file in the base/c/include/gegl-0.3/ directory the error went away. I tested this by compiling the plug-ins and common folders without compiling GIMP itself.
I also updated fontconfig and gexiv dependencies. I can not find gettext 0.19.

But i now have a new error.

make[4]: Leaving directory `/env/gimp-multi-stroke/app/config'
make[3]: Leaving directory `/env/gimp-multi-stroke/app/config'
Making install in core
make[3]: Entering directory `/env/gimp-multi-stroke/app/core'
  CC     gimpparamspecs-duplicate.o
gimpparamspecs-duplicate.c: In function 'gimp_param_spec_duplicate':
gimpparamspecs-duplicate.c:124:7: warning: implicit declaration of function 'geg
l_param_spec_double_set_steps' [-Wimplicit-function-declaration]
gimpparamspecs-duplicate.c:125:46: error: 'GeglParamSpecDouble' has no member na
med 'ui_step_small'
gimpparamspecs-duplicate.c:126:46: error: 'GeglParamSpecDouble' has no member na
med 'ui_step_big'
gimpparamspecs-duplicate.c:127:7: warning: implicit declaration of function 'geg
l_param_spec_double_set_digits' [-Wimplicit-function-declaration]
gimpparamspecs-duplicate.c:128:47: error: 'GeglParamSpecDouble' has no member na
med 'ui_digits'
gimpparamspecs-duplicate.c:169:7: warning: implicit declaration of function 'geg
l_param_spec_int_set_steps' [-Wimplicit-function-declaration]
gimpparamspecs-duplicate.c:170:43: error: 'GeglParamSpecInt' has no member named
'ui_step_small'
gimpparamspecs-duplicate.c:171:43: error: 'GeglParamSpecInt' has no member named
'ui_step_big'
make[3]: *** [gimpparamspecs-duplicate.o] Error 1
make[3]: Leaving directory `/env/gimp-multi-stroke/app/core'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/env/gimp-multi-stroke/app'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/env/gimp-multi-stroke/app'
make: *** [install-recursive] Error 1

Rod@Rods /env/gimp-multi-stroke
$


I am using gegl-0.3.0.
Any help would be appreciated.
Thanks.

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
 Post subject: Re: compiling gimp-multi-stroke for Windows 64bit
PostPosted: Sat Apr 04, 2015 2:10 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 12659
Location: "Looking for my eraser" =P
Well i had no trouble compiling GIMP-2.8.14.
Image

My original environment version was GIMP-2.8.9.

Maybe with a newer version and libs i will have better luck. Well at least i will be able to build updated c src's for newer Windows 64 bit plug-ins if they are ever released. That is a plus.

_________________
Image
____________
Democracy is two wolves and one lamb deciding on what to have for lunch.
A Republic is one well armed lamb contesting the vote.

"BENJAMIN FRANKLIN"


Top
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Portable Gimp-2.9.1 Multi Stroke Win_32 bit+GMIC -high-bit depth

16

No new posts Attachment(s) Compiling Gimp for Windows with VirtualBox

10

No new posts Attachment(s) Request for compiling Gimp-Painter 2.8 for Windows

139

No new posts Test compilation (Windows 64bit) G'MIC for Gimp 2.8.6

21

No new posts Attachment(s) Twist 2.1 (binaries 32-64bit Linux Windows)

11



* Login  



Powered by phpBB3 © phpBB Group