It is currently Fri Sep 25, 2026 6:47 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 8:37 am  (#21) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16175
dinasset wrote:
ok, i'll proceed with that, thanks



No problem.
When you set up your fstab do you just keep it as default, and unzip to C:/mingw?
default would be
ect/fstab

C:\mingw\ /mingw

Also do you edit your profile in any way?

:tyspin


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 8:44 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
ehps! done and now is missing:
libgcc-s-sjlj-1.dll
another package to download?
thanks

(answered before your subsequent post, I have to understand it)

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 8:48 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
no, fstab is currently in c:\msys\1.0\etc
this because in parthas suggestions (which i read before samj info) there was indicated to move msys folder outside mingw and directly under c:

also: what should I edit for "my profile"?
thanks

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 8:51 am  (#24) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16175
I know where fstab is i was wondering what you have in it. :hehe

Profile is edited to help with export (helps the compiler find CFLAGS and LIBS)
I wouldn't worry about that if you aren't compiling Gimp.

(libgcc-s-sjlj-1.dll) GTK+
This is installed with GTK+ bundle.
It isn't in the GTK RPMs (i found that out earlier)
http://www.gtk.org/download/win32.php

I couldn't find it at the RPM src site.


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 9:01 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
in fstab it is written:
C:\MinGW\ /mingw
as you indicated above

what should i download from the site you indicated? the "all-in-one-bundle"?

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 9:43 am  (#26) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16175
dinasset wrote:
in fstab it is written:
C:\MinGW\ /mingw
as you indicated above

what should i download from the site you indicated? the "all-in-one-bundle"?


Yes but it isn't setup as your other RPMs.It may not unzip to the correct tree.
So i would unzip it somewhere else to test.Then copy each set of files in each folder to their correct folders in mingw.
ie... if there is a folder named include...copy all those files in it to mingw/include folder.
If it asks to overwrite i would stop and cancel.


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 12:45 pm  (#27) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

@Dinasset, Graechan, Rod

Thank you for your translation Graechan :)
I'm sorry I can not write in English, here are some explanations and principles French.

_____

Les principes :

1- Dans une première étape il faut choisir un compilateur. Pour Gimp Windows on utilise généralement GCC. Personnellement j'utilise deux compilateurs, un compilateur 32 bits, un compilateur 64bits.

Un compilateur 32 bits est disponible à :
http://sourceforge.net/projects/mingw-w ... g%20Win32/
http://sourceforge.net/projects/mingw-w ... p/download

Un compilateur 64 bits est disponible à :
http://sourceforge.net/projects/mingw-w ... g%20Win64/
http://sourceforge.net/projects/mingw-w ... p/download

Ces compilateurs font partie du projet MinGW-w64 http://mingw-w64.sourceforge.net/

Pour l'installation il suffit de télécharger et de décompresser dans 2 répertoires différents si on utilise la compilation 32 bits et la compilation 64 bits.

*****
2- Le choix de l'environnement.
Personnellement j'utilise MSYS qui fournit des commandes de type "Unix".
MSYS est très facilement configurable ce qui permet d'indiquer les chemin des bibliothèques, de pkgconfig, des path, etc.
Une chose intéressante : (avec un bon processeur à plusieurs coeurs "multi-core") il est possible de lancer plusieurs sessions MSYS et de compiler plusieurs choses em même temps. C'est cette possibilité que j'utilise lorsque je compile G'MIC.
J'utilise la version disponible sur :
http://sourceforge.net/projects/mingw-w ... hosted%29/
http://sourceforge.net/projects/mingw-w ... p/download

Personnellement j'utilise 2 versions simultanément : 1 version pour activer l'environnement 32 bits et l'autre version pour activer l'environnement 64 bits.

Il y a deux fichier importants dans MSYS :
msys/etc/profile : La configuration (path, pkgconfig, etc.)
msys/etc/fstab : La correspondance des répertoires.

Il est absolument nécessaire de bien configurer ces 2 fichiers.

*****
3- Utiliser des bibliothèques pré-compilées.
C'est un gros avantage d'avoir ces choses disponibles, merci aux personnes d'OpenSuse qui les mettent à disposition :)
Les avantages sont les suivants :
- Un travail compliqué et long est fait.
- Les versions officielles de développement de Gimp utilisent ces bibliothèques.
- Cela permet de limiter les versions des DLL. Il est interessant d'utiliser celles proposer par OpenSuse.

Pour choisir les paquets il faut connaître l'organisation de Gimp (babl, gegl, gtk, etc. etc. etc. ).
Il faut décompresser les 32 bits dans un répertoire et les 64 bits dans un répertoire différent.

*****
Il me semble qu'en suivant ces 3 principes il devrait être possible de compiler un premier plugin.
Dans un premier temps, il n'y a pas à modifier, échanger, ajouter de fichiers.
Il faut correctement paramétrer msys/etc/profile et msys/etc/fstab

Bon courage :)


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 1:02 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
Merci Samj, I understand french quite well.
I will try to follow your guidelines, but as you can understand there are many doubts on the details:
1 - you say that it's necessary to configure well those two folders, but how?
2 - you indicate that the selection of the pieces to download from the OpenSuse repertoire requires knowledge of Gimp, so again I'm in confusion
Rod is trying to help me on the details, each time that I found an error (missing piece) he suggested me which additional package to download.
Now it seems there are conflicting opinions about the folders: Rod invites me to arrange files into a single set of folders, you recommend not to change anything. initially...
Hope I will come to a good end...
Thanks

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 1:35 pm  (#29) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16175
No No, i never said arrange into a single set.
I merely suggested to you that if you dl GTK+ bundle be sure and place those files in the correct folders in MinGW.
If you unzip the GTK+ bundle in a safe directory and unzip it it will create a bunch of folders ie...include, share,bin,lib and probably a few more.
NOW look in your MinGW folder and find the folders with the same names.
COPY the files from the GTK bundle folders into the corresponding MinGW folders.IF you are asked to OVERWRITE ANY files do not do anything just cancel.You could mess up pc locations if you overwrite files.(package config locations)

It does require a bit of knowledge to build a windows environment for compiling Gimp plugins no matter how you set it up.That is why we help each other.


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 2:13 pm  (#30) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
@Dinasset

In French :

Avez-vous téléchargé quelques éléments indiqués ?
Si oui, pouvez-vous donner les répertoires d'installation des différents éléments pour pouvoir configurer MSYS ?

En ce qui concerne les bibliothèques je vais essayer de faire une liste la plus précise possible.


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 2:21 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
Rod, sorry for the misunderstanding: when I said to Samj that you suggested me to arrange files in a single set of folders I wanted just to say what you repeated to me in the last post: taking files from the unzipped folders of gtk+ and merge them onto the folders with the same name under MinGW.
Sorry if I expressed it wrongly.
Now, coming to the game: I downloaded and unzipped gtk+ bundle; my questions now on the merge onto MinGW:
1 - should I do the merge (add into) taking only files from each single folder in gtk+ which has a correspondent name under MinGW (let say: bin, for example) or should also copy under MinGW also new folders available only in gtk+?
I'm not sure of the correct behavior
2 - if I encounter a request for overriding should i JUST REFUSE THAT OVERRIDING REQUEST and continue to merge files that do not override or should I CANCEL THE FULL PROCEDURE of copying into? I interpret your recommendation in the first sense, id est: copying everything that can be copied which does not force any override, is it correct?
Thanks and sorry again for my misleading wording..

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 2:36 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
@Samj
merci
what I did download so far were:
- MinGW and msys according to the indications from Partha: created MinGW folder under C:\, created minsys under C:\, moving the content of msys which was downloaded using the initial MinGW install
- compiled GIMP (std, develop and debug) from OpenSuse: these -once unzipped (twice)- created a folder usr which I have in a desktop folder (thus the current path is: C:\ Documents and Settings\Diego\Desktop\A_GIMP\usr
- additional packages (Glib and Intltool) also from OpenSuse as suggested from Rod as a solution for missing pieces, which were all automatically put inside the same usr folder
Thanks

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 2:38 pm  (#33) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
@Samj
...now I am on gtk+, downloaded using the link provided by Rod...

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 2:44 pm  (#34) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
@Dinasset

In French :

Je ne connais pas le document de Partha.
En principe il n'y a rien à déplacer...

Pour mémoire je vous indique ma liste en fin de message.
Je vais vous laisser continuer, pour terminer par la configuration de MSYS

*****
OpenSuse :

Il n'est pas nécessaire de télécharger les paquets marqués "debug".

Voici une liste pour compiler de nombreuses choses :

Télécharger tout ce qui est :

gimp (sauf help et debug , je ne vais plus répéter "debug").
babl
gegl
gtk
atk
glib
pkg-config
binutils
bzip
zlib
cairo
dbus
expat
fftw
fontconfig
freetype
gettext
gdk
tiff
jpeg
poppler
svg
wmf
jasper
xml
png
expat
pango
iconv
intl
lcms


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 2:58 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
@Samj
merci beaucoup!
Tomorrow I'll move back home (during last few days I've been on the country, using a Win XP older PC); so, I will restart everything from scratch on my home PC with Win 7 32-bits, a bit younger environment: so, your list is fundamental!
Bonsoir

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Sat Apr 27, 2013 3:03 pm  (#36) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
@Dinasset

In French

Rod n'utilise pas les mêmes bibliothèques que moi mais les principes restent identiques.
Bonne soirée.


Top
 Post subject: Re: @samj
PostPosted: Sun Apr 28, 2013 7:23 am  (#37) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16175
dinasset wrote:
Rod, sorry for the misunderstanding: when I said to Samj that you suggested me to arrange files in a single set of folders I wanted just to say what you repeated to me in the last post: taking files from the unzipped folders of gtk+ and merge them onto the folders with the same name under MinGW.
Sorry if I expressed it wrongly.
Now, coming to the game: I downloaded and unzipped gtk+ bundle; my questions now on the merge onto MinGW:
1 - should I do the merge (add into) taking only files from each single folder in gtk+ which has a correspondent name under MinGW (let say: bin, for example) or should also copy under MinGW also new folders available only in gtk+?
I'm not sure of the correct behavior
2 - if I encounter a request for overriding should i JUST REFUSE THAT OVERRIDING REQUEST and continue to merge files that do not override or should I CANCEL THE FULL PROCEDURE of copying into? I interpret your recommendation in the first sense, id est: copying everything that can be copied which does not force any override, is it correct?
Thanks and sorry again for my misleading wording..


NO you should NOT intermingle files if even just ONE asks to be overwritten.Just select cancel.
In my experience GTK+ and GTK will merge together without any overwriting being needed.If it asks then you have GTK+ already installed and just need to find that dynamic library (DLL file) which should have been installed with GTK+ in the bin folder.


Top
 Post subject: Re: @samj
PostPosted: Sun Apr 28, 2013 7:34 am  (#38) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16175
Just to add a small note.
I did not find GTK+ anywhere in the GTK Opensuse RPM download.
But as Sam has said, i use a totally different setup but the principles are alike in many ways.
Mainly my setup is configured so i can tell the compiler where to find LIBS and CFLAGS. (profile), and fstab.

I would love to set my system up as Sam does though.Much cleaner,and less buggy.


Top
 Post subject: Re: @samj
PostPosted: Sun Apr 28, 2013 9:59 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
Bonsoir Samj
I'm back home and started my game from scratch on my home computer (win7 32 bits)
1 - downloaded and unzipped mingw-w32-bin_i686-mingw_20111219, underC:\
2 - downloaded and unzipped MSYS-20111123, under C:\
3 - downloaded from OpenSuse 132 packages, not yes unzipped: if possible I'd like just to have a rush check with you that the total number sounds reasonable and similar to your environment. Then I'll proceed with the double unzip: I imagine to create the resulting folder (usr, on the country..) also directly under C:\, if you think it's a good idea
Merci beaucoup ...

_________________
"Where am I ?"


Top
 Post subject: Re: @samj
PostPosted: Mon Apr 29, 2013 6:46 am  (#40) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
@Samj
Bonjour, this is an update of my previous message:

- unzipped all the 132 packages downloaded from OpenSuse e put the resulting directory (usr) under C:\
- so now ALL 3 DIRECTORIES downloaded are directly under C:\
1 - mingw-w32-bin_i686-mingw_20111219
2 - MSYS-20111123
3 - usr

Now I wait your kind support to set up correctly the two files to proceed with my first tentative to compile a c plug-in for gimp
Merci beaucoup for your patience...

_________________
"Where am I ?"


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

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group