Compiling GIMP on Snow Leopard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

after a while of searching and some trial and error, I managed to
compile the latest git version of GIMP on Snow Leopard (with 64bit
kernel enabled). Since I didn't find a tutorial treating this
particular subject I have written one and posted it here :
http://clockwork.fr/how-to-compile-gimp-271-on-snow-leopard/

I was wondering whether anybody would have suggestions on how to
improve on this process, especially on the two mac-specific problems
(the twain compilation problem and the odd behavior of linking against
libjpeg)

Just to be more specific about these issues :

when I tried to compile GIMP without installing libjpeg from source
(and thus into /usr/local/lib) it complained about not being able to
find the library even though other libraries (like glib, gtk or tiff)
didn't seem to have problems. I did add the correct -I and -L flags to
CFLAGS and LDFLAGS variables

for the twain i join the compiler output at the end of this message,
since I don't have a scanner I found it easier to just disable it by
force

Finally, I'd be more than happy to create an application bundle if
someone could point me to a good tutorial on howto create those. (if
there is a point of a bundle for the development release)

Sincerly
Jozef

---------------------------------------

Making all in twain
  CC     tw_func.o
  CC     tw_util.o
  CC     twain.o
In file included from tw_func.c:68:
tw_local.h:37: warning: function declaration isn’t a prototype
tw_local.h:45: warning: function declaration isn’t a prototype
tw_local.h:46: warning: function declaration isn’t a prototype
tw_func.c:106: warning: no previous prototype for ‘FloatToFIX32’
In file included from twain.c:70:
tw_local.h:37: warning: function declaration isn’t a prototype
tw_local.h:45: warning: function declaration isn’t a prototype
tw_local.h:46: warning: function declaration isn’t a prototype
  CC     tw_mac.o
twain.c:209: warning: no previous prototype for ‘scanImage’
twain.c: In function ‘getAppIdentity’:
twain.c:235: warning: pointer targets in passing argument 1 of
‘__builtin___strcpy_chk’ differ in signedness
twain.c:235: warning: pointer targets in passing argument 1 of
‘__inline_strcpy_chk’ differ in signedness
twain.c:239: warning: pointer targets in passing argument 1 of
‘__builtin___strcpy_chk’ differ in signedness
twain.c:239: warning: pointer targets in passing argument 1 of
‘__inline_strcpy_chk’ differ in signedness
twain.c:240: warning: pointer targets in passing argument 1 of
‘__builtin___strcpy_chk’ differ in signedness
twain.c:240: warning: pointer targets in passing argument 1 of
‘__inline_strcpy_chk’ differ in signedness
twain.c:241: warning: pointer targets in passing argument 1 of
‘__builtin___strcpy_chk’ differ in signedness
twain.c:241: warning: pointer targets in passing argument 1 of
‘__inline_strcpy_chk’ differ in signedness
twain.c: At top level:
twain.c:256: warning: no previous prototype for ‘initializeTwain’
In file included from tw_mac.c:36:
tw_local.h:37: warning: function declaration isn’t a prototype
tw_local.h:45: warning: function declaration isn’t a prototype
tw_local.h:46: warning: function declaration isn’t a prototype
tw_mac.c:44: warning: function declaration isn’t a prototype
tw_mac.c: In function ‘twainSetupCallback’:
tw_mac.c:105: warning: cast from pointer to integer of different size
tw_mac.c:105: warning: assignment makes pointer from integer without a cast
tw_mac.c: At top level:
tw_mac.c:124: warning: no previous prototype for ‘unloadTwainLibrary’
tw_mac.c:150: warning: function declaration isn’t a prototype
tw_mac.c: In function ‘twainQuitApplication’:
tw_mac.c:150: warning: old-style function definition
tw_mac.c:151: warning: implicit declaration of function
‘QuitApplicationEventLoop’
tw_mac.c: At top level:
tw_mac.c:169: warning: function declaration isn’t a prototype
tw_mac.c: In function ‘twainSetupMacUI’:
tw_mac.c:169: warning: old-style function definition
tw_mac.c:179: warning: ISO C90 forbids mixed declarations and code
tw_mac.c:186: warning: pointer targets in passing argument 2 of
‘CFURLCreateFromFileSystemRepresentation’ differ in signedness
tw_mac.c:189: warning: ISO C90 forbids mixed declarations and code
tw_mac.c:195: warning: implicit declaration of function
‘BeginQDContextForApplicationDockTile’
tw_mac.c:195: warning: initialization makes pointer from integer without a cast
tw_mac.c:196: warning: implicit declaration of function
‘EndQDContextForApplicationDockTile’
tw_mac.c:198: warning: implicit declaration of function
‘SetApplicationDockTileImage’
tw_mac.c: At top level:
tw_mac.c:203: warning: function declaration isn’t a prototype
tw_mac.c: In function ‘twainMain’:
tw_mac.c:203: warning: old-style function definition
tw_mac.c:224: warning: implicit declaration of function
‘RunApplicationEventLoop’
  CCLD   twain
Undefined symbols:
  "_EndQDContextForApplicationDockTile", referenced from:
      _twainSetupMacUI in tw_mac.o
  "_BeginQDContextForApplicationDockTile", referenced from:
      _twainSetupMacUI in tw_mac.o
  "_SetApplicationDockTileImage", referenced from:
      _twainSetupMacUI in tw_mac.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux